-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP on Kubernetes with gridscale_paas resource
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Kubernetes Example | ||
|
||
This example shows how you can spin up a Kubernetes cluster with Terraform using the `"gridscale_paas"` resource. | ||
|
||
Before you run Terraform, you need to set the `GRIDSCALE_TOKEN` and `GRIDSCALE_UUID` environment variables to their appropriate values. Take a look at the `.envrc` file for all variables. | ||
|
||
## Example | ||
|
||
In this example we will provision a cluster with: | ||
|
||
- three worker nodes (max.) | ||
|
||
whereas each worker node has | ||
|
||
- 2 cores | ||
- 4 GB of RAM | ||
- and 30 GB of storage | ||
|
||
Provisioning time varies of course but we can expect to take around 10 minutes to spin up the cluster. |
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