DigitalOcean Kubernetes (DOKS)
This guide will show you how to install Okteto onto DigitalOcean Kubernetes. We'll be focusing exclusively on DigitalOcean Kubernetes in order to keep it as simple as possible.
Requirements
In order to fully install Okteto, you'll need the following:
- A subdomain to which you can add a wildcard DNS record
- A Kubernetes cluster
- A working installation of kubectl
- A working installation of Helm v3 (v3.8 or higher)
- An Okteto License
Subdomain
You'll need sufficient access to a subdomain to add a wildcard DNS record, such as dev.example.com. By default, all endpoints created by Okteto for your development environments will be exposed on the wildcard subdomain you choose.
This guide assumes your domain is registered in DigitalOcean Domains. You can use any DNS service you prefer, but this guide focuses specifically on DigitalOcean Domains.
Deploy a Kubernetes cluster
If you are not familiar with this step, we recommend that you follow DigitalOcean's cluster creation guide. Okteto supports Kubernetes versions 1.24 through 1.26.
To get started with Okteto, follow these specs:
- v1.26
- A pool with at least 3 nodes (4CPUs and 16GBs each)
- 250 GB per disk
Our installation guides assume Okteto will be running in a dedicated cluster. We recommend contacting our team if you plan on installing Okteto in a cluster with other workloads.
Installing kubectl
Follow the official documentation for installing kubectl. Once installed, configure kubectl
to talk to your new cluster.
Installing Helm v3 (v3.8 or higher)
Follow the official documentation for installing the latest release of Helm v3 (v3.8 or higher).
Adding the Okteto Helm repository
You'll need to add the Okteto repository in order to be able to install Okteto:
helm repo add okteto https://charts.okteto.com
helm repo update