Docker image containing
kubectl
anddoctl
. I use tags with doctl versions to make it simpler.
Docker image containing kubectl
and doctl
. According to DigitalOcean documentation, it's recommended to connect the cluster with doctl
. Since most Docker images I found on Docker Hub don't come with doctl
, it's painful to integrate DigitalOcean Kubernetes with CI, In my case with bitbucket so I create this Docker image inspired by @henry40408.
$ docker run --rm -it samthom/doctl-kubectl:1.46 sh
# kubectl version # Get kubectl version
# doctl --version # Get doctl version
$ docker build -t YOUR_USERNAME/doctl-kubectl .
- Fork it (https://github.com/samthom/doctl-kubectl/fork)
- Create your feature branch (
git checkout -b feature/foobar
) - Commit your changes (
git commit -am 'Add some foobar'
) - Push to the branch (
git push origin feature/foobar
) - Create a new Pull Request