Protect Arrikto EKF Pods¶
This guide describes the necessary steps to patch an existing Rok cluster on Kubernetes, in order to protect essential Rok External Services Pods and the Arrikto EKF Pods from being terminated in case of a CPU pressure scenario.
rok-protect script that will patch the Pods with the appropriate CPU
Ensure that all Pods in the cluster are up and running:
root@rok-tools:~# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
auth dex-7c9b56d8f-whmjn 1/1 Running 0 2h
cert-manager cert-manager-cainjector-c5cc9b5c6 1/1 Running 0 2h
cert-manager cert-manager-dfcd64965-29v2g 1/1 Running 0 2h
You have successfully patched all Rok External Services Pods and all Arrikto EKF Pods with the appropriate Kubernetes CPU requests and have protected them against CPU starvation under CPU intensive scenarios.