Configure Host access to CKA Cluster
How to get access from the host to the CKA Cluster
Categories:
Ansible copies the KUBECONFIG
file from master node the project directory on your host where you setup the C2 Platform development environment.
export KUBECONFIG=tmp/c2d-cka-cp/dot-kube-config
To verify it is working
k get nodes
Show me
[ostraaten@io3 ckad-study-guide (⎈|kubernetes-admin@kubernetes:N/A)]$ k get nodes
NAME STATUS ROLES AGE VERSION
c2d-cka-cp Ready control-plane 25m v1.28.15
c2d-cka-worker1 Ready worker 11m v1.28.15
c2d-cka-worker2 Ready worker 8m14s v1.28.15
c2d-cka-worker3 Ready worker 4m34s v1.28.15
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified April 3, 2025: cka content C2-780 C2-781 (b5f908b)