higress-plugins-deployment.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: {{ .Release.Name }}-higress-plugins
  5. namespace: {{ .Release.Namespace }}
  6. labels:
  7. {{ include "chart_labels" . | indent 4 }}
  8. spec:
  9. replicas: 1
  10. selector:
  11. matchLabels:
  12. app: {{ .Release.Name }}-higress-plugins
  13. template:
  14. metadata:
  15. labels:
  16. app: {{ .Release.Name }}-higress-plugins
  17. {{ include "chart_labels" . | indent 8 }}
  18. spec:
  19. containers:
  20. - name: higress-plugins
  21. image: {{ include "higressPlugins.image" . }}
  22. imagePullPolicy: {{ .Values.higressPlugins.image.pullPolicy }}
  23. ports:
  24. - name: http
  25. containerPort: 8080
  26. protocol: TCP
  27. resources:
  28. requests:
  29. cpu: 50m
  30. memory: 64Mi
  31. limits:
  32. cpu: 200m
  33. memory: 128Mi
  34. readinessProbe:
  35. httpGet:
  36. path: /
  37. port: 8080
  38. initialDelaySeconds: 5
  39. periodSeconds: 10