Merge pull request #1310 from pikasTech/fix/sub2api-account-local-proxy-readiness
fix(sub2api): avoid loopback tcp readiness probe
This commit is contained in:
@@ -567,20 +567,6 @@ export function renderAccountLocalProxyContainer(proxy: Sub2ApiAccountLocalProxy
|
||||
ports:
|
||||
- name: account-proxy
|
||||
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:
|
||||
- name: account-local-proxy-config
|
||||
mountPath: /etc/sing-box/${proxy.secretKey}
|
||||
|
||||
Reference in New Issue
Block a user