mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
fix(content): refresh Docker and Kubernetes guidance
This commit is contained in:
@@ -62,6 +62,7 @@ Ingress 资源仍可正常使用,但建议新项目直接采用 Gateway API。
|
||||
* **PVC (Persistent Volume Claim)**:用户申请存储的声明。
|
||||
* **PV (Persistent Volume)**:实际的存储资源 (NFS,AWS EBS,Ceph 等)。
|
||||
* **StorageClass**:定义存储类,支持动态创建 PV。
|
||||
* **VolumeAttributesClass**:Kubernetes 1.34 起 GA,用于在 CSI 驱动支持 `ModifyVolume` 时动态调整卷属性,例如性能等级或服务质量参数。
|
||||
|
||||
### 13.4.4 Horizontal Pod Autoscaling
|
||||
|
||||
@@ -114,3 +115,7 @@ metadata:
|
||||
pod-security.kubernetes.io/enforce: baseline
|
||||
pod-security.kubernetes.io/warn: restricted
|
||||
```
|
||||
|
||||
### 13.4.7 Sidecar Containers
|
||||
|
||||
Kubernetes 1.33 起 Sidecar Containers 进入 GA。它们通过 `initContainers` 中带 `restartPolicy: Always` 的容器表达,既保留 init container 的启动顺序,又会在主容器生命周期内持续运行。对于旧集群或不需要启动顺序控制的场景,仍可使用普通多容器 Pod。
|
||||
|
||||
Reference in New Issue
Block a user