• Clayton Coleman's avatar
    Support e2e testing via a bastion host for SSH commands · 88cac12c
    Clayton Coleman authored
    Until we port the remaining e2e tests to use exec host pods instead
    of SSH, it should be possible to use bastion host when
    clusters don't expose public IPs for nodes. Testers can use the
    KUBE_SSH_BASTION environment variable set to a `host:port` to
    specify the host that the tests will use as a jump host.
    
    If KUBE_SSH_BASTION is specified, the test will first connect to
    the bastion using SSH and the provider private key, then establish
    a tunnel from the bastion to the target node by its IP. If the
    node has an external IP, the external IP must be routable from the
    bastion.
    88cac12c
ssh.go 8.91 KB