Skip to content

Commit

Permalink
docs: add README todo
Browse files Browse the repository at this point in the history
  • Loading branch information
addetz committed Dec 8, 2023
1 parent c6a58ad commit a50576b
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions terraform/iaas-cluster-update-tf/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# IaaS Cluster Deployment
# IaaS Cluster Update


<!-- This Terraform code is explained in the [Deploy a Cluster](https://docs.spectrocloud.com/clusters/public-cloud/deploy-k8s-cluster) tutorial. -->
<!-- This Terraform code is explained in the [Deploy a Cluster](https://docs.spectrocloud.com/clusters/public-cloud/deploy-k8s-cluster) tutorial. (TODO: Change once tutorial is written up) -->

This Terraform code has three main toggle variables that you can use to deploy to one of the following cloud providers.

Expand Down
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/cluster_profiles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,4 @@ resource "spectrocloud_cluster_profile" "gcp-profile-api" {
content = file("manifests/hello-universe-api.yaml")
}
}
}
}
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ data "spectrocloud_cluster" "gcp_cluster_api" {
context = "project"

depends_on = [spectrocloud_cluster_gcp.gcp-cluster-api]
}
}
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ variable "tags" {
"terraform_managed:true",
"tutorial:iaas-cluster-deployment-tf"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ spec:
- containerPort: 8080
env:
- name: API_URI
value: ${api_uri}
value: ${api_uri}
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ spec:
image: ghcr.io/spectrocloud/hello-universe-db:1.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5432
- containerPort: 5432
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ spec:
image: ghcr.io/spectrocloud/hello-universe:1.0.12
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
- containerPort: 8080
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ output "azure_hello_universe_api_ip" {
output "gcp_hello_universe_api_ip" {
description = "Instructions to retrieve the IP address of the hello-universe-api service deployed to GCP."
value = var.deploy-gcp ? "Use the following command to get the IP address of hello-universe-api service:\n\nexport KUBECONFIG=$(pwd)/gcp-cluster-api.kubeconfig && \\\nkubectl get service hello-universe-api-service --namespace hello-universe-api --output jsonpath='{.status.loadBalancer.ingress[0].ip}'" : null
}
}
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ terraform {

provider "spectrocloud" {
project_name = "Default"
}
}
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/ssh-key.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ resource "tls_private_key" "tutorial_ssh_key" {
count = var.deploy-azure ? 1 : 0
algorithm = "RSA"
rsa_bits = "4096"
}
}
2 changes: 1 addition & 1 deletion terraform/iaas-cluster-update-tf/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ gcp_worker_nodes = {
instance_type = "n1-standard-4"
disk_size_gb = "60"
availability_zones = ["REPLACE_ME"] # If you want to deploy to multiple AZs, add them here. Example: ["central1-a", "central1-b"]
}
}

0 comments on commit a50576b

Please sign in to comment.