fix(sub2api): avoid loopback tcp readiness probe
This commit is contained in:
@@ -567,20 +567,6 @@ export function renderAccountLocalProxyContainer(proxy: Sub2ApiAccountLocalProxy
|
|||||||
ports:
|
ports:
|
||||||
- name: account-proxy
|
- name: account-proxy
|
||||||
containerPort: ${proxy.listenPort}
|
containerPort: ${proxy.listenPort}
|
||||||
readinessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: account-proxy
|
|
||||||
initialDelaySeconds: 5
|
|
||||||
periodSeconds: 10
|
|
||||||
timeoutSeconds: 5
|
|
||||||
failureThreshold: 6
|
|
||||||
livenessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: account-proxy
|
|
||||||
initialDelaySeconds: 30
|
|
||||||
periodSeconds: 20
|
|
||||||
timeoutSeconds: 5
|
|
||||||
failureThreshold: 6
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: account-local-proxy-config
|
- name: account-local-proxy-config
|
||||||
mountPath: /etc/sing-box/${proxy.secretKey}
|
mountPath: /etc/sing-box/${proxy.secretKey}
|
||||||
|
|||||||
Reference in New Issue
Block a user