Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trying to run pipe atlassian/aws-eks-kubectl-run

      - step: &deployment-status
name: "Deployment status to k8s"
- pipe: atlassian/aws-eks-kubectl-run:1.1.1
KUBECTL_ARGS: 'status deployments/${APP_NAME} --namespace=${BITBUCKET_BRANCH} --timeout=120s'
DEBUG: "true"

When i am trying to check the deployment status i am getting the following error

✔ Successfully updated the kube config.Manage the rollout of a resource.   Valid resource types include:  *  deployments  *  daemonsetsF0204 13:46:26.751629       9 helpers.go:114]   *  statefulsetsExamples:  # Rollback to the previous deployment  kubectl rollout undo deployment/abc    # Check the rollout status of a daemonset  kubectl rollout status daemonset/fooAvailable Commands:  history     View rollout history  pause       Mark the provided resource as paused  restart     Restart a resource  resume      Resume a paused resource  status      Show the status of the rollout  undo        Undo a previous rolloutUsage:  kubectl rollout SUBCOMMAND [options]Use "kubectl <command> --help" for more information about a given command.Use "kubectl options" for a list of global command-line options (applies to all commands).

1 answer

0 votes

@shailab  I see that --namespace and timeout are common args for kubectl, not for the status.

You can move them to the beginning of the KUBECTL_ARGS

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

173 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you