4ec648ae1c
updated the instructions to setup online in kubernetes Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: Ic01d94d095eac9dba54a09351eabcbc6ba83c16b
93 lines
2 KiB
YAML
93 lines
2 KiB
YAML
# Default values for collabora-online.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
global:
|
|
app:
|
|
name: collabora-online
|
|
urlScheme: HTTP # either HTTP or HTTPS
|
|
scaling:
|
|
enabled: true
|
|
min: 1
|
|
max: 10
|
|
target:
|
|
cpu: 70
|
|
memory: 70
|
|
monitoring:
|
|
activate: false
|
|
port: 9980
|
|
path: "/lool/getMetrics"
|
|
service:
|
|
name: collabora-online
|
|
type: ClusterIP
|
|
externalPort: 9980
|
|
internalPort: 9980
|
|
ingress:
|
|
name: collabora-online
|
|
|
|
replicaCount: 3 # This is the amount of how many instances of loolwsd will run
|
|
|
|
image:
|
|
pullPolicy: Always
|
|
repository: collabora/code
|
|
tag: latest
|
|
|
|
probes:
|
|
urlScheme: HTTP # either HTTP or HTTPS
|
|
port: 9980
|
|
readiness:
|
|
activate: true
|
|
path: /
|
|
initialDelaySeconds: 180
|
|
periodSeconds: 10
|
|
timeoutSeconds: 30
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
liveness:
|
|
activate: true
|
|
path: /
|
|
initialDelaySeconds: 180
|
|
periodSeconds: 10
|
|
timeoutSeconds: 30
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
|
|
deployment:
|
|
name: collabora-online
|
|
type: RollingUpdate
|
|
minReadySeconds: 0
|
|
maxUnavailable: 0
|
|
maxSurge: 1
|
|
|
|
environmentVariablesLool:
|
|
- name: extra_params
|
|
value: --o:ssl.enable=false
|
|
- name: username
|
|
value:
|
|
- name: password
|
|
value:
|
|
- name: domain
|
|
value: collabora
|
|
|
|
service:
|
|
name: collabora-online
|
|
|
|
hpa:
|
|
name: collabora-online
|
|
|
|
hosts:
|
|
host: loolwsd.public.example.com
|
|
|
|
namespace:
|
|
collabora: collabora
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 2000m
|
|
# memory: 256Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|