Can we restart the api-server manually on a local minikube installation?

人盡茶涼 提交于 2020-05-29 06:42:05

问题


I have a local minikube installation. I want to change the authentication mechanism for the api-server and restart and test it out. All the documentation I have read lacks this information. Has anybody got experience in it.

Thanks in Advance.


回答1:


Yes you can. The kubernetes API Server, Controller manager, and scheduler are all run as static manifests in minikube.

So, in fact, in your example: Any change to the manifest will automatically lead to them being restarted instantly.

In order to make the modification, just use vi inside of /etc/kubernetes/manifests on whatever file you want to edit, and you'll see that the apiserver instantly restarts.

To look at the logs of the restart, you can look in /var/log/containers/ where each of the individual minikube services run.



来源:https://stackoverflow.com/questions/50016081/can-we-restart-the-api-server-manually-on-a-local-minikube-installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!