enhancing wg-easy deployment
This commit is contained in:
+16
-7
@@ -44,7 +44,6 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: wg-easy
|
- name: wg-easy
|
||||||
image: ghcr.io/wg-easy/wg-easy:15.4.0
|
image: ghcr.io/wg-easy/wg-easy:15.4.0
|
||||||
imagePullPolicy: Always
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 51820
|
- containerPort: 51820
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
@@ -55,16 +54,10 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: LANG
|
- name: LANG
|
||||||
value: en
|
value: en
|
||||||
- name: WG_HOST
|
|
||||||
value: vpn.ivanch.me
|
|
||||||
- name: WG_MTU
|
- name: WG_MTU
|
||||||
value: "1420"
|
value: "1420"
|
||||||
- name: UI_TRAFFIC_STATS
|
- name: UI_TRAFFIC_STATS
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: UI_CHART_TYPE
|
|
||||||
value: "0"
|
|
||||||
- name: WG_ENABLE_ONE_TIME_LINKS
|
|
||||||
value: "true"
|
|
||||||
- name: INSECURE
|
- name: INSECURE
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: UI_ENABLE_SORT_CLIENTS
|
- name: UI_ENABLE_SORT_CLIENTS
|
||||||
@@ -81,6 +74,22 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 2000m
|
cpu: 2000m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 51821
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 51821
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 3
|
||||||
|
failureThreshold: 2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: wg-easy-volume
|
- name: wg-easy-volume
|
||||||
mountPath: /etc/wireguard
|
mountPath: /etc/wireguard
|
||||||
|
|||||||
Reference in New Issue
Block a user