From 5281c2d9a8e1a10bf5e3de3813d63b4b86d66e11 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Mon, 5 Oct 2020 23:34:08 +0200 Subject: [PATCH] chart: introduce prod values --- Makefile | 1 + charts/podinfo/values-prod.yaml | 98 +++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 charts/podinfo/values-prod.yaml diff --git a/Makefile b/Makefile index 1ad6bfa..3ce1525 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ version-set: current="$(VERSION)" && \ sed -i '' "s/$$current/$$next/g" pkg/version/version.go && \ sed -i '' "s/tag: $$current/tag: $$next/g" charts/podinfo/values.yaml && \ + sed -i '' "s/tag: $$current/tag: $$next/g" charts/podinfo/values-prod.yaml && \ sed -i '' "s/appVersion: $$current/appVersion: $$next/g" charts/podinfo/Chart.yaml && \ sed -i '' "s/version: $$current/version: $$next/g" charts/podinfo/Chart.yaml && \ sed -i '' "s/podinfo:$$current/podinfo:$$next/g" kustomize/deployment.yaml && \ diff --git a/charts/podinfo/values-prod.yaml b/charts/podinfo/values-prod.yaml new file mode 100644 index 0000000..c671a5c --- /dev/null +++ b/charts/podinfo/values-prod.yaml @@ -0,0 +1,98 @@ +# Prod values for podinfo. + +replicaCount: 1 +logLevel: info +backend: #http://backend-podinfo:9898/echo +backends: [] + +ui: + color: "#34577c" + message: "" + logo: "" + +faults: + delay: false + error: false + unhealthy: false + unready: false + testFail: false + testTimeout: false + +h2c: + enabled: false + +image: + repository: ghcr.io/stefanprodan/podinfo + tag: 5.0.1 + pullPolicy: IfNotPresent + +service: + enabled: true + type: ClusterIP + metricsPort: 9797 + httpPort: 9898 + externalPort: 9898 + grpcPort: 9999 + grpcService: podinfo + nodePort: 31198 + +# metrics-server add-on required +hpa: + enabled: true + maxReplicas: 10 + # average total CPU usage per pod (1-100) + cpu: + # average memory usage per pod (100Mi-1Gi) + memory: + # average http requests per second per pod (k8s-prometheus-adapter) + requests: + +# Redis address in the format : +cache: "" +# Redis deployment +redis: + enabled: true + repository: redis + tag: 6.0.1 + +serviceAccount: + # Specifies whether a service account should be created + enabled: false + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: + +linkerd: + profile: + enabled: false + +serviceMonitor: + enabled: false + interval: 15s + +ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: /* + hosts: [] + # - podinfo.local + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: + limits: + requests: + cpu: 1m + memory: 16Mi + +nodeSelector: {} + +tolerations: [] + +affinity: {} + +podAnnotations: {}