Microk8s 将 kubelet.service 放在哪里?
Where does Microk8s keep kubelet.service?
我正尝试 enable a FlexVolume driver 在 Ubuntu 上的 Microk8s 上。
为此,我似乎必须编辑 kubelet.service 文件。这应该存储在 /etc/systemd/system/kubelet.service 中,但它不存在于我的安装中。
Microk8s 存储在哪里?它肯定有 kubelet 运行 某处吗?
microk8s kubelet
服务存在于以下位置:
/etc/systemd/system/snap.microk8s.daemon-kubelet.service
您始终可以使用服务守护程序进行检查:
systemctl status snap.microk8s.daemon-kubelet
更多信息,要检查microk8s的运行是什么,您可以使用:
velotio@velotio-ThinkPad-E470:~$ microk8s.inspect
Inspecting services
Service snap.microk8s.daemon-docker is running
Service snap.microk8s.daemon-apiserver is running
Service snap.microk8s.daemon-proxy is running
Service snap.microk8s.daemon-kubelet is running
Service snap.microk8s.daemon-scheduler is running
Service snap.microk8s.daemon-controller-manager is running
Service snap.microk8s.daemon-etcd is running
Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system info
Copy network configuration to the final report tarball
Copy processes list to the final report tarball
Copy snap list to the final report tarball
Inspect kubernetes cluster
WARNING: IPtables FORWARD policy is DROP. Consider enabling traffic forwarding with: sudo iptables -P FORWARD ACCEPT
Building the report tarball
Report tarball is at /var/snap/microk8s/354/inspection-report-20190112_162506.tar.gz
我正尝试 enable a FlexVolume driver 在 Ubuntu 上的 Microk8s 上。
为此,我似乎必须编辑 kubelet.service 文件。这应该存储在 /etc/systemd/system/kubelet.service 中,但它不存在于我的安装中。
Microk8s 存储在哪里?它肯定有 kubelet 运行 某处吗?
microk8s kubelet
服务存在于以下位置:
/etc/systemd/system/snap.microk8s.daemon-kubelet.service
您始终可以使用服务守护程序进行检查:
systemctl status snap.microk8s.daemon-kubelet
更多信息,要检查microk8s的运行是什么,您可以使用:
velotio@velotio-ThinkPad-E470:~$ microk8s.inspect
Inspecting services
Service snap.microk8s.daemon-docker is running
Service snap.microk8s.daemon-apiserver is running
Service snap.microk8s.daemon-proxy is running
Service snap.microk8s.daemon-kubelet is running
Service snap.microk8s.daemon-scheduler is running
Service snap.microk8s.daemon-controller-manager is running
Service snap.microk8s.daemon-etcd is running
Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system info
Copy network configuration to the final report tarball
Copy processes list to the final report tarball
Copy snap list to the final report tarball
Inspect kubernetes cluster
WARNING: IPtables FORWARD policy is DROP. Consider enabling traffic forwarding with: sudo iptables -P FORWARD ACCEPT
Building the report tarball
Report tarball is at /var/snap/microk8s/354/inspection-report-20190112_162506.tar.gz