You edited `/etc/kubernetes/manifests/kube-apiserver.yaml` to add an audit flag and now the API server is gone and does not come back.
IntermediateTroubleshootingControl plane, RBAC, webhooks and autoscaling
Answer
Likely causes → The new flag points at a file that is not mounted into the static Pod (audit policy path), or the YAML is invalid, so the kubelet cannot start the Pod or the container exits immediately.
Diagnose →
sudo journalctl -u kubelet --since "10 min ago" | grep -i apiserver
sudo crictl ps -a --name kube-apiserver
sudo crictl logs <id> # e.g. "open /etc/kubernetes/audit-policy.yaml: no such file or directory"
Fix → Add the matching volumes and volumeMounts (hostPath) for the policy file and log directory, or restore the backup. Keep backups outside the manifests directory; the kubelet runs every file in it.
Prevent → Change control-plane flags through kubeadm ClusterConfiguration extraArgs/extraVolumes and apply with kubeadm upgrade workflows.
More on Control plane, RBAC, webhooks and autoscaling
A developer gets `Error from server (Forbidden): pods is forbidden: User "[email protected]" cannot list resource "pods" in API group "" in the namespace "payments"`.BeginnerA CI pipeline fails with `deployments.apps "api" is forbidden: User "system:serviceaccount:ci:deployer" cannot patch resource "deployments" in API group "apps" in the namespace "prod"`.BeginnerA user can `get pods` but `kubectl logs` fails with `cannot get resource "pods/log"` and `kubectl exec` fails with `cannot create resource "pods/exec"`.BeginnerCreating a RoleBinding fails with `is attempting to grant RBAC permissions not currently held`.IntermediateEvery `kubectl apply` fails with `Internal error occurred: failed calling webhook "validate.kyverno.svc-fail": failed to call webhook: Post "https://kyverno-svc.kyverno.svc:443/validate/fail?timeout=10s": context deadline exceeded`.AdvancedCreating a Certificate fails with `failed calling webhook "webhook.cert-manager.io": ... no endpoints available for service "cert-manager-webhook"`.Intermediate