DO - Kubernetes (DOKS)
DigitalOcean Kubernetes (also known as "DOKS") is a managed Kubernetes service provided by DigitalOcean. It allows you to deploy and manage Kubernetes clusters on DigitalOcean, without the need to set up and maintain the underlying infrastructure yourself.
It provides a user-friendly interface for creating and managing clusters, and integrates with other DigitalOcean services such as Load Balancers and Block Storage. It also includes features such as automatic updates and upgrades, and 24/7 support from DigitalOcean's Kubernetes experts.
# Generate kubeconfig from doctl
doctl kubernetes cluster kubeconfig save <cluster-id>
# Use a kubeconfig file that you can download from the console
kubectl --kubeconfig=/<pathtodirectory>/k8s-1-25-4-do-0-ams3-1670939911166-kubeconfig.yaml get nodes
# Get clusters
doctl kubernetes cluster list
# Get node pool of cluster (number of nodes)
doctl kubernetes cluster node-pool list <cluster-id>
# Get DO resources used by the cluster
doctl kubernetes cluster list-associated-resources <cluster-id>