A PodDisruptionBudget Kubernetes Resource
PodDisruptionBudget (PDB) is a Kubernetes resource that allows you to achieve High Availability (HA) of scalable application services when the cluster administrators perform voluntary disruptions to manage the cluster nodes.
PDB restricts the number of simultaneously down pods due to voluntary disruptions. It is helpful in running services undisrupted in case, a pod is deleted accidentally or deliberately.
PDB is defined for HA, scalable NEF and scalable CAPIF services such as apirouter, monitoring event, ccf client, fivegcagent, qualityofservice, expiry-auditor, api manager, af manager, event manager, ocegress_gateway, and ocingress_gateway.
It allows safe eviction of pods when a Kubernetes node is drained to perform maintenance on the node. It uses the default value set for the maxUnavailable
parameter in the Helm chart to determine the maximum number of pods that can be unavailable during a voluntary disruption.
For more information about this functionality, see https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets.
Note:
The performance and capacity of the NEF system may vary based on the call model, feature or interface configuration, and underlying CNE and hardware environment.Table A-1 Predefined PDB values NEF deployment
Microservice | Specified Number/Percentage of Pods for PDB (maxUnavailable) |
---|---|
ccfclient manager | 0% |
aef_apirouter | 0% |
monitoringevents | 0% |
fivegcagent | 0% |
apd_manager | 0% |
expiry-auditor | 0% |
qualityofservice | 0% |
device_trigger | 0% |
diam_gateway | 0% |
pool_manager | 0% |
traffic_influence | 0% |
msisdnless_mo_sms | 0% |
console_data_service | 25% |
egress-gateway | 1 |
ingress-gateway | 1 |
The following table describes the predefined PDB values configured for each service in the CAPIF deployment:
Table A-2 Predefined PDB values for CAPIF deployment
Microservice | Specified Number/Percentage of Pods for PDB (maxUnavailable) |
---|---|
afmgr | 0% |
apimgr | 0% |
eventmgr | 0% |
egress-gateway | 1 |
ingress-gateway | 1 |