Page MenuHomePhabricator

Add helpers/instructions for ssh into a Kubernetes cluster node for debugging
Closed, ResolvedPublicFeature

Description

@jnuche and @bd808 both got the working in a live debug session. The basics needed are:

  • Extract the ssh private key from it's base64 encoded envvar
  • Use bastion.wmcloud.org as a jump host
  • Use zuuldevopsbot as the username for bastion.wmcloud.org
  • Use core as the username for the kubernetes node

Once inside the k8s node, sudo su - will make you root and then kubectl "just works".

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
ssh and kubernetes updatesrepos/releng/zuul/tofu-provisioning!34bd808work/bd808/k8s-providermain
Customize query in GitLab