The chapter 'Configuring kubectl for Remote Access' is updated.

pull/443/head
Pick1a1username 2019-02-23 22:54:11 +09:00
parent 6289b501ed
commit b71ff1278d
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
In this chapter, you will generate a kubeconfig file for the `kubectl` command line utility based on the `admin` user credentials.
> Run the commands in this chapter from the same virtual machine used to generate the admin client certificates.
**All procedures in this chapter should be done in `client-1`.**
## The Admin Kubernetes Configuration File
@ -18,7 +18,7 @@ $ {
kubectl config set-cluster kubernetes-the-hard-way \
--certificate-authority=ca.pem \
--embed-certs=true \
--server=https://$KUBERNETES_LB_ADDRESS}:6443
--server=https://$KUBERNETES_LB_ADDRESS:6443
kubectl config set-credentials admin \
--client-certificate=admin.pem \