Update nginx version and K8s dashboard date

This commit is contained in:
yeasy
2026-04-22 12:24:30 -07:00
parent ac92e6c536
commit 69fc2234d0
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -32,6 +32,8 @@ Kubernetes 完美解决了这些问题。
### 13.1.3 核心概念
Kubernetes 的核心概念包括 PodNodeDeploymentService Namespace 这些是学习和使用 Kubernetes 的基础
#### Pod豆荚
Kubernetes 的最小调度单位一个 Pod 可以包含一个或多个紧密协作的容器 (共享网络和存储)就像豌豆荚里的豌豆一样
+2 -2
View File
@@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.27
image: nginx:1.30
ports:
- containerPort: 80
```
@@ -73,7 +73,7 @@ kubectl get svc nginx-service
### 13.5.4 步骤 3模拟滚动更新
修改 `nginx-deployment.yaml`将镜像版本改为 `nginx:1.27-alpine`
修改 `nginx-deployment.yaml`将镜像版本改为 `nginx:1.30-alpine`
```bash
kubectl apply -f nginx-deployment.yaml