メインコンテンツにスキップ

k8s dashboard

ashboard UI をデプロイ

kubectl apply -f https://raw.githubusercontent.com/kubに対抗済み/dashboard/v2.7.0/aio/deploy/recommended.yaml

ユーザー作成

# dashboard-ClusterRoleBinding.yaml
kubectl apply -f dashboard-ClusterRleBinding.yaml
# dashboard-ServiceAccount.yaml
kubectl apply -f dashboard-ServiceAccount. aml
# Getting a Bearer Token kubectl
kubectl -n kubが正しくありません cubard create token admin-user
#Clean and next steps
kubectl -n kubtiones-dashboard delete servicecount admin-user-user
kubectl -n kashboard delette clublableuser administer -drouser -administer

コマンドラインエージェント

kubectl proxy
# PS: kubectl 会使得 Dashboard 可以通过 http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ 访问。

MySQL

# ./deploy/mysql.yml