values.yaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. # Default values for podinfo.
  2. replicaCount: 1
  3. logLevel: info
  4. host: #0.0.0.0
  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. pullSecrets: []
  12. prefix: /
  13. ui:
  14. color: "#34577c"
  15. message: ""
  16. logo: ""
  17. # failure conditions
  18. faults:
  19. delay: false
  20. error: false
  21. unhealthy: false
  22. unready: false
  23. testFail: false
  24. testTimeout: false
  25. # Kubernetes Service settings
  26. service:
  27. enabled: true
  28. annotations: {}
  29. additionalLabels: { }
  30. type: ClusterIP
  31. metricsPort: 9797
  32. httpPort: 9898
  33. externalPort: 9898
  34. grpcPort: 9999
  35. grpcService: podinfo
  36. nodePort: 31198
  37. # the port used to bind the http port to the host
  38. # NOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing
  39. # in local clusters such as kind without port forwarding
  40. hostPort:
  41. # Stable from Kubernetes v1.33+ with a value of PreferClose. Additional values are PreferSameZone and PreferSameNode from v1.34+. Empty string means it's disabled.
  42. trafficDistribution: ""
  43. externalTrafficPolicy: ""
  44. # enable h2c protocol (non-TLS version of HTTP/2)
  45. h2c:
  46. enabled: false
  47. # config file settings
  48. config:
  49. # config file path
  50. path: ""
  51. # config file name
  52. name: ""
  53. # Additional command line arguments to pass to podinfo container
  54. extraArgs: []
  55. # Extra environment variables for the podinfo container
  56. extraEnvs: []
  57. # Example on how to configure extraEnvs
  58. # - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
  59. # value: "http://otel:4317"
  60. # - name: MULTIPLE_VALUES
  61. # value: TEST
  62. # enable tls on the podinfo service
  63. tls:
  64. enabled: false
  65. # the name of the secret used to mount the certificate key pair
  66. secretName:
  67. # the path where the certificate key pair will be mounted
  68. certPath: /data/cert
  69. # the port used to host the tls endpoint on the service
  70. port: 9899
  71. # the port used to bind the tls port to the host
  72. # NOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing
  73. # in local clusters such as kind without port forwarding
  74. hostPort:
  75. # create a certificate manager certificate (cert-manager required)
  76. certificate:
  77. create: false
  78. # the issuer used to issue the certificate
  79. issuerRef:
  80. kind: ClusterIssuer
  81. name: self-signed
  82. # the hostname / subject alternative names for the certificate
  83. dnsNames:
  84. - podinfo
  85. # Helm hooks (for testing purposes)
  86. hooks:
  87. preInstall:
  88. job:
  89. enabled: false
  90. hookDeletePolicy: hook-succeeded,hook-failed
  91. ttlSecondsAfterFinished:
  92. sleepSeconds:
  93. exitCode: 0
  94. postInstall:
  95. job:
  96. enabled: false
  97. hookDeletePolicy: hook-succeeded,hook-failed
  98. ttlSecondsAfterFinished:
  99. sleepSeconds:
  100. exitCode: 0
  101. preDelete:
  102. job:
  103. enabled: false
  104. hookDeletePolicy: hook-succeeded,hook-failed
  105. ttlSecondsAfterFinished:
  106. sleepSeconds:
  107. exitCode: 0
  108. postDelete:
  109. job:
  110. enabled: false
  111. hookDeletePolicy: hook-succeeded,hook-failed
  112. ttlSecondsAfterFinished:
  113. sleepSeconds:
  114. exitCode: 0
  115. preUpgrade:
  116. job:
  117. enabled: false
  118. hookDeletePolicy: hook-succeeded,hook-failed
  119. ttlSecondsAfterFinished:
  120. sleepSeconds:
  121. exitCode: 0
  122. postUpgrade:
  123. job:
  124. enabled: false
  125. hookDeletePolicy: hook-succeeded,hook-failed
  126. ttlSecondsAfterFinished:
  127. sleepSeconds:
  128. exitCode: 0
  129. preRollback:
  130. job:
  131. enabled: false
  132. hookDeletePolicy: hook-succeeded,hook-failed
  133. ttlSecondsAfterFinished:
  134. sleepSeconds:
  135. exitCode: 0
  136. postRollback:
  137. job:
  138. enabled: false
  139. hookDeletePolicy: hook-succeeded,hook-failed
  140. ttlSecondsAfterFinished:
  141. sleepSeconds:
  142. exitCode: 0
  143. # metrics-server add-on required
  144. hpa:
  145. enabled: false
  146. maxReplicas: 10
  147. # average total CPU usage per pod (1-100)
  148. cpu:
  149. # average memory usage per pod (100Mi-1Gi)
  150. memory:
  151. # average http requests per second per pod (k8s-prometheus-adapter)
  152. requests:
  153. # Redis address in the format tcp://<host>:<port>
  154. cache: ""
  155. # Redis deployment
  156. redis:
  157. enabled: false
  158. repository: docker.io/redis
  159. tag: 8.8.0
  160. imagePullSecrets: []
  161. serviceAccount:
  162. # Specifies whether a service account should be created
  163. enabled: false
  164. # The name of the service account to use.
  165. # If not set and create is true, a name is generated using the fullname template
  166. name:
  167. # List of image pull secrets if pulling from private registries
  168. imagePullSecrets: []
  169. # set container security context
  170. securityContext: {}
  171. # set pod security context
  172. podSecurityContext: {}
  173. # -- Expose the service via Kubernetes Ingress
  174. # Requires an Ingress controller
  175. # Docs https://kubernetes.io/docs/concepts/services-networking/ingress/
  176. ingress:
  177. enabled: false
  178. className: ""
  179. additionalLabels: {}
  180. annotations: {}
  181. # kubernetes.io/ingress.class: nginx
  182. # kubernetes.io/tls-acme: "true"
  183. hosts:
  184. - host: podinfo.local
  185. paths:
  186. - path: /
  187. pathType: ImplementationSpecific
  188. tls: []
  189. # - secretName: chart-example-tls
  190. # hosts:
  191. # - chart-example.local
  192. # -- Expose the service via Gateway HTTPRoute
  193. # Requires a Gateway controller
  194. # Docs https://gateway-api.sigs.k8s.io/guides/
  195. httpRoute:
  196. # HTTPRoute enabled.
  197. enabled: false
  198. # Add additional labels to the HTTPRoute.
  199. additionalLabels: {}
  200. # HTTPRoute annotations.
  201. annotations: {}
  202. # Which Gateways this Route is attached to.
  203. parentRefs:
  204. - name: gateway
  205. sectionName: http
  206. # namespace: default
  207. # Hostnames matching HTTP header.
  208. hostnames:
  209. - podinfo.local
  210. # List of rules and filters applied.
  211. rules:
  212. - matches:
  213. - path:
  214. type: PathPrefix
  215. value: /
  216. # -- Expose the gRPC service via Gateway GRPCRoute
  217. # Requires a Gateway controller with GRPCRoute support
  218. # Docs https://gateway-api.sigs.k8s.io/guides/grpc-routing/
  219. grpcRoute:
  220. # GRPCRoute enabled.
  221. enabled: false
  222. # Add additional labels to the GRPCRoute.
  223. additionalLabels: {}
  224. # GRPCRoute annotations.
  225. annotations: {}
  226. # Which Gateways this Route is attached to.
  227. parentRefs:
  228. - name: gateway
  229. sectionName: http
  230. # namespace: default
  231. # Hostnames matching HTTP header.
  232. hostnames:
  233. - podinfo.local
  234. # List of rules applied.
  235. rules:
  236. - {}
  237. # create Prometheus Operator monitor
  238. serviceMonitor:
  239. enabled: false
  240. interval: 15s
  241. additionalLabels: {}
  242. resources:
  243. limits:
  244. requests:
  245. cpu: 1m
  246. memory: 16Mi
  247. nodeSelector: {}
  248. tolerations: []
  249. affinity: {}
  250. priorityClassName: ""
  251. podAnnotations: {}
  252. # https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  253. topologySpreadConstraints: []
  254. # Disruption budget will be configured only when the replicaCount is greater than 1
  255. podDisruptionBudget: {}
  256. # maxUnavailable: 1
  257. # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  258. probes:
  259. readiness:
  260. initialDelaySeconds: 1
  261. timeoutSeconds: 5
  262. failureThreshold: 3
  263. successThreshold: 1
  264. periodSeconds: 10
  265. liveness:
  266. initialDelaySeconds: 1
  267. timeoutSeconds: 5
  268. failureThreshold: 3
  269. successThreshold: 1
  270. periodSeconds: 10
  271. startup:
  272. enable: false
  273. initialDelaySeconds: 10
  274. timeoutSeconds: 5
  275. failureThreshold: 20
  276. successThreshold: 1
  277. periodSeconds: 10