...
5.1 Modify kube config of federation cluster
Follow steps at 5. Deploying Federation Control Plane for below steps for federation master node. change the default kubernetes config values to make them unique.
As we intend to use federation cluster as the "host cluster", we added "host" to kube config.
The final result should look like something belowinitial config view on federation master node:
Code Block |
---|
ubuntu@kubefed-1:~$ kubectl config view apiVersion: v1 clusters: - cluster: certificate-authority-data: REDACTED server: https://10.147.113.131:6443 name: kubernetes-host contexts: - context: cluster: kubernetes-host user: kubernetes-adminhost name: kubernetes-admin-host current-context: kubernetes-admin-host kind: Config preferences: {} users: - name: kubernetes-adminhost user: client-certificate-data: REDACTED client-key-data: REDACTED ubuntu@kubefed-1:~$ |
...