Skip to content

Instantly share code, notes, and snippets.

@andrewpsp
Created November 29, 2022 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewpsp/5f5ed465a3a5e690ae0f4517b8523e7d to your computer and use it in GitHub Desktop.
Save andrewpsp/5f5ed465a3a5e690ae0f4517b8523e7d to your computer and use it in GitHub Desktop.
Deploy_DO_K8S.sh
#!bin/sh
-x
echo "Single Node Cluster With Monitoring"
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' \
-d '{"name":"ubuntu-s-4vcpu-8gb-amd-nyc1-01",
"size":"s-4vcpu-8gb-amd",
"region":"nyc1",
"image":"ubuntu-22-04-x64",
"monitoring":true,
"vpc_uuid":"3b726a50-4a3d-4b58-a771-cafe2f9379b2"}' \
"https://api.digitalocean.com/v2/droplets"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment