You want to run deployment jobs from GitHub but the clusters are private with no public API endpoint. Options?
AdvancedScenarioSecrets, OIDC & Environments
Answer
Situation read → Hosted runners cannot reach private endpoints.
What I'd do →
- ARC runners inside the VPC (or a dedicated small EKS cluster with network access), restricted via runner group to the deploy repos and workflows.
- Or hosted larger runners with Azure private networking (Azure) or static IPs allow-listed on a bastion or proxy.
- Or switch to GitOps: Actions updates a manifest repo, Argo CD inside the cluster pulls.
Why → GitOps removes inbound access entirely; ARC in-VPC keeps push-based deploys.
Interview tip → Present GitOps as the cleanest answer for private clusters.
More on Secrets, OIDC & Environments
You find AWS access keys stored as repo secrets in 25 repos. Plan the migration.IntermediateA developer asks to print a secret in the log "just once" to debug. What do you do instead?BeginnerStaging and prod need different database URLs and different AWS roles, using one workflow. How?BeginnerSecurity requires two people for prod deploys: the author cannot approve. Configure it.BeginnerWrite the AWS trust policy for a role used only by the prod deploy job of one repo.IntermediatePR workflows need read-only AWS access for `terraform plan`, including from same-repo branches. How do you set trust?Advanced