问题
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