adding frontend to the helm chart

This commit is contained in:
Arsham Teymourı
2021-08-10 13:36:28 +03:00
parent 2dae6c90ce
commit ac20d3d845
7 changed files with 184 additions and 43 deletions
+74 -21
View File
@@ -5,12 +5,19 @@
replicaCount:
shard: 3
core: 1
frontend: 1
image:
repository: docker.io/parity/substrate-telemetry-backend
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: master-b4117d3a
backend:
repository: docker.io/parity/substrate-telemetry-backend
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: master-b4117d3a
frontend:
repository: docker.io/parity/substrate-telemetry-frontend
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: master-b4117d3a
imagePullSecrets: []
nameOverride: ""
@@ -44,7 +51,7 @@ service:
port: 80
targetPort: 8000
annotations:
external-dns.alpha.kubernetes.io/hostname: substrate-telemetry.parity-stg.parity.io.
external-dns.alpha.kubernetes.io/hostname: submit.telemetry.parity-stg.parity.io.
core:
type: LoadBalancer
port: 80
@@ -52,24 +59,63 @@ service:
annotations:
cloud.google.com/load-balancer-type: Internal
networking.gke.io/internal-load-balancer-allow-global-access: "true"
external-dns.alpha.kubernetes.io/hostname: substrate-telemetry-core.parity-stg.parity.io.
external-dns.alpha.kubernetes.io/hostname: feed.telemetry.parity-stg.parity.io.
frontend:
type: ClusterIP
port: 80
targetPort: 8000
annotations: {}
ingress:
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
shard:
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
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"
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.
hosts:
- host: telemetry.parity-stg.parity.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: telemetry.parity-stg.parity.io
hosts:
- telemetry.parity-stg.parity.io
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
@@ -97,6 +143,13 @@ autoscaling:
maxReplicas: 6
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
frontend:
enabled: true
minReplicas: 3
maxReplicas: 6
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
nodeSelector: {}