Cập nhật lần cuối: 2024/08/06 11:50:20
Để truy cập cụm Cluster thực hiện các bước sau:
1. Hướng dẫn cài đặt kubectl trên Server Bastion.
Có thể tham khảo theo link sau: https://kubernetes.io/vi/docs/tasks/tools/install-kubectl/
curl -LO https://dl.k8s.io/release/`curl -LS https://dl.k8s.io/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version
2. Lấy file config trên Portal v2
3. Đưa file config vào Server Bastion
nano config
mkdir /root/.kube
cp config .kube/
kubectl get node
Điều khoản & Chính sách