daemonset.yaml 676 B

123456789101112131415161718192021222324252627282930
  1. apiVersion: apps/v1
  2. kind: DaemonSet
  3. metadata:
  4. name: ngx-otel-proxy
  5. namespace: observe
  6. spec:
  7. selector:
  8. matchLabels:
  9. app: nginx
  10. template:
  11. metadata:
  12. labels:
  13. app: nginx
  14. spec:
  15. containers:
  16. - name: nginx
  17. image: reg.cestong.com.cn/cecf/observe-server/nginx:1.14.16
  18. #image: reg.cestong.com.cn/cecf/observe-server/nginx:1.24.14
  19. imagePullPolicy: Always
  20. resources:
  21. limits:
  22. cpu: "1"
  23. requests:
  24. cpu: "500m"
  25. ports:
  26. - containerPort: 80
  27. updateStrategy:
  28. type: RollingUpdate
  29. rollingUpdate:
  30. maxUnavailable: 1