deployment.yaml 547 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.14.12
  19. imagePullPolicy: IfNotPresent
  20. resources:
  21. limits:
  22. cpu: "100m"
  23. requests:
  24. cpu: "50m"
  25. ports:
  26. - containerPort: 80