fixing helm chart issues

This commit is contained in:
Arsham Teymouri
2021-08-12 15:50:11 +03:00
parent 705d57a3b6
commit c169650ed5
5 changed files with 116 additions and 44 deletions
+32 -28
View File
@@ -12,12 +12,12 @@ image:
repository: docker.io/parity/substrate-telemetry-backend
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: master-b4117d3a
tag: f089ad17
frontend:
repository: docker.io/parity/substrate-telemetry-frontend
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: master-b4117d3a
tag: f089ad17
imagePullSecrets: []
nameOverride: ""
@@ -26,8 +26,8 @@ fullnameOverride: ""
envVars:
shard: {}
core: {}
frontend:
SUBSTRATE_TELEMETRY_URL: telemetry-core
frontend: {}
serviceAccount:
@@ -60,13 +60,13 @@ service:
annotations:
external-dns.alpha.kubernetes.io/hostname: submit.telemetry.parity-stg.parity.io.
core:
type: LoadBalancer
type: ClusterIP
port: 80
targetPort: 8000
annotations:
cloud.google.com/load-balancer-type: Internal
networking.gke.io/internal-load-balancer-allow-global-access: "true"
external-dns.alpha.kubernetes.io/hostname: feed.telemetry.parity-stg.parity.io.
annotations: {}
# cloud.google.com/load-balancer-type: Internal
# networking.gke.io/internal-load-balancer-allow-global-access: "true"
# external-dns.alpha.kubernetes.io/hostname: feed.telemetry.parity-stg.parity.io.
frontend:
type: ClusterIP
port: 80
@@ -90,28 +90,32 @@ ingress:
# hosts:
# - chart-example.local
core:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
frontend:
enabled: true
className: "traefik-internal"
className: ""
annotations:
kubernetes.io/ingress.class: traefik-internal
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
cert-manager.io/cluster-issuer: letsencrypt-dns01
external-dns.alpha.kubernetes.io/target: traefik-internal.parity-stg.parity.io.
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: feed.telemetry.parity-stg.parity.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: feed.telemetry.parity-stg.parity.io
hosts:
- feed.telemetry.parity-stg.parity.io
frontend:
enabled: true
#className: "traefik-internal"
annotations:
kubernetes.io/ingress.class: traefik-internal
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
cert-manager.io/cluster-issuer: letsencrypt-dns01
external-dns.alpha.kubernetes.io/target: traefik-internal.parity-stg.parity.io.
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: telemetry.parity-stg.parity.io
paths:
@@ -139,7 +143,7 @@ resources: {}
autoscaling:
shard:
enabled: true
minReplicas: 3
minReplicas: 2
maxReplicas: 6
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
@@ -151,8 +155,8 @@ autoscaling:
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
frontend:
enabled: true
minReplicas: 3
enabled: false
minReplicas: 1
maxReplicas: 6
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80