nouse_deployment.yaml 540 B

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