Include flag to authenticate with the kubeconfig against the apiserver
parent
ca96371e4d
commit
147daf50a9
|
@ -79,6 +79,7 @@ ExecStart=/usr/local/bin/kube-apiserver \\
|
||||||
--audit-log-maxbackup=3 \\
|
--audit-log-maxbackup=3 \\
|
||||||
--audit-log-maxsize=100 \\
|
--audit-log-maxsize=100 \\
|
||||||
--audit-log-path=/var/log/audit.log \\
|
--audit-log-path=/var/log/audit.log \\
|
||||||
|
--authentication-kubeconfig=/var/lib/kubernetes/kube-controller-manager.kubeconfig \\
|
||||||
--authorization-mode=Node,RBAC \\
|
--authorization-mode=Node,RBAC \\
|
||||||
--bind-address=0.0.0.0 \\
|
--bind-address=0.0.0.0 \\
|
||||||
--client-ca-file=/var/lib/kubernetes/ca.pem \\
|
--client-ca-file=/var/lib/kubernetes/ca.pem \\
|
||||||
|
@ -345,7 +346,6 @@ In this section you will provision an external load balancer to front the Kubern
|
||||||
|
|
||||||
> The compute instances created in this tutorial will not have permission to complete this section. **Run the following commands from the same machine used to create the compute instances**.
|
> The compute instances created in this tutorial will not have permission to complete this section. **Run the following commands from the same machine used to create the compute instances**.
|
||||||
|
|
||||||
|
|
||||||
### Provision a Network Load Balancer
|
### Provision a Network Load Balancer
|
||||||
|
|
||||||
Create the external load balancer network resources:
|
Create the external load balancer network resources:
|
||||||
|
|
Loading…
Reference in New Issue