Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jx boot is not able to found eks cluster name #7620

Closed
Guss4241 opened this issue Feb 9, 2021 · 1 comment
Closed

jx boot is not able to found eks cluster name #7620

Guss4241 opened this issue Feb 9, 2021 · 1 comment

Comments

@Guss4241
Copy link

Guss4241 commented Feb 9, 2021

Summary

jx boot is not able to found eks cluster name

Steps to reproduce the behavior

configure kubectl to use your own cluster
install jx tool
launch jx boot
get the jx-boot repo

edit jx-requirement.yml to set provider to eks
launch jx boot again answer initial quesiton

Expected behavior

get jx installed on the cluster

Actual behavior

error during jx boot command

Enabling IRSA for cluster consoneoekscluster associating the IAM Open ID Connect provider
[ℹ]  eksctl version 0.37.0
[ℹ]  using region eu-west-1
Error: unable to fetch cluster status to determine operability: unable to describe cluster control plane: ResourceNotFoundException: No cluster found for name: consoneoekscluster.
{
  RespMetadata: {
    StatusCode: 404,
    RequestID: "6b4c44ee-b36e-422f-a86e-13c961b6664c"
  },
  Message_: "No cluster found for name: consoneoekscluster."
}
error: error enabling IRSA in cluster: there was a porblem enabling IRSA in the cluster: there was a problem calling eksctl with the provided args: failed to run 'eksctl utils associate-iam-oidc-provider --cluster consoneoekscluster --region eu-west-1 --approve' command in directory '', output: ''

Jx version

The output of jx version is:

Version 2.1.155

sample of my kube config:

clusters:
- cluster:
    certificate-authority-data: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX>
    server: https://XXXXXXXXXXXXXXXXXXXX.gr7.eu-west-1.eks.amazonaws.com
  name: arn:aws:eks:eu-west-1:XXXXXXXXXXXXX:cluster/ConsoneoEksCluster
contexts:
- context:
    cluster: arn:aws:eks:eu-west-1:XXXXXXXXXXX:cluster/ConsoneoEksCluster
    namespace: jx
    user: arn:aws:eks:eu-west-1:XXXXXXXXXXX:cluster/ConsoneoEksCluster
  name: arn:aws:eks:eu-west-1:XXXXXXXXXXX:cluster/ConsoneoEksCluster
current-context: arn:aws:eks:eu-west-1:XXXXXXXXXX:cluster/ConsoneoEksCluster
kind: Config
preferences: {}
users:
- name: arn:aws:eks:eu-west-1:XXXXXXXXXXX:cluster/ConsoneoEksCluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - --region
      - eu-west-1
      - eks
      - get-token
      - --cluster-name
      - ConsoneoEksCluster
      command: aws
      env: null

feel free to ask some questions if you need more infrmation.

@jstrachan
Copy link
Member

could you try v3 please? https://jenkins-x.io/v3/admin/platforms/eks/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants