使用KubeOperator安装k8s集群后,节点主机yaml文件路径

[root@k8s-develop-master-1 kubernetes]# cd /etc/kubernetes
[root@k8s-develop-master-1 kubernetes]# ll
total 44
-rw-------. 1 root root 5493 Jun  7 13:26 admin.conf
drwxr-xr-x. 2 root root   47 Jun  7 13:26 config
-rw-------. 1 root root 5525 Jun  7 13:26 controller-manager.conf
drwxr-xr-x. 2 root root    6 Jun  7 13:20 images
-rw-r--r--. 1 root root  363 Jun  7 13:29 ko-admin.yaml
-rw-r--r--. 1 root root 5891 Jun  7 13:25 kubeadm-config.yaml
-rw-------. 1 root root 1929 Jun  7 13:26 kubelet.conf
drwxr-xr-x. 2 root root   96 Jun  7 13:25 manifests
drwxr-xr-x. 3 root root 4096 Jun  7 13:25 pki
drwxr-xr-x. 6 root root   93 Jun  7 13:30 plugins
-rw-------. 1 root root 5469 Jun  7 13:26 scheduler.conf

比如默认安装的nginx-ingress-controller属于插件

[root@k8s-develop-master-1 kubernetes]# cd plugins/
[root@k8s-develop-master-1 plugins]# ll
total 0
drwxr-xr-x. 2 root root 31 Jun  7 13:30 dns-cache
drwxr-xr-x. 2 root root 43 Jun  7 13:29 ingress-controller
drwxr-xr-x. 2 root root 33 Jun  7 13:29 metrics-server
drwxr-xr-x. 2 root root 80 Jun  7 13:28 network-plugin
[root@k8s-develop-master-1 plugins]# cd ingress-controller/
[root@k8s-develop-master-1 ingress-controller]# ll
total 8
-rw-r--r--. 1 root root 6365 Jun  7 13:29 nginx-ingress-controller.yaml

想卸载的话进入到上述目录,直接操作yaml文件就可以了。

上一篇:oracle cdb、pdb参考


下一篇:2021-06-30 记录一次redis-cluster测试的反馈