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

T he job does not get annotated https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/13-EKS-IRSA #12

Open
andrewrotherham opened this issue Feb 12, 2024 · 0 comments

Comments

@andrewrotherham
Copy link

Hi, when I describe my job it doesn't look like it's been annotated
I've triple checked my role and it's trust relationship in the console and everything looks fine ..but I'm still getting the error below

C:\stacksim\terraform-on-aws-eks\13-EKS-IRSA\02-eks-irsa-demo-terraform-manifests> kubectl describe job irs
a-demo
Name:             irsa-demo
Namespace:        default
Selector:         batch.kubernetes.io/controller-uid=b1280c5a-c33d-47a2-b12c-5f7e265efea0
Labels:           app=irsa-demo
                  batch.kubernetes.io/controller-uid=b1280c5a-c33d-47a2-b12c-5f7e265efea0
                  batch.kubernetes.io/job-name=irsa-demo
                  controller-uid=b1280c5a-c33d-47a2-b12c-5f7e265efea0
                  job-name=irsa-demo
Annotations:      <none>
Parallelism:      1
Completions:      1
Completion Mode:  NonIndexed
Start Time:       Mon, 12 Feb 2024 11:44:42 +0000
Completed At:     Mon, 12 Feb 2024 11:44:55 +0000
Duration:         13s
Pods Statuses:    0 Active (0 Ready) / 1 Succeeded / 0 Failed
Pod Template:
  Labels:           app=irsa-demo
                    batch.kubernetes.io/controller-uid=b1280c5a-c33d-47a2-b12c-5f7e265efea0
                    batch.kubernetes.io/job-name=irsa-demo
                    controller-uid=b1280c5a-c33d-47a2-b12c-5f7e265efea0
                    job-name=irsa-demo
  Service Account:  irsa-demo-sa
  Containers:
   irsa-demo:
    Image:      amazon/aws-cli:latest
    Port:       <none>
    Host Port:  <none>
    Args:
      s3
      ls
    Environment:  <none>
    Mounts:       <none>
  Volumes:        <none>
Events:
  Type    Reason            Age   From            Message
  ----    ------            ----  ----            -------
  Normal  SuccessfulCreate  21m   job-controller  Created pod: irsa-demo-tds6v
  Normal  Completed         21m   job-controller  Job completed
PS C:\stacksim\terraform-on-aws-eks\13-EKS-IRSA\02-eks-irsa-demo-terraform-manifests>
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

1 participant