values-prod.yaml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. # Production values for podinfo.
  2. # Includes Redis deployment and memory limits.
  3. replicaCount: 1
  4. logLevel: info
  5. backend: #http://backend-podinfo:9898/echo
  6. backends: []
  7. image:
  8. repository: ghcr.io/stefanprodan/podinfo
  9. tag: 6.14.0
  10. pullPolicy: IfNotPresent
  11. ui:
  12. color: "#34577c"
  13. message: ""
  14. logo: ""
  15. # failure conditions
  16. faults:
  17. delay: false
  18. error: false
  19. unhealthy: false
  20. unready: false
  21. testFail: false
  22. testTimeout: false
  23. # Kubernetes Service settings
  24. service:
  25. enabled: true
  26. annotations: {}
  27. additionalLabels: { }
  28. type: ClusterIP
  29. metricsPort: 9797
  30. httpPort: 9898
  31. externalPort: 9898
  32. grpcPort: 9999
  33. grpcService: podinfo
  34. nodePort: 31198
  35. trafficDistribution: ""
  36. externalTrafficPolicy: ""
  37. # enable h2c protocol (non-TLS version of HTTP/2)
  38. h2c:
  39. enabled: false
  40. # config file settings
  41. config:
  42. # config file path
  43. path: ""
  44. # config file name
  45. name: ""
  46. # Additional command line arguments to pass to podinfo container
  47. extraArgs: []
  48. # enable tls on the podinfo service
  49. tls:
  50. enabled: false
  51. # the name of the secret used to mount the certificate key pair
  52. secretName:
  53. # the path where the certificate key pair will be mounted
  54. certPath: /data/cert
  55. # the port used to host the tls endpoint on the service
  56. port: 9899
  57. # the port used to bind the tls port to the host
  58. # NOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing
  59. # in local clusters such as kind without port forwarding
  60. hostPort:
  61. # create a certificate manager certificate (cert-manager required)
  62. certificate:
  63. create: false
  64. # the issuer used to issue the certificate
  65. issuerRef:
  66. kind: ClusterIssuer
  67. name: self-signed
  68. # the hostname / subject alternative names for the certificate
  69. dnsNames:
  70. - podinfo
  71. # metrics-server add-on required
  72. hpa:
  73. enabled: true
  74. maxReplicas: 5
  75. # average total CPU usage per pod (1-100)
  76. cpu: 99
  77. # average memory usage per pod (100Mi-1Gi)
  78. memory:
  79. # average http requests per second per pod (k8s-prometheus-adapter)
  80. requests:
  81. # Redis address in the format tcp://<host>:<port>
  82. cache: ""
  83. # Redis deployment
  84. redis:
  85. enabled: true
  86. repository: redis
  87. tag: 8.8.0
  88. serviceAccount:
  89. # Specifies whether a service account should be created
  90. enabled: false
  91. # The name of the service account to use.
  92. # If not set and create is true, a name is generated using the fullname template
  93. name:
  94. # List of image pull secrets if pulling from private registries
  95. imagePullSecrets: []
  96. # set container security context
  97. securityContext: {}
  98. # set pod security context
  99. podSecurityContext: {}
  100. # -- Expose the service via Kubernetes Ingress
  101. # Requires an Ingress controller
  102. # Docs https://kubernetes.io/docs/concepts/services-networking/ingress/
  103. ingress:
  104. enabled: false
  105. className: ""
  106. additionalLabels: {}
  107. annotations: {}
  108. # kubernetes.io/ingress.class: nginx
  109. # kubernetes.io/tls-acme: "true"
  110. hosts:
  111. - host: podinfo.local
  112. paths:
  113. - path: /
  114. pathType: ImplementationSpecific
  115. tls: []
  116. # - secretName: chart-example-tls
  117. # hosts:
  118. # - chart-example.local
  119. # -- Expose the service via Gateway HTTPRoute
  120. # Requires a Gateway controller
  121. # Docs https://gateway-api.sigs.k8s.io/guides/
  122. httpRoute:
  123. # HTTPRoute enabled.
  124. enabled: false
  125. # Add additional labels to the HTTPRoute.
  126. additionalLabels: {}
  127. # HTTPRoute annotations.
  128. annotations: {}
  129. # Which Gateways this Route is attached to.
  130. parentRefs:
  131. - name: gateway
  132. sectionName: http
  133. # namespace: default
  134. # Hostnames matching HTTP header.
  135. hostnames:
  136. - podinfo.local
  137. # List of rules and filters applied.
  138. rules:
  139. - matches:
  140. - path:
  141. type: PathPrefix
  142. value: /
  143. # create Prometheus Operator monitor
  144. serviceMonitor:
  145. enabled: false
  146. interval: 15s
  147. additionalLabels: {}
  148. resources:
  149. limits:
  150. memory: 256Mi
  151. requests:
  152. cpu: 100m
  153. memory: 64Mi
  154. # Extra environment variables for the podinfo container
  155. extraEnvs: []
  156. # Example on how to configure extraEnvs
  157. # - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
  158. # value: "http://otel:4317"
  159. # - name: MULTIPLE_VALUES
  160. # value: TEST
  161. nodeSelector: {}
  162. tolerations: []
  163. affinity: {}
  164. podAnnotations: {}
  165. # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  166. probes:
  167. readiness:
  168. initialDelaySeconds: 1
  169. timeoutSeconds: 5
  170. failureThreshold: 3
  171. successThreshold: 1
  172. periodSeconds: 10
  173. liveness:
  174. initialDelaySeconds: 1
  175. timeoutSeconds: 5
  176. failureThreshold: 3
  177. successThreshold: 1
  178. periodSeconds: 10
  179. startup:
  180. enable: false
  181. initialDelaySeconds: 10
  182. timeoutSeconds: 5
  183. failureThreshold: 20
  184. successThreshold: 1
  185. periodSeconds: 10