DO - Kubernetes (DOKS)

Support HackTricks

Basic Information

DigitalOcean Kubernetes (DOKS)

DOKS ni huduma ya Kubernetes inayosimamiwa inayotolewa na DigitalOcean. Huduma hii imeundwa ili kupeleka na kusimamia makundi ya Kubernetes kwenye jukwaa la DigitalOcean. Vipengele muhimu vya DOKS ni pamoja na:

  1. Urahisi wa Usimamizi: Hitaji la kuanzisha na kudumisha miundombinu ya msingi limeondolewa, na hivyo kurahisisha usimamizi wa makundi ya Kubernetes.

  2. Kiolesura Rafiki kwa Mtumiaji: Inatoa kiolesura kinachoweza kueleweka ambacho kinasaidia katika kuunda na kusimamia makundi.

  3. Ushirikiano na Huduma za DigitalOcean: Inajumuisha kwa urahisi na huduma nyingine zinazotolewa na DigitalOcean, kama vile Load Balancers na Block Storage.

  4. Misasisho na Marekebisho ya Otomatiki: Huduma hii inajumuisha masasisho na marekebisho ya otomatiki ya makundi ili kuhakikisha yanakuwa ya kisasa.

Connection

# 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

Uhesabuzi

# 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>
Support HackTricks

Last updated