A
A
Anton Bes2020-03-02 17:19:15
Ansible
Anton Bes, 2020-03-02 17:19:15

Why does kubernetes create so many pods?

After the rollout of the role, Ansible kubenretes creates additional pods, are they needed for something, or does the role work somehow wrong?

[email protected]:~# docker ps 
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS               NAMES
010f9df2705e        418fed0a0d62             "kube-controller-man…"   34 minutes ago      Up 34 minutes                           k8s_kube-controller-manager_kube-controller-manager-ubuntu-1804-template_kube-system_ddb6636382b4d432254c791da29b1191_2
2cca146abd2e        cac9f041f07e             "kube-scheduler --bi…"   34 minutes ago      Up 34 minutes                           k8s_kube-scheduler_kube-scheduler-ubuntu-1804-template_kube-system_df8a8c0429dd695850b5147e6ebfdbab_2
d4b0f4930f68        709901356c11             "/metrics-sidecar"       46 minutes ago      Up 45 minutes                           k8s_dashboard-metrics-scraper_dashboard-metrics-scraper-fb986f88d-dnk9l_kubernetes-dashboard_c03d1bd7-cf2c-4af7-bdef-df48c40501fe_0
ef9ae20c0d2e        kubernetesui/dashboard   "/dashboard --insecu…"   46 minutes ago      Up 45 minutes                           k8s_kubernetes-dashboard_kubernetes-dashboard-6bb65fcc49-5ttdh_kubernetes-dashboard_4428514f-8340-43b7-bc00-cb35bb367164_0
741eeaa3dba2        eb516548c180             "/coredns -conf /etc…"   46 minutes ago      Up 45 minutes                           k8s_coredns_coredns-5d4dd4b4db-qqz8f_kube-system_5b321e55-8015-4319-9105-1d1c655af0ea_0
89d80ea32acc        eb516548c180             "/coredns -conf /etc…"   46 minutes ago      Up 46 minutes                           k8s_coredns_coredns-5d4dd4b4db-nllnn_kube-system_db45ae5c-94c6-4357-a7d3-af303e272c77_0
04d1715c1ea9        k8s.gcr.io/pause:3.1     "/pause"                 47 minutes ago      Up 46 minutes                           k8s_POD_dashboard-metrics-scraper-fb986f88d-dnk9l_kubernetes-dashboard_c03d1bd7-cf2c-4af7-bdef-df48c40501fe_0
3f9951ee96a4        k8s.gcr.io/pause:3.1     "/pause"                 47 minutes ago      Up 46 minutes                           k8s_POD_coredns-5d4dd4b4db-qqz8f_kube-system_5b321e55-8015-4319-9105-1d1c655af0ea_0
4da826bec5d3        k8s.gcr.io/pause:3.1     "/pause"                 47 minutes ago      Up 46 minutes                           k8s_POD_kubernetes-dashboard-6bb65fcc49-5ttdh_kubernetes-dashboard_4428514f-8340-43b7-bc00-cb35bb367164_0
8d4d3b03fd9a        k8s.gcr.io/pause:3.1     "/pause"                 47 minutes ago      Up 46 minutes                           k8s_POD_coredns-5d4dd4b4db-nllnn_kube-system_db45ae5c-94c6-4357-a7d3-af303e272c77_0
5990af0a4075        ff281650a721             "/opt/bin/flanneld -…"   47 minutes ago      Up 47 minutes                           k8s_kube-flannel_kube-flannel-ds-amd64-fp74n_kube-system_8611c27f-5934-423c-bfba-55d16730967e_0
bf9712299c33        fc0c23c7c0df             "/usr/local/bin/kube…"   48 minutes ago      Up 48 minutes                           k8s_kube-proxy_kube-proxy-qr2xx_kube-system_c5e11fda-cee0-4b58-940c-337dd23d2f3f_0
c04f6b78e81f        k8s.gcr.io/pause:3.1     "/pause"                 49 minutes ago      Up 48 minutes                           k8s_POD_kube-flannel-ds-amd64-fp74n_kube-system_8611c27f-5934-423c-bfba-55d16730967e_0
44e430ddb3a6        k8s.gcr.io/pause:3.1     "/pause"                 49 minutes ago      Up 48 minutes                           k8s_POD_kube-proxy-qr2xx_kube-system_c5e11fda-cee0-4b58-940c-337dd23d2f3f_0
48db58583b60        2c4adeb21b4f             "etcd --advertise-cl…"   52 minutes ago      Up 51 minutes                           k8s_etcd_etcd-ubuntu-1804-template_kube-system_8e185b237df77217aada43215242012f_0
7d15a69e0b35        af9a09211e3d             "kube-apiserver --ad…"   52 minutes ago      Up 51 minutes                           k8s_kube-apiserver_kube-apiserver-ubuntu-1804-template_kube-system_6a34636a06e5c2980952cd996c86bbc1_0
7b57dac62c99        k8s.gcr.io/pause:3.1     "/pause"                 52 minutes ago      Up 52 minutes                           k8s_POD_kube-scheduler-ubuntu-1804-template_kube-system_df8a8c0429dd695850b5147e6ebfdbab_0
e6861029eb9b        k8s.gcr.io/pause:3.1     "/pause"                 52 minutes ago      Up 52 minutes                           k8s_POD_kube-controller-manager-ubuntu-1804-template_kube-system_ddb6636382b4d432254c791da29b1191_0
74e766f172b5        k8s.gcr.io/pause:3.1     "/pause"                 52 minutes ago      Up 52 minutes                           k8s_POD_kube-apiserver-ubuntu-1804-template_kube-system_6a34636a06e5c2980952cd996c86bbc1_0
4e5ccc9ea447        k8s.gcr.io/pause:3.1     "/pause"                 52 minutes ago      Up 52 minutes                           k8s_POD_etcd-ubuntu-1804-template_kube-system_8e185b237df77217aada43215242012f_0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2020-03-02
@BSH_EYES

Of course needed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question