学习k8s

This commit is contained in:
2025-12-25 00:05:18 +08:00
parent 853333d020
commit dda2c223d7
8 changed files with 113 additions and 7 deletions

11
k8s/readme.md Normal file
View File

@@ -0,0 +1,11 @@
# 设置默认 context
```sh
kubectl config use-context <context-name>
kubectl config use-context dev-context
```
# 查看节点信息
```sh
kubectl get nodes -o wide