cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

EKS: Bastion seems unable to access nodes created with managedmachinepool

Open felipeweb opened this issue 4 years ago • 9 comments
trafficstars

/kind bug

What steps did you take and what happened: EKS: Bastion seems unable to access nodes created with managed machine pool

apiVersion: v1
items:
- apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
  kind: AWSManagedControlPlane
  metadata:
    name: undistro-quickstart
    namespace: default
  spec:
    version: 1.18
    bastion:
      allowedCIDRBlocks:
      - 0.0.0.0/0
      enabled: true
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

---
apiVersion: v1
items:
- apiVersion: cluster.x-k8s.io/v1alpha3
  kind: Cluster
  metadata:
    name: undistro-quickstart
    namespace: default
  spec:
    controlPlaneRef:
      apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
      kind: AWSManagedControlPlane
      name: undistro-quickstart
      namespace: default
    infrastructureRef:
      apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
      kind: AWSManagedCluster
      name: undistro-quickstart
      namespace: default
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

---
apiVersion: v1
items:
- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
  kind: AWSManagedMachinePool
   metadata:
     name: undistro-quickstart-mp-0
    namespace: default
  spec:
    additionalTags:
      infra-node: "true"
    amiType: AL2_x86_64
    eksNodegroupName: undistro-quickstart-mp-0
    instanceType: t3.medium
    labels:
      node-role.undistro.io/infra: "true"
    providerIDList:
    - aws://us-east-1a/i-0ea03ba6d7a45ae8f
    remoteAccess:
      sshKeyName: undistro
    roleName: nodes.cluster-api-provider-aws.sigs.k8s.io
    scaling:
      maxSize: 5
      minSize: 1
- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
  kind: AWSManagedMachinePool
  metadata:
     name: undistro-quickstart-mp-1
    namespace: default
  spec:
    amiType: AL2_x86_64
    eksNodegroupName: undistro-quickstart-mp-1
    instanceType: t3.medium
    providerIDList:
    - aws://us-east-1b/i-00c65e95d09cccf74
    - aws://us-east-1a/i-0244c8034e18380e7
    - aws://us-east-1b/i-0ffb2076a1ca004b7
    remoteAccess:
      sshKeyName: undistro
    roleName: nodes.cluster-api-provider-aws.sigs.k8s.io
    scaling:
      maxSize: 5
      minSize: 1
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

What did you expect to happen:

Be able to connect to bastion and then connect to node using private IP

Environment:

  • Cluster-api-provider-aws version: v0.6.4
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

felipeweb avatar Jan 28 '21 00:01 felipeweb

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale

fejta-bot avatar Apr 28 '21 00:04 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten

fejta-bot avatar May 28 '21 01:05 fejta-bot

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community. /close

fejta-bot avatar Jun 27 '21 01:06 fejta-bot

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community. /close

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 Jun 27 '21 01:06 k8s-ci-robot

/reopen

richardcase avatar Jun 27 '21 05:06 richardcase

@richardcase: Reopened this issue.

In response to this:

/reopen

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 Jun 27 '21 05:06 k8s-ci-robot

/priority backlog /lifecycle frozen

richardcase avatar Jun 27 '21 05:06 richardcase

@richardcase up to you how important this is. I've generally been advising people to use SSM Session Manager instead of a bastion.

randomvariable avatar Nov 08 '21 18:11 randomvariable

/remove-lifecycle frozen

richardcase avatar Jul 12 '22 16:07 richardcase

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

This bot triages issues and PRs 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 or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR 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 Oct 23 '22 20:10 k8s-triage-robot

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

This bot triages issues and PRs 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 or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR 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 Nov 22 '22 20:11 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 Dec 22 '22 21:12 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 Dec 22 '22 21:12 k8s-ci-robot