Skip to content

Instantly share code, notes, and snippets.

@azyobuzin
Created March 3, 2019 18:49
Show Gist options
  • Save azyobuzin/892152264516133ed61efe3647095ee3 to your computer and use it in GitHub Desktop.
Save azyobuzin/892152264516133ed61efe3647095ee3 to your computer and use it in GitHub Desktop.
MicroK8s
azyobuzin@k8stest:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 933964 0 933964 0% /dev
tmpfs 192920 796 192124 1% /run
/dev/sda2 32378672 4009820 26701064 14% /
tmpfs 964584 0 964584 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 964584 0 964584 0% /sys/fs/cgroup
/dev/loop0 88704 88704 0 100% /snap/core/4486
/dev/sda1 523248 6152 517096 2% /boot/efi
tmpfs 192916 0 192916 0% /run/user/1000
azyobuzin@k8stest:~$ free
total used free shared buff/cache available
Mem: 1929172 206948 1523272 796 198952 1568024
Swap: 1793020 0 1793020
azyobuzin@k8stest:~$ ps axuf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 16:47 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:0]
root 4 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/0:0H]
root 5 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:0]
root 6 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [mm_percpu_wq]
root 7 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/0]
root 8 0.0 0.0 0 0 ? I 16:47 0:00 \_ [rcu_sched]
root 9 0.0 0.0 0 0 ? I 16:47 0:00 \_ [rcu_bh]
root 10 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/0]
root 11 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/0]
root 12 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/0]
root 13 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/1]
root 14 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/1]
root 15 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/1]
root 16 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/1]
root 17 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:0]
root 18 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/1:0H]
root 19 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/2]
root 20 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/2]
root 21 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/2]
root 22 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/2]
root 23 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/2:0]
root 24 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/2:0H]
root 25 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/3]
root 26 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/3]
root 27 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/3]
root 28 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/3]
root 29 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/3:0]
root 30 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/3:0H]
root 31 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kdevtmpfs]
root 32 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [netns]
root 33 0.0 0.0 0 0 ? S 16:47 0:00 \_ [rcu_tasks_kthre]
root 34 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kauditd]
root 35 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:1]
root 36 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/2:1]
root 37 0.0 0.0 0 0 ? S 16:47 0:00 \_ [khungtaskd]
root 38 0.0 0.0 0 0 ? S 16:47 0:00 \_ [oom_reaper]
root 39 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [writeback]
root 40 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kcompactd0]
root 41 0.0 0.0 0 0 ? SN 16:47 0:00 \_ [ksmd]
root 42 0.0 0.0 0 0 ? SN 16:47 0:00 \_ [khugepaged]
root 43 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [crypto]
root 44 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kintegrityd]
root 45 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kblockd]
root 46 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ata_sff]
root 47 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [md]
root 48 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [edac-poller]
root 49 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [devfreq_wq]
root 50 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [watchdogd]
root 51 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:1]
root 53 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kswapd0]
root 54 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ecryptfs-kthrea]
root 96 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/3:1]
root 97 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kthrotld]
root 98 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [acpi_thermal_pm]
root 102 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:1]
root 103 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ipv6_addrconf]
root 112 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kstrp]
root 129 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [charger_manager]
root 176 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_vmbus_con]
root 179 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_pri_chan]
root 183 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_sub_chan]
root 210 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/2:2]
root 222 0.0 0.0 0 0 ? S 16:47 0:00 \_ [scsi_eh_0]
root 223 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:2]
root 224 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:3]
root 225 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [scsi_tmf_0]
root 226 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [storvsc_error_w]
root 227 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:2]
root 228 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:3]
root 231 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/1:1H]
root 234 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/3:1H]
root 235 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:4]
root 306 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [raid5wq]
root 353 0.0 0.0 0 0 ? S 16:47 0:00 \_ [jbd2/sda2-8]
root 354 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ext4-rsv-conver]
root 401 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/2:1H]
root 427 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:2]
root 428 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [iscsi_eh]
root 429 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib-comp-wq]
root 430 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib_mcast]
root 431 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib_nl_sa_wq]
root 435 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [rdma_cm]
root 440 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/0:1H]
root 456 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/3:2]
root 486 0.0 0.0 0 0 ? S< 16:47 0:00 \_ [loop0]
root 491 0.0 0.0 0 0 ? S 16:47 0:00 \_ [hv_balloon]
root 1 1.2 0.4 77752 8624 ? Ss 16:47 0:02 /sbin/init
root 421 0.3 0.7 86588 14636 ? S<s 16:47 0:00 /lib/systemd/systemd-journald
root 450 0.4 0.2 46924 5692 ? Ss 16:47 0:00 /lib/systemd/systemd-udevd
root 455 0.0 0.0 97708 1880 ? Ss 16:47 0:00 /sbin/lvmetad -f
systemd+ 677 0.0 0.1 143976 3152 ? Ssl 16:47 0:00 /lib/systemd/systemd-timesyncd
systemd+ 841 0.0 0.2 80024 5276 ? Ss 16:47 0:00 /lib/systemd/systemd-networkd
systemd+ 869 0.0 0.2 70616 5244 ? Ss 16:47 0:00 /lib/systemd/systemd-resolved
syslog 956 0.0 0.2 269332 4512 ? Ssl 16:47 0:00 /usr/sbin/rsyslogd -n
root 977 0.0 0.8 169080 17208 ? Ssl 16:47 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 992 0.0 0.3 286248 6812 ? Ssl 16:47 0:00 /usr/lib/accountsservice/accounts-daemon
root 998 0.0 0.0 161076 1592 ? Ssl 16:47 0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root 1032 0.0 0.1 110408 2040 ? Ssl 16:47 0:00 /usr/sbin/irqbalance --foreground
root 1050 0.0 0.1 30028 3240 ? Ss 16:47 0:00 /usr/sbin/cron -f
root 1063 0.0 0.3 70552 6028 ? Ss 16:47 0:00 /lib/systemd/systemd-logind
avahi 1103 0.0 0.1 47204 3528 ? Ss 16:47 0:00 avahi-daemon: running [k8stest.local]
avahi 1120 0.0 0.0 47076 340 ? S 16:47 0:00 \_ avahi-daemon: chroot helper
daemon 1137 0.0 0.1 28332 2352 ? Ss 16:47 0:00 /usr/sbin/atd -f
message+ 1143 0.0 0.2 50044 4452 ? Ss 16:47 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-act
root 1188 0.0 1.0 185912 20160 ? Ssl 16:47 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-
root 1199 0.0 0.9 1064804 19240 ? Ssl 16:47 0:00 /usr/lib/snapd/snapd
root 1218 0.0 0.2 72296 5608 ? Ss 16:47 0:00 /usr/sbin/sshd -D
root 1500 0.0 0.3 105692 7080 ? Ss 16:48 0:00 \_ sshd: azyobuzin [priv]
azyobuz+ 1625 0.0 0.3 108356 6200 ? S 16:48 0:00 | \_ sshd: azyobuzin@pts/0
azyobuz+ 1626 0.0 0.2 21460 5168 pts/0 Ss 16:48 0:00 | \_ -bash
azyobuz+ 1724 0.0 0.1 38524 3776 pts/0 R+ 16:50 0:00 | \_ ps axuf
root 1633 0.0 0.3 105692 7052 ? Ss 16:48 0:00 \_ sshd: azyobuzin [priv]
azyobuz+ 1706 0.0 0.3 108356 6240 ? S 16:48 0:00 \_ sshd: azyobuzin@pts/1
azyobuz+ 1707 0.0 0.2 21460 5064 pts/1 Ss+ 16:48 0:00 \_ -bash
root 1250 0.0 0.3 288876 6528 ? Ssl 16:47 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 1324 0.0 0.0 14888 1912 tty1 Ss+ 16:47 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
azyobuz+ 1508 0.0 0.3 76632 6732 ? Ss 16:48 0:00 /lib/systemd/systemd --user
azyobuz+ 1517 0.0 0.1 111736 2416 ? S 16:48 0:00 \_ (sd-pam)
azyobuzin@k8stest:~$
azyobuzin@k8stest:~$ sudo time snap install microk8s --classic
[sudo] password for azyobuzin:
microk8s v1.13.3 from Canonical✓ installed
0.51user 0.55system 1:00.65elapsed 1%CPU (0avgtext+0avgdata 19680maxresident)k
0inputs+0outputs (0major+3427minor)pagefaults 0swaps
azyobuzin@k8stest:~$ time microk8s.status --wait-ready
microk8s is running
addons:
jaeger: disabled
fluentd: disabled
gpu: disabled
storage: disabled
registry: disabled
ingress: disabled
dns: disabled
metrics-server: disabled
prometheus: disabled
istio: disabled
dashboard: disabled
real 0m7.164s
user 0m0.377s
sys 0m0.879s
azyobuzin@k8stest:~$ microk8s.kubelet get pods --all-namespaces
microk8s.kubelet: command not found
azyobuzin@k8stest:~$ microk8s.kubectl get pods --all-namespaces
No resources found.
azyobuzin@k8stest:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 933964 0 933964 0% /dev
tmpfs 192920 840 192080 1% /run
/dev/sda2 32378672 4360948 26349936 15% /
tmpfs 964584 0 964584 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 964584 0 964584 0% /sys/fs/cgroup
/dev/loop0 88704 88704 0 100% /snap/core/4486
/dev/sda1 523248 6152 517096 2% /boot/efi
tmpfs 192916 0 192916 0% /run/user/1000
/dev/loop1 224384 224384 0 100% /snap/microk8s/412
azyobuzin@k8stest:~$ free
total used free shared buff/cache available
Mem: 1929172 701268 221912 840 1005992 1057848
Swap: 1793020 0 1793020
azyobuzin@k8stest:~$ ps axuf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 16:47 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:0]
root 4 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/0:0H]
root 5 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:0]
root 6 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [mm_percpu_wq]
root 7 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/0]
root 8 0.0 0.0 0 0 ? I 16:47 0:00 \_ [rcu_sched]
root 9 0.0 0.0 0 0 ? I 16:47 0:00 \_ [rcu_bh]
root 10 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/0]
root 11 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/0]
root 12 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/0]
root 13 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/1]
root 14 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/1]
root 15 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/1]
root 16 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/1]
root 18 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/1:0H]
root 19 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/2]
root 20 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/2]
root 21 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/2]
root 22 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/2]
root 23 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/2:0]
root 24 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/2:0H]
root 25 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/3]
root 26 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/3]
root 27 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/3]
root 28 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/3]
root 29 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/3:0]
root 30 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/3:0H]
root 31 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kdevtmpfs]
root 32 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [netns]
root 33 0.0 0.0 0 0 ? S 16:47 0:00 \_ [rcu_tasks_kthre]
root 34 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kauditd]
root 35 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:1]
root 36 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/2:1]
root 37 0.0 0.0 0 0 ? S 16:47 0:00 \_ [khungtaskd]
root 38 0.0 0.0 0 0 ? S 16:47 0:00 \_ [oom_reaper]
root 39 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [writeback]
root 40 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kcompactd0]
root 41 0.0 0.0 0 0 ? SN 16:47 0:00 \_ [ksmd]
root 42 0.0 0.0 0 0 ? SN 16:47 0:00 \_ [khugepaged]
root 43 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [crypto]
root 44 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kintegrityd]
root 45 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kblockd]
root 46 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ata_sff]
root 47 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [md]
root 48 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [edac-poller]
root 49 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [devfreq_wq]
root 50 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [watchdogd]
root 53 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kswapd0]
root 54 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ecryptfs-kthrea]
root 96 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/3:1]
root 97 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kthrotld]
root 98 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [acpi_thermal_pm]
root 102 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:1]
root 103 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ipv6_addrconf]
root 112 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kstrp]
root 129 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [charger_manager]
root 176 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_vmbus_con]
root 179 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_pri_chan]
root 183 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_sub_chan]
root 210 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/2:2]
root 222 0.0 0.0 0 0 ? S 16:47 0:00 \_ [scsi_eh_0]
root 225 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [scsi_tmf_0]
root 226 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [storvsc_error_w]
root 227 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:2]
root 228 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:3]
root 231 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/1:1H]
root 234 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/3:1H]
root 235 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:4]
root 306 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [raid5wq]
root 353 0.0 0.0 0 0 ? S 16:47 0:00 \_ [jbd2/sda2-8]
root 354 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ext4-rsv-conver]
root 401 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/2:1H]
root 427 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:2]
root 428 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [iscsi_eh]
root 429 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib-comp-wq]
root 430 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib_mcast]
root 431 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib_nl_sa_wq]
root 435 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [rdma_cm]
root 440 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/0:1H]
root 456 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/3:2]
root 486 0.0 0.0 0 0 ? S< 16:47 0:00 \_ [loop0]
root 491 0.0 0.0 0 0 ? S 16:47 0:00 \_ [hv_balloon]
root 1827 0.2 0.0 0 0 ? S< 16:52 0:00 \_ [loop1]
root 1828 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:3]
root 1836 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:4]
root 1837 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:5]
root 1838 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:6]
root 1839 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:7]
root 2035 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:3]
root 2036 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:4]
root 2037 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:5]
root 2038 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:6]
root 2039 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:7]
root 1 0.5 0.4 78012 8896 ? Ss 16:47 0:02 /sbin/init
root 421 0.1 0.7 94784 15320 ? S<s 16:47 0:00 /lib/systemd/systemd-journald
root 450 0.2 0.2 46660 5456 ? Ss 16:47 0:01 /lib/systemd/systemd-udevd
root 455 0.0 0.0 97708 1880 ? Ss 16:47 0:00 /sbin/lvmetad -f
systemd+ 677 0.0 0.1 143976 3152 ? Ssl 16:47 0:00 /lib/systemd/systemd-timesyncd
systemd+ 841 0.0 0.3 80148 5968 ? Ss 16:47 0:00 /lib/systemd/systemd-networkd
systemd+ 869 0.0 0.2 70616 5244 ? Ss 16:47 0:00 /lib/systemd/systemd-resolved
syslog 956 0.0 0.2 269332 4512 ? Ssl 16:47 0:00 /usr/sbin/rsyslogd -n
root 977 0.0 0.8 169080 17292 ? Ssl 16:47 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 992 0.0 0.3 286248 6812 ? Ssl 16:47 0:00 /usr/lib/accountsservice/accounts-daemon
root 998 0.0 0.0 161076 1592 ? Ssl 16:47 0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root 1032 0.0 0.1 110408 2040 ? Ssl 16:47 0:00 /usr/sbin/irqbalance --foreground
root 1050 0.0 0.1 30028 3240 ? Ss 16:47 0:00 /usr/sbin/cron -f
root 1063 0.0 0.3 70552 6028 ? Ss 16:47 0:00 /lib/systemd/systemd-logind
avahi 1103 0.0 0.1 47204 3528 ? Ss 16:47 0:00 avahi-daemon: running [k8stest.local]
avahi 1120 0.0 0.0 47076 340 ? S 16:47 0:00 \_ avahi-daemon: chroot helper
daemon 1137 0.0 0.1 28332 2352 ? Ss 16:47 0:00 /usr/sbin/atd -f
message+ 1143 0.0 0.2 50156 4488 ? Ss 16:47 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-act
root 1188 0.0 1.0 185912 20160 ? Ssl 16:47 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-
root 1199 2.8 1.3 1225164 26040 ? Ssl 16:47 0:14 /usr/lib/snapd/snapd
root 1218 0.0 0.2 72296 5608 ? Ss 16:47 0:00 /usr/sbin/sshd -D
root 1500 0.0 0.3 105692 7080 ? Ss 16:48 0:00 \_ sshd: azyobuzin [priv]
azyobuz+ 1625 0.0 0.3 108356 6276 ? S 16:48 0:00 | \_ sshd: azyobuzin@pts/0
azyobuz+ 1626 0.0 0.2 21460 5168 pts/0 Ss 16:48 0:00 | \_ -bash
azyobuz+ 4228 0.0 0.1 38524 3736 pts/0 R+ 16:56 0:00 | \_ ps axuf
root 1633 0.0 0.3 105692 7052 ? Ss 16:48 0:00 \_ sshd: azyobuzin [priv]
azyobuz+ 1706 0.0 0.3 108356 6240 ? S 16:48 0:00 \_ sshd: azyobuzin@pts/1
azyobuz+ 1707 0.0 0.2 21460 5064 pts/1 Ss+ 16:48 0:00 \_ -bash
root 1250 0.0 0.3 288876 6528 ? Ssl 16:47 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 1324 0.0 0.0 14888 1912 tty1 Ss+ 16:47 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
azyobuz+ 1508 0.0 0.3 76632 6732 ? Ss 16:48 0:00 /lib/systemd/systemd --user
azyobuz+ 1517 0.0 0.1 111736 2416 ? S 16:48 0:00 \_ (sd-pam)
root 2064 1.3 1.4 137692 27776 ? Ssl 16:52 0:02 /snap/microk8s/412/kube-proxy --master=http://127.0.0.1:8080 --cluster-cidr=10.152.
root 2079 0.1 0.1 20048 3460 ? Ss 16:52 0:00 /bin/bash /snap/microk8s/412/apiservice-kicker
root 4227 0.0 0.0 6176 792 ? S 16:56 0:00 \_ sleep 3
root 2093 7.5 3.9 1564588 76512 ? Ssl 16:52 0:16 /snap/microk8s/412/kubelet --kubeconfig=/snap/microk8s/412/configs/kubelet.config -
root 2102 13.9 16.2 446868 314316 ? Ssl 16:52 0:31 /snap/microk8s/412/kube-apiserver --insecure-bind-address=0.0.0.0 --cert-dir=/var/s
root 2117 3.7 1.7 10534472 34256 ? Ssl 16:52 0:08 /snap/microk8s/412/etcd --data-dir=/var/snap/microk8s/common/var/run/etcd --adverti
root 2135 15.9 5.1 205244 98488 ? Ssl 16:52 0:35 /snap/microk8s/412/kube-controller-manager --master=http://127.0.0.1:8080 --service
root 2166 2.1 3.7 563180 72560 ? Ssl 16:52 0:04 /snap/microk8s/412/usr/bin/dockerd --add-runtime nvidia=/snap/microk8s/412/usr/bin/
root 2572 0.7 1.7 510640 34536 ? Ssl 16:52 0:01 \_ docker-containerd --config /var/snap/microk8s/common/var/run/docker/containerd/
root 2177 6.3 1.6 140100 32404 ? Ssl 16:52 0:14 /snap/microk8s/412/kube-scheduler --master=http://127.0.0.1:8080
azyobuzin@k8stest:~$
azyobuzin@k8stest:~$ time microk8s.enable dns ingress
Enabling DNS
Applying manifest
service/kube-dns created
serviceaccount/kube-dns created
configmap/kube-dns created
deployment.extensions/kube-dns created
Restarting kubelet
DNS is enabled
Enabling Ingress
deployment.extensions/default-http-backend created
service/default-http-backend created
serviceaccount/nginx-ingress-microk8s-serviceaccount created
configmap/nginx-load-balancer-microk8s-conf created
daemonset.apps/nginx-ingress-microk8s-controller created
Ingress is enabled
real 0m14.729s
user 0m0.485s
sys 0m0.281s
azyobuzin@k8stest:~$ microk8s.kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default default-http-backend-855bc7bc45-vbxdb 0/1 ContainerCreating 0 23s
default nginx-ingress-microk8s-controller-spjnz 0/1 ContainerCreating 0 22s
kube-system kube-dns-6ccd496668-czsrg 0/3 ContainerCreating 0 29s
azyobuzin@k8stest:~$ microk8s.kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default default-http-backend-855bc7bc45-vbxdb 1/1 Running 0 64s
default nginx-ingress-microk8s-controller-spjnz 1/1 Running 0 63s
kube-system kube-dns-6ccd496668-czsrg 0/3 ContainerCreating 0 70s
azyobuzin@k8stest:~$ microk8s.kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default default-http-backend-855bc7bc45-vbxdb 1/1 Running 0 90s
default nginx-ingress-microk8s-controller-spjnz 1/1 Running 0 89s
kube-system kube-dns-6ccd496668-czsrg 3/3 Running 0 96s
azyobuzin@k8stest:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 933964 0 933964 0% /dev
tmpfs 192920 864 192056 1% /run
/dev/sda2 32378672 4777908 25932976 16% /
tmpfs 964584 0 964584 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 964584 0 964584 0% /sys/fs/cgroup
/dev/loop0 88704 88704 0 100% /snap/core/4486
/dev/sda1 523248 6152 517096 2% /boot/efi
tmpfs 192916 0 192916 0% /run/user/1000
/dev/loop1 224384 224384 0 100% /snap/microk8s/412
azyobuzin@k8stest:~$ free
total used free shared buff/cache available
Mem: 1929172 867216 81304 976 980652 887852
Swap: 1793020 1804 1791216
azyobuzin@k8stest:~$ ps axuf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 16:47 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:0]
root 4 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/0:0H]
root 5 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:0]
root 6 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [mm_percpu_wq]
root 7 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/0]
root 8 0.0 0.0 0 0 ? I 16:47 0:00 \_ [rcu_sched]
root 9 0.0 0.0 0 0 ? I 16:47 0:00 \_ [rcu_bh]
root 10 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/0]
root 11 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/0]
root 12 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/0]
root 13 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/1]
root 14 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/1]
root 15 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/1]
root 16 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/1]
root 18 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/1:0H]
root 19 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/2]
root 20 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/2]
root 21 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/2]
root 22 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/2]
root 24 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/2:0H]
root 25 0.0 0.0 0 0 ? S 16:47 0:00 \_ [cpuhp/3]
root 26 0.0 0.0 0 0 ? S 16:47 0:00 \_ [watchdog/3]
root 27 0.0 0.0 0 0 ? S 16:47 0:00 \_ [migration/3]
root 28 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ksoftirqd/3]
root 30 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/3:0H]
root 31 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kdevtmpfs]
root 32 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [netns]
root 33 0.0 0.0 0 0 ? S 16:47 0:00 \_ [rcu_tasks_kthre]
root 34 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kauditd]
root 35 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/0:1]
root 37 0.0 0.0 0 0 ? S 16:47 0:00 \_ [khungtaskd]
root 38 0.0 0.0 0 0 ? S 16:47 0:00 \_ [oom_reaper]
root 39 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [writeback]
root 40 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kcompactd0]
root 41 0.0 0.0 0 0 ? SN 16:47 0:00 \_ [ksmd]
root 42 0.0 0.0 0 0 ? SN 16:47 0:00 \_ [khugepaged]
root 43 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [crypto]
root 44 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kintegrityd]
root 45 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kblockd]
root 46 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ata_sff]
root 47 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [md]
root 48 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [edac-poller]
root 49 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [devfreq_wq]
root 50 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [watchdogd]
root 53 0.0 0.0 0 0 ? S 16:47 0:00 \_ [kswapd0]
root 54 0.0 0.0 0 0 ? S 16:47 0:00 \_ [ecryptfs-kthrea]
root 97 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kthrotld]
root 98 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [acpi_thermal_pm]
root 102 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:1]
root 103 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ipv6_addrconf]
root 112 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kstrp]
root 129 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [charger_manager]
root 176 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_vmbus_con]
root 179 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_pri_chan]
root 183 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [hv_sub_chan]
root 222 0.0 0.0 0 0 ? S 16:47 0:00 \_ [scsi_eh_0]
root 225 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [scsi_tmf_0]
root 226 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [storvsc_error_w]
root 227 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:2]
root 228 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:3]
root 231 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/1:1H]
root 234 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/3:1H]
root 235 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/u480:4]
root 306 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [raid5wq]
root 353 0.0 0.0 0 0 ? S 16:47 0:00 \_ [jbd2/sda2-8]
root 354 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ext4-rsv-conver]
root 401 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/2:1H]
root 427 0.0 0.0 0 0 ? I 16:47 0:00 \_ [kworker/1:2]
root 428 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [iscsi_eh]
root 429 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib-comp-wq]
root 430 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib_mcast]
root 431 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [ib_nl_sa_wq]
root 435 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [rdma_cm]
root 440 0.0 0.0 0 0 ? I< 16:47 0:00 \_ [kworker/0:1H]
root 486 0.0 0.0 0 0 ? S< 16:47 0:00 \_ [loop0]
root 491 0.0 0.0 0 0 ? S 16:47 0:00 \_ [hv_balloon]
root 1827 0.1 0.0 0 0 ? S< 16:52 0:00 \_ [loop1]
root 1828 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:3]
root 1837 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/2:5]
root 2036 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:4]
root 2037 0.0 0.0 0 0 ? I 16:52 0:00 \_ [kworker/3:5]
root 4630 0.1 0.0 0 0 ? I 16:57 0:00 \_ [kworker/u480:1]
root 4752 0.0 0.0 0 0 ? I 16:57 0:00 \_ [kworker/1:0]
root 5106 0.0 0.0 0 0 ? I 16:57 0:00 \_ [kworker/0:2]
root 1 0.4 0.4 78012 8752 ? Ss 16:47 0:03 /sbin/init
root 421 0.1 0.9 103084 19276 ? S<s 16:47 0:00 /lib/systemd/systemd-journald
root 450 0.1 0.2 46660 5256 ? Ss 16:47 0:01 /lib/systemd/systemd-udevd
root 455 0.0 0.0 97708 1828 ? Ss 16:47 0:00 /sbin/lvmetad -f
systemd+ 677 0.0 0.1 143976 3064 ? Ssl 16:47 0:00 /lib/systemd/systemd-timesyncd
systemd+ 841 0.0 0.2 80148 5736 ? Ss 16:47 0:00 /lib/systemd/systemd-networkd
systemd+ 869 0.0 0.2 70616 4944 ? Ss 16:47 0:00 /lib/systemd/systemd-resolved
syslog 956 0.0 0.2 269332 4236 ? Ssl 16:47 0:00 /usr/sbin/rsyslogd -n
root 977 0.0 0.7 169080 13556 ? Ssl 16:47 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 992 0.0 0.3 286248 6488 ? Ssl 16:47 0:00 /usr/lib/accountsservice/accounts-daemon
root 998 0.0 0.0 161076 1576 ? Ssl 16:47 0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root 1032 0.0 0.1 110408 2028 ? Ssl 16:47 0:00 /usr/sbin/irqbalance --foreground
root 1050 0.0 0.1 30028 2884 ? Ss 16:47 0:00 /usr/sbin/cron -f
root 1063 0.0 0.2 70552 5728 ? Ss 16:47 0:00 /lib/systemd/systemd-logind
avahi 1103 0.0 0.1 47204 3196 ? Ss 16:47 0:00 avahi-daemon: running [k8stest.local]
avahi 1120 0.0 0.0 47076 340 ? S 16:47 0:00 \_ avahi-daemon: chroot helper
daemon 1137 0.0 0.1 28332 2116 ? Ss 16:47 0:00 /usr/sbin/atd -f
message+ 1143 0.0 0.2 50156 4068 ? Ss 16:47 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-act
root 1188 0.0 0.7 185912 14784 ? Ssl 16:47 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-
root 1199 2.1 1.3 1225164 25468 ? Ssl 16:47 0:14 /usr/lib/snapd/snapd
root 1218 0.0 0.2 72296 5240 ? Ss 16:47 0:00 /usr/sbin/sshd -D
root 1500 0.0 0.3 105692 6800 ? Ss 16:48 0:00 \_ sshd: azyobuzin [priv]
azyobuz+ 1625 0.0 0.3 108356 6004 ? S 16:48 0:00 | \_ sshd: azyobuzin@pts/0
azyobuz+ 1626 0.0 0.2 21460 4484 pts/0 Ss 16:48 0:00 | \_ -bash
azyobuz+ 6737 0.0 0.2 38524 3864 pts/0 R+ 16:59 0:00 | \_ ps axuf
root 1633 0.0 0.3 105692 6772 ? Ss 16:48 0:00 \_ sshd: azyobuzin [priv]
azyobuz+ 1706 0.0 0.3 108356 5960 ? S 16:48 0:00 \_ sshd: azyobuzin@pts/1
azyobuz+ 1707 0.0 0.1 21460 3668 pts/1 Ss+ 16:48 0:00 \_ -bash
root 1250 0.0 0.3 288876 6156 ? Ssl 16:47 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 1324 0.0 0.0 14888 1612 tty1 Ss+ 16:47 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
azyobuz+ 1508 0.0 0.3 76852 7688 ? Ss 16:48 0:00 /lib/systemd/systemd --user
azyobuz+ 1517 0.0 0.1 111736 2220 ? S 16:48 0:00 \_ (sd-pam)
root 2064 1.0 1.4 137692 28012 ? Ssl 16:52 0:04 /snap/microk8s/412/kube-proxy --master=http://127.0.0.1:8080 --cluster-cidr=10.152.
root 2079 0.1 0.1 20048 2932 ? Ss 16:52 0:00 /bin/bash /snap/microk8s/412/apiservice-kicker
root 6736 0.0 0.0 6176 764 ? S 16:59 0:00 \_ sleep 3
root 2102 11.8 16.3 447124 315668 ? Ssl 16:52 0:45 /snap/microk8s/412/kube-apiserver --insecure-bind-address=0.0.0.0 --cert-dir=/var/s
root 2117 3.5 1.8 10535528 35024 ? Ssl 16:52 0:13 /snap/microk8s/412/etcd --data-dir=/var/snap/microk8s/common/var/run/etcd --adverti
root 2135 14.6 5.4 205628 105000 ? Ssl 16:52 0:56 /snap/microk8s/412/kube-controller-manager --master=http://127.0.0.1:8080 --service
root 2166 6.5 4.8 1284904 93300 ? Ssl 16:52 0:25 /snap/microk8s/412/usr/bin/dockerd --add-runtime nvidia=/snap/microk8s/412/usr/bin/
root 2572 0.6 1.7 760168 33160 ? Ssl 16:52 0:02 \_ docker-containerd --config /var/snap/microk8s/common/var/run/docker/containerd/
root 4884 0.0 0.2 7504 4040 ? Sl 16:57 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
root 5122 0.0 0.0 1024 4 ? Ss 16:57 0:00 | \_ /pause
root 4887 0.0 0.1 7504 3352 ? Sl 16:57 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
root 4986 0.0 0.0 1024 4 ? Ss 16:57 0:00 | \_ /pause
root 4939 0.0 0.2 8912 4308 ? Sl 16:57 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
root 4964 0.0 0.0 1024 4 ? Ss 16:57 0:00 | \_ /pause
root 5477 0.0 0.1 7504 3568 ? Sl 16:57 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
root 5509 0.0 0.0 4052 648 ? Ss 16:57 0:00 | \_ /usr/bin/dumb-init /nginx-ingress-controller --default-backend-service=
root 5550 1.6 1.2 38172 24160 ? Ssl 16:57 0:01 | \_ /nginx-ingress-controller --default-backend-service=default/default
root 5605 0.1 1.8 139428 36436 ? S 16:57 0:00 | \_ nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nobody 6041 0.0 1.9 401764 38184 ? Sl 16:58 0:00 | \_ nginx: worker process
nobody 6042 0.0 1.9 401764 38184 ? Sl 16:58 0:00 | \_ nginx: worker process
nobody 6043 0.0 1.9 401764 38184 ? Sl 16:58 0:00 | \_ nginx: worker process
nobody 6140 0.0 1.9 401764 38184 ? Sl 16:58 0:00 | \_ nginx: worker process
root 5785 0.0 0.2 7568 4316 ? Sl 16:57 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
root 5815 0.3 1.1 39460 22064 ? Ssl 16:57 0:00 | \_ /kube-dns --domain=cluster.local. --dns-port=10053 --config-dir=/kube-d
root 5890 0.0 0.1 7504 3528 ? Sl 16:58 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
nobody 5921 0.0 0.2 8292 4656 ? Ssl 16:58 0:00 | \_ /server
root 6207 0.0 0.1 7440 3508 ? Sl 16:58 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
root 6228 0.1 1.0 32568 19636 ? Ssl 16:58 0:00 | \_ /dnsmasq-nanny -v=2 -logtostderr -configDir=/etc/k8s/dns/dnsmasq-nanny
root 6277 0.0 0.0 1172 824 ? S 16:58 0:00 | \_ /usr/sbin/dnsmasq -k --cache-size=1000 --no-negcache --log-facility
root 6378 0.0 0.2 7696 4248 ? Sl 16:58 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/snap/microk8s/common/v
nobody 6398 0.3 1.0 33416 19796 ? Ssl 16:58 0:00 \_ /sidecar --v=2 --logtostderr --probe=kubedns,127.0.0.1:10053,kubernetes
root 2177 5.7 1.7 140100 34036 ? Ssl 16:52 0:22 /snap/microk8s/412/kube-scheduler --master=http://127.0.0.1:8080
root 4631 7.4 4.3 1638576 83612 ? Ssl 16:57 0:08 /snap/microk8s/412/kubelet --kubeconfig=/snap/microk8s/412/configs/kubelet.config -
azyobuzin@k8stest:~$
microk8s.stop
sudo snap disable microk8s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment