I have successfully configured a Kubernetes cluster using Kops.
However, I cannot find where to change the auto-generated admin password - how can I do this?
At the moment there is no easy way to do that since there is no way via the Kops API to create a secret of type "Secret" (quite confusing I know). The only workaround is to change the credentials, in this case your password directly on your s3 configuration as explained here:
and force a rolling-update of your cluster by changing its configuration (I just updated to the new version of k8s for example) or simply run kops rolling-update cluster --yes --force
Apparently this will be addressed soon by one of the future releases.
来源:https://stackoverflow.com/questions/46794805/kubernetes-kops-change-basic-auth-password