Добавил примеры daemonset

This commit is contained in:
B4D_US3R 2026-03-19 12:07:56 +05:00
parent c1ce0dcb2d
commit d961c9ce6e
3 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,23 @@
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: nginx-daemonset
labels:
app: &app nginx
spec:
selector:
matchLabels:
name: nginx-daemonset
template:
metadata:
labels:
name: nginx-daemonset
spec:
nodeSelector:
role: nginx
containers:
- image: nginx:1.28.2-alpine
name: nginx-daemonset
ports:
- containerPort: 80