rifaterdemsahin / awscodedeploy

Aws code deploy creating a Redis using Ansible
1 stars 1 forks source link

Question6:how do we use kube proxy #14

Open madhavisringarapu opened 5 years ago

madhavisringarapu commented 5 years ago

: It is responsible for routing traffic to the appropriate container based on IP and port number of the incoming request. Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP, UDP, and SCTP stream forwarding or round robin TCP, UDP, and SCTP forwarding across a set of backends. Following are some of kube-proxy options: kube-proxy [options] Options --azure-container-registry-config string Path to the file containing Azure container registry configuration information. --bind-address 0.0.0.0 Default: 0.0.0.0 The IP address for the proxy server to serve on (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces) --cleanup If true cleanup iptables and ipvs rules and exit. --cleanup-ipvs Default: true If true make kube-proxy cleanup ipvs rules before running. Default is true --cluster-cidr string The CIDR range of pods in the cluster. When configured, traffic sent to a Service cluster IP from outside this range will be masqueraded and traffic sent from pods to an external LoadBalancer IP will be directed to the respective cluster IP instead --config string The path to the configuration file. --config-sync-period duration Default: 15m0s How often configuration from the apiserver is refreshed. Must be greater than 0. --conntrack-max-per-core int32 Default: 32768 Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min). --conntrack-min int32 Default: 131072 Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core (set conntrack-max-per-core=0 to leave the limit as-is). --conntrack-tcp-timeout-close-wait duration Default: 1h0m0s NAT timeout for TCP connections in the CLOSE_WAIT state --conntrack-tcp-timeout-established duration Default: 24h0m0s Idle timeout for established TCP connections (0 to leave as-is)

madhavisringarapu commented 5 years ago

show demo for kube-proxy.add screenshots

madhavisringarapu commented 5 years ago

https://www.youtube.com/watch?v=l-h7QIQX-cA

image image image