Created
November 29, 2022 18:38
-
-
Save andrewpsp/5f5ed465a3a5e690ae0f4517b8523e7d to your computer and use it in GitHub Desktop.
Deploy_DO_K8S.sh
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
#!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