Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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!


When using Kubectl pipeline for a digitial ocean k8 cluster i am getting a doctl not found error


We are currently in the process of converting our eco system from being run on droplets to a DO hosted kubernetes cluster when doing so we have run into a strange error where despite us installing doctl prior to running it the kubectl pipeline cannot identify doctl

The following error is showing up in our pipeline 

Screenshot from 2023-01-25 13-33-25.png


The following code is being used to push the image onto out kubernetes cluster on digital ocean it fails on the pipe step

- basedir=$(pwd)
- "echo $basedir"
- cd ~
- wget
- tar xf ~/doctl-1.92.0-linux-amd64.tar.gz
- mv ~/doctl /usr/local/bin
- "cd $basedir"
- doctl auth init -t $DOCTLTOKEN
- doctl kubernetes cluster kubeconfig save $DOCTL_CLUSTER
- pipe: atlassian/kubectl-run:3.4.0
RESOURCE_PATH: 'freelancer-deployment-bb.yaml'

 Im wondering if anyone knows how to fix this error or how to better format this pipe to avoid it

2 answers

1 accepted

1 vote
Answer accepted
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 27, 2023

@Dryden Linden-Bremner hi. Currently DigitalOcean is not supported by default because it depends on plugin that not presented in the pipe.

We will investigate how to expand the pipe logic with custom plugins and notify you when this feature becomes available.


Regards, Igor

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 23, 2023

@Dryden Linden-Bremner hi. Sorry for the late response. We released a new version of the pipe 3.5.0 that allows to use pre-execution scripts to install all needed plugins:

  - echo 'script logic' >
  - chmod 005
  - pipe: atlassian/kubectl-run:3.5.0
      KUBECTL_COMMAND: 'apply'
      RESOURCE_PATH: 'nginx.yml'

Regards, Igor

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events