Last active
June 4, 2019 17:26
-
-
Save esomore/b274eeea4fa347c9feea9eb1899955b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### create new cluster and call it cosmic ### | |
doctl kubernetes cluster create cosmic | |
### add a secondary node-pool with bigger droplets for timescale ### | |
doctl kubernetes cluster node-pool create cosmic --name tsdb --count 4 --size s-6vcpu-16gb | |
### delete the default node-pool ### | |
doctl kubernetes cluster node-pool delete cosmic cosmic-default-pool | |
### list node-pools ### | |
doctl kubernetes cluster node-pool list cosmic | |
### save kubeonfig ### | |
doctl kubernetes cluster kubeconfig show cosmic > $HOME/cosmic.config | |
### check that nodes are running ### | |
kubectl get nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment