forked from centrifugal/centrifugo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelm-values.yaml
82 lines (69 loc) · 1.62 KB
/
helm-values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
replicaCount: 3
image:
repository: #{IMAGE_REPOSITORY}#
env:
variables:
ADDRESS: #{CENTRIFUGOWS_ADDRESS}#
ENGINE: #{CENTRIFUGOWS_ENGINE}#
PORT: #{CENTRIFUGOWS_PORT}#
REDIS_DB: #{CENTRIFUGOWS_REDIS_DB}#
REDIS_HOST: #{CENTRIFUGOWS_REDIS_HOST}#
REDIS_PORT: #{CENTRIFUGOWS_REDIS_PORT}#
secrets:
ADMIN_PASSWORD: #{CENTRIFUGOWS_ADMIN_PASSWORD}#
ADMIN_SECRET: #{CENTRIFUGOWS_ADMIN_SECRET}#
SECRET: #{CENTRIFUGOWS_SECRET}#
deploymentStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
livenessProbe:
enabled: false
readinessProbe:
enabled: false
service:
type: ClusterIP
port: 8888
healthCheckPath: "/"
environments:
serviceAccount:
create: false
annotations: {}
name: #{SERVICE_ACCOUNT}#
ingress:
internalIngress:
enabled: true
pathType: ImplementationSpecific
annotations:
kubernetes.io/ingress.class: #{INTERNAL_INGRESS_CLASS}#
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: "letsencrypt"
hosts:
- host: #{INTERNAL_INGRESS_HOST}#
paths:
- /
tls:
- hosts:
- #{INTERNAL_INGRESS_HOST}#
secretName: centrifugo-ws-tls
resources:
requests:
memory: "128Mi"
cpu: "250m"
limits:
memory: "256Mi"
cpu: "500m"
autoscaling:
enabled: true
minReplicas: #{MIN_REPLICAS}#
maxReplicas: #{MAX_REPLICAS}#
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
minAvailable: 60%
nodeSelector:
cloud.google.com/gke-nodepool: "inside-pool"
tolerations:
- key: "node-pool"
operator: "Equal"
value: "inside"
effect: "NoSchedule"