kops icon indicating copy to clipboard operation
kops copied to clipboard

Expose port 22 on the API Server's Loadbalancer

Open upodroid opened this issue 2 years ago • 5 comments

Some e2e tests SSH to the control plane instance to execute commands and this is currently failing on kops clusters because the API Server IP is the loadbalancer and it doesn't include port 22.

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-ci-kubernetes-e2e-cos-gce-slow-canary/1708891985160441856

Kubernetes e2e suite: [It] [sig-cloud-provider-gcp] Addon update should propagate add-on file changes [Slow] expand_less	2m13s
{ failed [FAILED] Failed to get the master SSH client.: error getting SSH client to host 34.125.202.85:22: dial tcp 34.125.202.85:22: connect: connection timed out
In [BeforeEach] at: test/e2e/cloud/gcp/addon_update.go:235 @ 10/02/23 17:30:18.558
}

upodroid avatar Oct 02 '23 21:10 upodroid

/kind bug

upodroid avatar Oct 02 '23 21:10 upodroid

You could say it's a kOps bug, but this is more of a tests bug. Assuming that SSH access is available on the same IP as the API server is quite an assumption.

hakman avatar Oct 03 '23 04:10 hakman

This can be resolved by rewriting kubernetes e2e test to use hostexec pod instead.

Like this https://github.com/kubernetes/kubernetes/pull/121007

upodroid avatar Oct 06 '23 14:10 upodroid

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jan 29 '24 20:01 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Feb 28 '24 21:02 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Mar 29 '24 21:03 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Mar 29 '24 21:03 k8s-ci-robot