Created
December 3, 2015 11:02
-
-
Save jangaraj/35f0ab52fd0f199820f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl config set-cluster default-cluster --server=https://master_ip --certificate-authority=ssl/ca.pem | |
kubectl config set-credentials default-admin --certificate-authority=ssl/ca.pem --client-key=ssl/admin-key.pem --client-certificate=ssl/admin.pem | |
kubectl config set-context default-system --cluster=default-cluster --user=default-admin | |
kubectl config use-context default-system | |
# obviously you need the CA used to bootstrap your cluster and all the certificates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment