I have Debian unstable, and last version of kubernetes
. when I reboot system, after some seconds kube-apiserver
will be down. How can I solve it?
swap is off.
UPDATE:
I attached my ps ax
output when I reboot. But after some second ‘less than 1 min’ kube-apiserver
will be down.
my ps ax
output:
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 /sbin/init
2 ? S 0:00 [kthreadd]
3 ? I< 0:00 [rcu_gp]
4 ? I< 0:00 [rcu_par_gp]
5 ? I< 0:00 [netns]
6 ? I 0:00 [kworker/0:0-events]
7 ? I< 0:00 [kworker/0:0H-events_highpri]
8 ? I 0:00 [kworker/u16:0-flush-8:0]
9 ? I< 0:00 [kworker/0:1H-events_highpri]
10 ? I< 0:00 [mm_percpu_wq]
11 ? I 0:00 [rcu_tasks_kthread]
12 ? I 0:00 [rcu_tasks_rude_kthread]
13 ? I 0:00 [rcu_tasks_trace_kthread]
14 ? S 0:00 [ksoftirqd/0]
15 ? I 0:00 [rcu_preempt]
16 ? S 0:00 [migration/0]
17 ? I 0:00 [kworker/0:1-events]
18 ? S 0:00 [cpuhp/0]
19 ? S 0:00 [cpuhp/1]
20 ? S 0:00 [migration/1]
21 ? S 0:00 [ksoftirqd/1]
22 ? I 0:00 [kworker/1:0-events]
23 ? I< 0:00 [kworker/1:0H-events_highpri]
24 ? S 0:00 [cpuhp/2]
25 ? S 0:00 [migration/2]
26 ? S 0:00 [ksoftirqd/2]
27 ? I 0:00 [kworker/2:0-events]
28 ? I< 0:00 [kworker/2:0H-events_highpri]
29 ? S 0:00 [cpuhp/3]
30 ? S 0:00 [migration/3]
31 ? S 0:00 [ksoftirqd/3]
32 ? I 0:00 [kworker/3:0-events]
33 ? I< 0:00 [kworker/3:0H-events_highpri]
34 ? S 0:00 [cpuhp/4]
35 ? S 0:00 [migration/4]
36 ? S 0:00 [ksoftirqd/4]
37 ? I 0:00 [kworker/4:0-pm]
38 ? I< 0:00 [kworker/4:0H-events_highpri]
39 ? S 0:00 [cpuhp/5]
40 ? S 0:00 [migration/5]
41 ? S 0:00 [ksoftirqd/5]
42 ? I 0:00 [kworker/5:0-events]
43 ? I< 0:00 [kworker/5:0H-events_highpri]
44 ? S 0:00 [cpuhp/6]
45 ? S 0:00 [migration/6]
46 ? S 0:00 [ksoftirqd/6]
47 ? I 0:00 [kworker/6:0-events]
48 ? I< 0:00 [kworker/6:0H-events_highpri]
49 ? S 0:00 [cpuhp/7]
50 ? S 0:00 [migration/7]
51 ? S 0:00 [ksoftirqd/7]
52 ? I 0:00 [kworker/7:0-events]
53 ? I< 0:00 [kworker/7:0H-events_highpri]
55 ? I 0:00 [kworker/u16:1-writeback]
56 ? I 0:00 [kworker/u16:2-events_unbound]
57 ? I 0:00 [kworker/u16:3-ext4-rsv-conversion]
58 ? I 0:00 [kworker/u16:4-flush-8:0]
59 ? I 0:00 [kworker/u16:5-events_unbound]
60 ? I 0:00 [kworker/u16:6-events_unbound]
61 ? I 0:00 [kworker/u16:7-flush-8:0]
62 ? S 0:00 [kdevtmpfs]
63 ? I< 0:00 [inet_frag_wq]
64 ? S 0:00 [kauditd]
65 ? S 0:00 [khungtaskd]
66 ? S 0:00 [oom_reaper]
67 ? I< 0:00 [writeback]
68 ? S 0:00 [kcompactd0]
69 ? SN 0:00 [ksmd]
70 ? SN 0:00 [khugepaged]
71 ? I< 0:00 [kintegrityd]
72 ? I< 0:00 [kblockd]
73 ? I< 0:00 [blkcg_punt_bio]
74 ? I< 0:00 [tpm_dev_wq]
75 ? I< 0:00 [edac-poller]
76 ? I< 0:00 [devfreq_wq]
77 ? S 0:00 [kswapd0]
79 ? I 0:00 [kworker/5:1-cgroup_destroy]
80 ? I 0:00 [kworker/1:1-pm]
81 ? I 0:00 [kworker/3:1-cgroup_destroy]
82 ? I 0:00 [kworker/2:1-events]
83 ? I 0:00 [kworker/4:1-events]
84 ? I 0:00 [kworker/6:1-events]
85 ? I 0:00 [kworker/7:1-events]
90 ? I< 0:00 [kthrotld]
92 ? S 0:00 [irq/29-pciehp]
93 ? I< 0:00 [acpi_thermal_pm]
94 ? I 0:00 [kworker/0:2-events]
95 ? I 0:00 [kworker/0:3-events]
96 ? I< 0:00 [kworker/1:1H-kblockd]
97 ? I< 0:00 [mld]
98 ? I< 0:00 [ipv6_addrconf]
100 ? I< 0:00 [kworker/2:1H-kblockd]
104 ? I< 0:00 [kstrp]
109 ? I< 0:00 [zswap-shrink]
110 ? I< 0:00 [kworker/u17:0-i915_flip]
175 ? I 0:00 [kworker/1:2-pm]
195 ? I 0:00 [kworker/2:2-events]
196 ? I< 0:00 [kworker/3:1H-kblockd]
198 ? I< 0:00 [kworker/4:1H-kblockd]
201 ? I< 0:00 [ata_sff]
202 ? I< 0:00 [kworker/5:1H-kblockd]
205 ? I< 0:00 [kworker/7:1H-kblockd]
206 ? S 0:00 [scsi_eh_0]
207 ? I< 0:00 [scsi_tmf_0]
208 ? S 0:00 [scsi_eh_1]
209 ? I< 0:00 [scsi_tmf_1]
210 ? S 0:00 [scsi_eh_2]
211 ? I< 0:00 [scsi_tmf_2]
212 ? S 0:00 [scsi_eh_3]
213 ? I< 0:00 [scsi_tmf_3]
214 ? S 0:00 [scsi_eh_4]
215 ? I< 0:00 [scsi_tmf_4]
216 ? S 0:00 [scsi_eh_5]
217 ? I< 0:00 [scsi_tmf_5]
218 ? S 0:00 [card0-crtc0]
219 ? S 0:00 [card0-crtc1]
220 ? I 0:00 [kworker/7:2-events]
221 ? I 0:00 [kworker/u16:8-flush-8:0]
222 ? I 0:00 [kworker/5:2-events]
223 ? I< 0:00 [kworker/6:1H-kblockd]
225 ? I 0:00 [kworker/3:2-events]
270 ? I 0:00 [kworker/4:2-cgroup_destroy]
271 ? S 0:00 [jbd2/sda5-8]
272 ? I< 0:00 [ext4-rsv-conver]
332 ? Ss 0:00 /lib/systemd/systemd-journald
340 ? I 0:00 [kworker/6:2-cgroup_destroy]
357 ? Ss 0:00 /lib/systemd/systemd-udevd
361 ? I 0:00 [kworker/7:3-cgroup_destroy]
436 ? I 0:00 [kworker/7:4-events]
452 ? S 0:00 [watchdogd]
455 ? S 0:00 [irq/41-mei_me]
578 ? I 0:00 [kworker/6:3-events]
579 ? I< 0:00 [cryptd]
580 ? I< 0:00 [cfg80211]
581 ? I 0:00 [kworker/6:4-events]
592 ? I 0:00 [kworker/2:3-events]
669 ? Ssl 0:00 /lib/systemd/systemd-timesyncd
681 ? S<sl 0:00 /sbin/auditd
685 ? Ss 0:00 /usr/sbin/haveged --Foreground --verbose=1
765 ? Ssl 0:00 /usr/libexec/accounts-daemon
769 ? Ss 0:00 avahi-daemon: running [debian.local]
771 ? Ss 0:00 /usr/sbin/cron -f
775 ? Ss 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
781 ? Ssl 0:01 /usr/libexec/polkitd --no-debug
783 ? Ssl 0:00 /usr/libexec/power-profiles-daemon
785 ? Ssl 0:00 /usr/sbin/rsyslogd -n -iNONE
786 ? Ss 0:00 /usr/sbin/smartd -n
787 ? Ssl 0:00 /usr/libexec/switcheroo-control
788 ? Ss 0:00 /lib/systemd/systemd-logind
790 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
795 ? S 0:00 avahi-daemon: chroot helper
822 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
825 ? Ss 0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
827 ? Ssl 0:00 /usr/sbin/ModemManager
845 ? I 0:00 [kworker/3:3-events]
847 ? I 0:00 [kworker/3:4-events]
865 ? Ss 0:00 /usr/sbin/cupsd -l
872 ? Ss 0:00 php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf)
894 ? Ssl 0:00 /usr/bin/containerd
896 ? Ss 0:00 /usr/sbin/vsftpd /etc/vsftpd.conf
912 ? Ss 0:00 /lib/systemd/systemd-hostnamed
994 ? I< 0:00 [iprt-VBoxWQueue]
1000 ? S 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
1013 ? S 0:00 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
1015 ? S 0:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
1016 ? S 0:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
1017 ? S 0:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
1021 ? S 0:00 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
1025 ? S 0:00 /usr/lib/cups/notifier/dbus dbus://
1028 ? Ssl 0:00 /usr/sbin/gdm3
1029 ? S 0:00 [iprt-VBoxTscThread]
1031 ? Ss 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
1033 ? Ssl 0:00 /usr/sbin/mariadbd
1051 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1060 ? Ss 0:00 /usr/lib/postgresql/14/bin/postgres -D /var/lib/postgresql/14/main -c config_file=/etc/postgresql/14/main/postgresql.conf
1067 ? Ss 0:00 /lib/systemd/systemd --user
1073 ? S 0:00 (sd-pam)
1080 ? Ss 0:00 /usr/sbin/apache2 -k start
1081 ? I 0:00 [kworker/5:3-events]
1102 ? S 0:00 /usr/sbin/apache2 -k start
1104 ? S 0:00 /usr/sbin/apache2 -k start
1105 ? S 0:00 /usr/sbin/apache2 -k start
1106 ? S 0:00 /usr/sbin/apache2 -k start
1107 ? S 0:00 /usr/sbin/apache2 -k start
1108 ? S 0:00 /usr/sbin/apache2 -k start
1110 ? Ss 0:00 postgres: 14/main: checkpointer
1111 ? Ss 0:00 postgres: 14/main: background writer
1112 ? Ss 0:00 postgres: 14/main: walwriter
1113 ? Ss 0:00 postgres: 14/main: autovacuum launcher
1114 ? Ss 0:00 postgres: 14/main: stats collector
1115 ? Ss 0:00 postgres: 14/main: logical replication launcher
1116 ? S 0:00 php-fpm: pool www
1117 ? S 0:00 php-fpm: pool www
1129 ? I 0:00 [kworker/4:3-pm]
1130 ? I 0:00 [kworker/4:4]
1136 ? S<sl 0:00 /usr/bin/pipewire
1139 ? Ssl 0:00 /usr/bin/pipewire-media-session
1140 ? S<sl 0:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal
1157 tty1 Ssl+ 0:00 /usr/libexec/gdm-wayland-session dbus-run-session -- gnome-session --autostart /usr/share/gdm/greeter/autostart
1160 ? Ss 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
1163 ? SNsl 0:00 /usr/libexec/rtkit-daemon
1171 tty1 S+ 0:00 dbus-run-session -- gnome-session --autostart /usr/share/gdm/greeter/autostart
1172 ? Ssl 0:00 /usr/libexec/gvfsd
1173 tty1 S+ 0:00 dbus-daemon --nofork --print-address 4 --session
1179 tty1 Sl+ 0:00 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
1189 ? Sl 0:00 /usr/libexec/gvfsd-fuse /run/user/117/gvfs -f
1216 tty1 Sl+ 0:02 /usr/bin/gnome-shell
1229 ? SNsl 0:00 /usr/libexec/tracker-miner-fs-3
1255 ? Ssl 0:00 /usr/libexec/gvfs-udisks2-volume-monitor
1265 ? Ssl 0:00 /usr/libexec/gvfs-afc-volume-monitor
1271 ? Ssl 0:00 /usr/libexec/gvfs-goa-volume-monitor
1275 ? Sl 0:00 /usr/libexec/goa-daemon
1287 ? Sl 0:00 /usr/libexec/goa-identity-service
1289 ? Ssl 0:00 /usr/libexec/gvfs-mtp-volume-monitor
1297 ? Ssl 0:00 /usr/libexec/gvfs-gphoto2-volume-monitor
1298 ? Sl 0:00 /usr/libexec/pulse/gsettings-helper
1320 ? Ssl 0:00 /usr/libexec/upowerd
1338 tty1 Sl+ 0:00 /usr/libexec/at-spi-bus-launcher
1343 tty1 S+ 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/117/at-spi/bus
1353 tty1 Sl+ 0:00 /usr/bin/Xwayland :1024 -rootless -noreset -accessx -core -auth /run/user/117/.mutter-Xwaylandauth.TXYQS1 -listen 4 -listen 5 -displayfd 6 -initfd 7
1359 ? I 0:00 [kworker/1:3]
1364 ? Ss 0:00 /lib/systemd/systemd-localed
1366 tty1 Sl+ 0:00 /usr/libexec/xdg-permission-store
1371 ? Ssl 0:00 /usr/libexec/geoclue
1372 ? Ssl 0:00 /usr/libexec/packagekitd
1377 tty1 Sl+ 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications
1379 tty1 Sl+ 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
1394 tty1 Sl+ 0:00 /usr/libexec/gsd-sharing
1396 tty1 Sl+ 0:00 /usr/libexec/gsd-wacom
1398 tty1 Sl+ 0:00 /usr/libexec/gsd-color
1399 tty1 Sl+ 0:00 /usr/libexec/gsd-keyboard
1401 tty1 Sl+ 0:00 /usr/libexec/gsd-print-notifications
1405 tty1 Sl+ 0:00 /usr/libexec/gsd-rfkill
1406 tty1 Sl+ 0:00 /usr/libexec/gsd-smartcard
1407 tty1 Sl+ 0:00 /usr/libexec/gsd-datetime
1408 tty1 Sl+ 0:00 /usr/libexec/gsd-media-keys
1411 tty1 Sl+ 0:00 /usr/libexec/gsd-screensaver-proxy
1426 tty1 Sl+ 0:00 /usr/libexec/gsd-sound
1435 tty1 Sl+ 0:00 /usr/libexec/gsd-a11y-settings
1436 tty1 Sl+ 0:00 /usr/libexec/gsd-housekeeping
1437 tty1 Sl+ 0:00 /usr/libexec/gsd-power
1475 tty1 Sl+ 0:00 /usr/libexec/gvfsd
1510 tty1 Sl+ 0:00 /usr/libexec/gsd-printer
1521 ? Ssl 0:00 /usr/libexec/realmd
1534 ? Ssl 0:00 /usr/libexec/colord
1565 tty1 Sl+ 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver
1607 tty1 Sl 0:00 ibus-daemon --panel disable -r --xim
1617 ? I< 0:00 [kworker/u17:1]
1619 tty1 Sl 0:00 /usr/libexec/ibus-dconf
1620 tty1 Sl 0:01 /usr/libexec/ibus-extension-gtk3
1622 tty1 Sl 0:00 /usr/libexec/ibus-x11 --kill-daemon
1625 tty1 Sl+ 0:00 /usr/libexec/ibus-portal
1638 tty1 Sl 0:00 /usr/libexec/ibus-engine-simple
1652 tty1 Sl+ 0:00 /usr/libexec/dconf-service
1655 ? Ssl 0:00 /usr/sbin/cups-browsed
1656 ? Ssl 0:00 /usr/sbin/dockerd
1657 ? Ssl 0:00 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime=remote --container-runtime-endpoint=unix:///var/run/containerd/containerd.sock --pod-infra-container-image=registry.k8s.io/pause:3.8
1658 ? Ss 0:00 /usr/sbin/nmbd --foreground --no-process-group
1660 ? Ss 0:00 /usr/sbin/snmpd -LOw -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
1707 ? Ss 0:00 /usr/sbin/smbd --foreground --no-process-group
1732 ? S 0:00 /usr/sbin/smbd --foreground --no-process-group
1734 ? S 0:00 /usr/sbin/smbd --foreground --no-process-group
2143 ? Sl 0:00 gdm-session-worker [pam/gdm-password]
2201 ? Sl 0:00 /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id 9b59b56ba1c702c6d9230da1789a4ed98af8c84228ee8207820c1d2eeee270a1 -address /run/containerd/containerd.sock
2233 ? Sl 0:00 /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id 4f15d774c260898f2dcf70d5b21242a68a7c8ab672fce2c767063893c8f3d41f -address /run/containerd/containerd.sock
2255 ? Sl 0:00 /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id e5c10b4840f0a4af1e774b92b1f33c6a9c7f40e88a607296a6a2b95e7e8f720b -address /run/containerd/containerd.sock
2268 ? Ss 0:00 /pause
2287 ? Ss 0:00 /pause
2296 ? Ss 0:00 /pause
2312 ? Sl 0:00 /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id fecb309995e75536998a3f2891fc95a76cebe530009a1f8e5182cc6443e3c891 -address /run/containerd/containerd.sock
2338 ? Ss 0:00 /pause
2469 ? Ssl 0:01 kube-controller-manager --allocate-node-cidrs=true --authentication-kubeconfig=/etc/kubernetes/controller-manager.conf --authorization-kubeconfig=/etc/kubernetes/controller-manager.conf --bind-address=127.0.0.1 --client-ca-file=/etc/kubernetes/pki/ca.crt --cluster-cidr=192.168.0.0/24 --cluster-name=kubernetes --cluster-signing-cert-file=/etc/kubernetes/pki/ca.crt --cluster-signing-key-file=/etc/kubernetes/pki/ca.key --controllers=*,bootstrapsigner,tokencleaner --kubeconfig=/etc/kubernetes/controller-manager.conf --leader-elect=true --requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt --root-ca-file=/etc/kubernetes/pki/ca.crt --service-account-private-key-file=/etc/kubernetes/pki/sa.key --service-cluster-ip-range=10.96.0.0/12 --use-service-account-credentials=true
2493 ? Ssl 0:01 kube-scheduler --authentication-kubeconfig=/etc/kubernetes/scheduler.conf --authorization-kubeconfig=/etc/kubernetes/scheduler.conf --bind-address=127.0.0.1 --kubeconfig=/etc/kubernetes/scheduler.conf --leader-elect=true
2551 ? Ssl 0:01 kube-apiserver --advertise-address=192.168.0.120 --allow-privileged=true --authorization-mode=Node,RBAC --client-ca-file=/etc/kubernetes/pki/ca.crt --enable-admission-plugins=NodeRestriction --enable-bootstrap-token-auth=true --etcd-cafile=/etc/kubernetes/pki/etcd/ca.crt --etcd-certfile=/etc/kubernetes/pki/apiserver-etcd-client.crt --etcd-keyfile=/etc/kubernetes/pki/apiserver-etcd-client.key --etcd-servers=https://127.0.0.1:2379 --kubelet-client-certificate=/etc/kubernetes/pki/apiserver-kubelet-client.crt --kubelet-client-key=/etc/kubernetes/pki/apiserver-kubelet-client.key --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname --proxy-client-cert-file=/etc/kubernetes/pki/front-proxy-client.crt --proxy-client-key-file=/etc/kubernetes/pki/front-proxy-client.key --requestheader-allowed-names=front-proxy-client --requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt --requestheader-extra-headers-prefix=X-Remote-Extra- --requestheader-group-headers=X-Remote-Group --requestheader-username-headers=X-Remote-User --secure-port=6443 --service-account-issuer=https://kubernetes.default.svc.cluster.local --service-account-key-file=/etc/kubernetes/pki/sa.pub --service-account-signing-key-file=/etc/kubernetes/pki/sa.key --service-cluster-ip-range=10.96.0.0/12 --tls-cert-file=/etc/kubernetes/pki/apiserver.crt --tls-private-key-file=/etc/kubernetes/pki/apiserver.key
2643 ? I 0:00 [kworker/u16:9]
2929 ? Ss 0:00 /usr/lib/postfix/sbin/master -w
2930 ? S 0:00 pickup -l -t unix -u -c
2931 ? S 0:00 qmgr -l -t unix -u
2937 tty3 Ss 0:00 /bin/login -p --
2945 ? Ss 0:00 /lib/systemd/systemd --user
2946 ? S 0:00 (sd-pam)
2961 tty3 S 0:00 -bash
3030 tty3 R+ 0:00 ps ax