After upgrading the cluster, the deploy job fails with "error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"".
IntermediateTroubleshootingPipeline outages
Answer
Likely causes → The kubeconfig on the runner was generated by an old AWS CLI or tool that writes v1alpha1 for the exec credential plugin. Newer kubectl versions removed v1alpha1, so authentication fails before any API call.
Diagnose →
kubectl version --client
grep -A3 'exec:' ~/.kube/config
aws --version
Fix → Upgrade the AWS CLI and regenerate the kubeconfig (aws eks update-kubeconfig --name prod --region ap-south-1), which writes client.authentication.k8s.io/v1beta1. Pin kubectl and CLI versions in the runner image.
Prevent → Build CI images with pinned, tested versions of kubectl, Helm and cloud CLIs, and update them as part of the cluster upgrade checklist.
More on Pipeline outages
Every GitHub Actions job in the org sits at "Waiting for a runner to pick up this job..." for 30 minutes.BeginnerJenkins builds on one agent fail with "java.io.IOException: No space left on device" while checking out code.BeginnerA deploy workflow that worked yesterday fails at `aws-actions/configure-aws-credentials` with "Not authorized to perform sts:AssumeRoleWithWebIdentity".IntermediateEvery pipeline in the company fails at the dependency step with "npm ERR! 503 Service Unavailable" (or PyPI/Maven timeouts) because an upstream registry is having an outage.Intermediate`terraform apply` in CI fails with "Error acquiring the state lock: ConditionalCheckFailedException" and shows a lock from a pipeline run that was cancelled two hours ago.BeginnerArgo CD shows the `payments` app permanently `OutOfSync` and self-heal keeps fighting: replicas jump between 3 and 12 every few minutes.Intermediate