Skip to content

DigitalOcean command line with kubernetes and helm

License

Notifications You must be signed in to change notification settings

alpine-docker/doctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigitalOcean tools

DigitalOcean tool images with necessary tools, it can be used as normal kubectl or doctl command line as well.

Image tag is kubectl version, not doctl version

Installed tools

  • doctl (latest release, when run the build)
  • kubectl (latest release, when run the build)
  • helm (latest release, when run the build)
  • General tools, such as bash, curl
  • Recommend any other tools by raise PR.

Github Repo

https://github.com/alpine-docker/doctl

build logs

https://app.circleci.com/pipelines/github/alpine-docker/doctl

Docker image tags

https://hub.docker.com/r/alpine/doctl/tags/

Why we need it

Mostly it is used during CI/CD (continuous integration and continuous delivery) or as part of an automated build/deployment

A sample for you to use it in CICD

Make sure you have set a secret variable DIGITALOCEAN_TOKEN in its pipeline, with below pipeline, you can


    steps:
      - checkout
      - run:
          name: helm_chart_deployment
          command: |
            # doctl authenticating
            doctl auth init -t ${DIGITALOCEAN_TOKEN}
            # run other doctl command if required
            apk add jq
            # save Kube config
            id=$(doctl kubernetes cluster list -o  json |jq -r  .[].id)
            doctl kubernetes cluster kubeconfig save ${id}
            # deploy a helm chart
            cd charts/application_name
            helm upgrade --install my-release .

Involve with developing and testing

If you want to build these images by yourself, please follow below commands.

export REBUILD=true
bash ./build.sh

schedule builds

Build job runs daily by CircleCI

About

DigitalOcean command line with kubernetes and helm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published