fix: harden multi-pod delivery and load verification
This commit is contained in:
@@ -175,6 +175,7 @@ metadata:
|
||||
name: im-server
|
||||
namespace: default
|
||||
spec:
|
||||
sessionAffinity: None
|
||||
selector:
|
||||
app: im-server
|
||||
ports:
|
||||
@@ -219,6 +220,33 @@ spec:
|
||||
fieldPath: metadata.name
|
||||
- name: EXT_CONFIG
|
||||
value: /etc/tinode/tinode.conf
|
||||
- name: CLUSTER_PROXY_TO_MASTER_BUFFER
|
||||
value: "4096"
|
||||
- name: CLUSTER_PROXY_TO_MASTER_WORKERS
|
||||
value: "16"
|
||||
- name: CLUSTER_PROXY_TO_MASTER_ENQUEUE_TIMEOUT_MS
|
||||
value: "300"
|
||||
- name: CLUSTER_ROUTE_RETRIES
|
||||
value: "3"
|
||||
- name: CLUSTER_ROUTE_RETRY_BACKOFF_MS
|
||||
value: "25"
|
||||
resources:
|
||||
requests:
|
||||
cpu: "1"
|
||||
memory: 512Mi
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: 1Gi
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 6060
|
||||
timeoutSeconds: 3
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /livez
|
||||
port: 6060
|
||||
timeoutSeconds: 3
|
||||
volumeMounts:
|
||||
- name: tinode-config
|
||||
mountPath: /etc/tinode
|
||||
|
||||
Reference in New Issue
Block a user