Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is it possible to run more than one command in the following pipe "atlassian/google-gke-kubectl-run"

Saurabh Singh
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 11, 2020


Can I run more than one command in the COMMAND variable section while using the following pipe

For instance:

- pipe: atlassian/google-gke-kubectl-run:1.3.1
    KEY_FILE: '<string>'
    PROJECT: '<string>'
    COMPUTE_ZONE: '<string>'
    CLUSTER_NAME: '<string>'
    KUBECTL_COMMAND: 'command_1','command_2'     <======


1 answer

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 11, 2020 • edited

@Saurabh Singh no, you cannot do it, this would be too complex pipe and would be hard to understand what actually succeeded and how.

I propose you to use you command in a separate step. You can also define those steps as parallel to save time (but be aware that perhaps this will require more pipeline resources like memory and cpu).

Otherwise, explain please us, your use case, why exactly you need it and we will think how to help you.

@Halyna Berezovska If I want to scale the pods after the deployment. How would you recommend us doing that. Should I add another pipe after apply command ? I tried to replace with SED but its not working because of spaces in manifest. Thought running another kubectl command after deployment to scale pods is easier approach. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events