The chapter 'Configuring kubectl for Remote Access' is updated.
parent
6289b501ed
commit
b71ff1278d
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue