@@ -569,7 +569,7 @@ provided, assume it refers to the operator or chart's namespace.
569
569
- The operator webhooks must communicate with the Kubernetes API server. Errors related to webhook usage can often be found in the API server logs :
570
570
- For self-managed clusters, check logs directly :
571
571
` ` ` bash
572
- kubectl logs -n <api-server -namespace> -l component=kube-apiserver
572
+ kubectl logs -n <apiserver -namespace> -l component=kube-apiserver
573
573
` ` `
574
574
- For managed clusters, follow the platform-specific steps to enable and view API server logs :
575
575
- [AKS : Monitor Logs](https://learn.microsoft.com/en-us/azure/aks/monitor-aks?tabs=cilium)
@@ -593,7 +593,7 @@ provided, assume it refers to the operator or chart's namespace.
593
593
resides and the namespace where the Kubernetes apiserver resides.
594
594
` ` ` bash
595
595
kubectl get networkpolicy -n <operator-namespace>
596
- kubectl get networkpolicy -n <api-server -namespace>
596
+ kubectl get networkpolicy -n <apiserver -namespace>
597
597
` ` `
598
598
# ### Checking Operator <-> API Server Connectivity steps
599
599
Test Operator to API Server Connection
@@ -616,11 +616,11 @@ Test Operator to API Server Connection
616
616
Test API Server to Operator Webhook Connection
617
617
1. Create a `busybox` pod in the API Server's namespace :
618
618
` ` ` bash
619
- kubectl run busybox-test --rm -it --restart=Never -n <api-server -namespace> --image=busybox -- /bin/sh
619
+ kubectl run busybox-test --rm -it --restart=Never -n <apiserver -namespace> --image=busybox -- /bin/sh
620
620
` ` `
621
621
2. Enter the `busybox` pod :
622
622
` ` ` bash
623
- kubectl exec -it busybox-test -n <api-server -namespace> -- /bin/sh
623
+ kubectl exec -it busybox-test -n <apiserver -namespace> -- /bin/sh
624
624
` ` `
625
625
3. Attempt to contact the Operator's webhook :
626
626
` ` ` bash
0 commit comments