Fix resources isues 2
This commit is contained in:
@@ -55,12 +55,13 @@ podAnnotations:
|
|||||||
# topologyKey: "kubernetes.io/hostname"
|
# topologyKey: "kubernetes.io/hostname"
|
||||||
|
|
||||||
# Production probe settings (more conservative)
|
# Production probe settings (more conservative)
|
||||||
|
# NOTE: mvance/unbound image does NOT have 'nc' (netcat), use 'drill' instead
|
||||||
probes:
|
probes:
|
||||||
readiness:
|
readiness:
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
command: "sh -c 'echo \"\" | nc -w 3 127.0.0.1 53 || exit 1'"
|
command: "drill @127.0.0.1 localhost || exit 1"
|
||||||
liveness:
|
liveness:
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
command: "sh -c 'echo \"\" | nc -w 3 127.0.0.1 53 || exit 1'"
|
command: "drill @127.0.0.1 localhost || exit 1"
|
||||||
@@ -46,25 +46,20 @@ service:
|
|||||||
dnsTcp: 53
|
dnsTcp: 53
|
||||||
|
|
||||||
# Health probes configuration
|
# Health probes configuration
|
||||||
|
# NOTE: mvance/unbound image does NOT have 'nc' (netcat), use 'drill' instead
|
||||||
probes:
|
probes:
|
||||||
readiness:
|
readiness:
|
||||||
enabled: true
|
enabled: true
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
# Simple TCP connectivity check - more reliable than DNS queries
|
# Use drill (DNS lookup tool included in unbound image)
|
||||||
# Tests if the DNS port is listening and responding
|
command: "drill @127.0.0.1 localhost || exit 1"
|
||||||
command: "sh -c 'echo \"\" | nc -w 2 127.0.0.1 53 || exit 1'"
|
|
||||||
# Alternative: use curl if available
|
|
||||||
# command: "curl -s --max-time 2 http://127.0.0.1:53 || exit 1"
|
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
initialDelaySeconds: 45
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
# Simple TCP connectivity check - more reliable than DNS queries
|
# Use drill (DNS lookup tool included in unbound image)
|
||||||
# Tests if the DNS port is listening and responding
|
command: "drill @127.0.0.1 localhost || exit 1"
|
||||||
command: "sh -c 'echo \"\" | nc -w 2 127.0.0.1 53 || exit 1'"
|
|
||||||
# Alternative: use curl if available
|
|
||||||
# command: "curl -s --max-time 2 http://127.0.0.1:53 || exit 1"
|
|
||||||
|
|
||||||
# Additional environment variables
|
# Additional environment variables
|
||||||
env: {}
|
env: {}
|
||||||
|
|||||||
@@ -13,4 +13,3 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 100Gi
|
storage: 100Gi
|
||||||
storageClassName: standard
|
|
||||||
@@ -154,4 +154,3 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
storageClassName: standard
|
|
||||||
Reference in New Issue
Block a user