Resource Limits¶
Configure CPU and memory limits for BIND9 pods.
Setting Resource Limits¶
Configure resources in the Bind9Instance spec:
apiVersion: bindy.firestoned.io/v1beta1
kind: Bind9Instance
metadata:
name: primary-dns
spec:
replicas: 2
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "512Mi"
Recommended Values¶
Small Deployment (Few zones)¶
Medium Deployment (Multiple zones)¶
Large Deployment (Many zones, high traffic)¶
Best Practices¶
- Set both requests and limits - Ensures predictable performance
- Start conservative - Begin with lower values and adjust based on monitoring
- Monitor usage - Use metrics to right-size resources
- Leave headroom - Don't max out limits
- Consider query volume - High-traffic DNS needs more resources