deployment.yaml 554 B

12345678910111213141516171819202122232425262728
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: ob-proxy
  5. namespace: observe
  6. labels:
  7. app: ob-proxy
  8. spec:
  9. replicas: 1
  10. selector:
  11. matchLabels:
  12. app: ob-proxy
  13. template:
  14. metadata:
  15. labels:
  16. app: ob-proxy
  17. spec:
  18. containers:
  19. - name: nginx
  20. image: reg.cestong.com.cn/cecf/ob-proxy:1.24.18
  21. imagePullPolicy: Always
  22. resources:
  23. limits:
  24. cpu: "4"
  25. requests:
  26. cpu: "2048m"
  27. ports:
  28. - containerPort: 80