Skip to content

Instantly share code, notes, and snippets.

@rikatz
Last active April 9, 2021 17:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rikatz/fda5eedc1345dab927d35c49381c9d91 to your computer and use it in GitHub Desktop.
kpng debug 1
Initial startup
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
CREATED A SERVICE test/nginx
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.98.138.169" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[]}
*****************
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.98.138.169" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[IPs:{V4:"172.16.166.161"} IPs:{V4:"172.16.166.158"} IPs:{V4:"172.16.166.159"}]}
*****************
DELETED test/nginx service
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.98.138.169" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[IPs:{V4:"172.16.166.161"} IPs:{V4:"172.16.166.158"} IPs:{V4:"172.16.166.159"}]}
*****************
CREATED THE SERVICE AGAIN WITH THE SAME NAME
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.101.117.5" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.98.138.169" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[IPs:{V4:"172.16.166.161"} IPs:{V4:"172.16.166.158"} IPs:{V4:"172.16.166.159"}]}
*****************
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.101.117.5" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.98.138.169" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[IPs:{V4:"172.16.166.161"} IPs:{V4:"172.16.166.161"} IPs:{V4:"172.16.166.158"} IPs:{V4:"172.16.166.158"} IPs:{V4:"172.16.166.159"} IPs:{V4:"172.16.166.159"}]}
*****************
Restarted the kpng ipvs backend
=====================================
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1" Type:"ClusterIP" IPs:{ClusterIP:"10.107.43.121" ExternalIPs:{}} Ports:{Name:"management" Protocol:TCP Port:15672 TargetPort:15672} Ports:{Name:"amqp" Protocol:TCP Port:5672 TargetPort:5672} Endpoints:[IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"hello-world1-nodes" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"epmd" Protocol:TCP Port:4369 TargetPort:4369} Ports:{Name:"cluster-rpc" Protocol:TCP Port:25672 TargetPort:25672} Endpoints:[Hostname:"hello-world1-server-0" IPs:{V4:"172.16.104.14"}]}
*****************
*****************
Service: &{Service:Namespace:"default" Name:"kubernetes" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.1" ExternalIPs:{}} Ports:{Name:"https" Protocol:TCP Port:443 TargetPort:6443} Endpoints:[IPs:{V4:"192.168.0.150"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kube-dns" Type:"ClusterIP" IPs:{ClusterIP:"10.96.0.10" ExternalIPs:{}} Ports:{Name:"dns" Protocol:UDP Port:53 TargetPort:53} Ports:{Name:"dns-tcp" Protocol:TCP Port:53 TargetPort:53} Ports:{Name:"metrics" Protocol:TCP Port:9153 TargetPort:9153} Endpoints:[IPs:{V4:"172.16.49.66"} IPs:{V4:"172.16.49.65"}]}
*****************
*****************
Service: &{Service:Namespace:"kube-system" Name:"kubelet" Type:"ClusterIP" IPs:{ClusterIP:"None" ExternalIPs:{}} Ports:{Name:"https-metrics" Protocol:TCP Port:10250 TargetPort:10250} Ports:{Name:"http-metrics" Protocol:TCP Port:10255 TargetPort:10255} Ports:{Name:"cadvisor" Protocol:TCP Port:4194 TargetPort:4194} Endpoints:[IPs:{V4:"192.168.0.150"} IPs:{V4:"192.168.0.152"} IPs:{V4:"192.168.0.151"}]}
*****************
*****************
Service: &{Service:Namespace:"test" Name:"nginx" Type:"ClusterIP" IPs:{ClusterIP:"10.101.117.5" ExternalIPs:{}} Ports:{Name:"80" Protocol:TCP Port:80 TargetPort:80} Endpoints:[IPs:{V4:"172.16.166.161"} IPs:{V4:"172.16.166.158"} IPs:{V4:"172.16.166.159"}]}
*****************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment