p2p
This commit is contained in:
@@ -9,7 +9,7 @@ metadata:
|
||||
app.kubernetes.io/instance: {{ wikideck_name | to_json }}
|
||||
app.kubernetes.io/managed-by: ansible
|
||||
spec:
|
||||
# Never expose replicas as a variable: chain.json has no multi-writer locking.
|
||||
# One validator per ledger/PVC. Other validators need separate role instances.
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
@@ -67,8 +67,10 @@ spec:
|
||||
value: "3001"
|
||||
- name: WIKIDECK_DATA_DIR
|
||||
value: /app/data
|
||||
- name: WIKIDECK_OFFLINE
|
||||
value: {{ ('1' if wikideck_offline else '0') | to_json }}
|
||||
- name: WIKIDECK_PEERS
|
||||
value: {{ (wikideck_peers | join(',')) | to_json }}
|
||||
- name: WIKIDECK_ALLOW_PRIVATE_PEERS
|
||||
value: {{ ('1' if wikideck_allow_private_peers else '0') | to_json }}
|
||||
{% if wikideck_public_origin | length > 0 %}
|
||||
- name: PUBLIC_ORIGIN
|
||||
value: {{ wikideck_public_origin | to_json }}
|
||||
@@ -80,7 +82,7 @@ spec:
|
||||
port: http
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 60
|
||||
failureThreshold: {{ wikideck_startup_probe_failure_threshold | int }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
|
||||
Reference in New Issue
Block a user