Where is kube-apiserver located

后端 未结 3 1306
深忆病人
深忆病人 2020-12-05 05:08

Base question: When I try to use kube-apiserver on my master node, I get command not found error. How I can install/configure kube-apiserver? Any link to example will help.<

3条回答
  •  感动是毒
    2020-12-05 05:40

    You are asking two different questions here, one about kube-apiserver configuration, one about troubleshooting your StorageClass.

    Here's an answer for your first question:

    kube-apiserver is running as a Docker container on your master node. Therefore, the binary is within the container, not on your host system. It is started by the master's kubelet from a file located at /etc/kubernetes/manifests. kubelet is watching this directory and will start any Pod defined here as "static pods".

    To configure kube-apiserver command line arguments you need to modify /etc/kubernetes/manifests/kube-apiserver.yaml on your master.

提交回复
热议问题