This file contains hidden or 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
version: "3" | |
services: | |
master: | |
image: postgres:11 | |
environment: | |
POSTGRES_PASSWORD: abc123 | |
command: -c config_file=/etc/postgresql/postgresql.conf | |
volumes: | |
- ./postgresql.conf:/etc/postgresql/postgresql.conf |
This file contains hidden or 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
$ TF_LOG=TRACE terraform state show module.cluster.google_container_cluster.cluster | |
2019/07/03 09:53:16 [INFO] Terraform version: 0.12.3 | |
2019/07/03 09:53:16 [INFO] Go runtime version: go1.12.4 | |
2019/07/03 09:53:16 [INFO] CLI args: []string{"/home/abo/.local/bin/terraform", "state", "show", "module.cluster.google_container_cluster.cluster"} | |
2019/07/03 09:53:16 [DEBUG] Attempting to open CLI config file: /home/abo/.terraformrc | |
2019/07/03 09:53:16 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/07/03 09:53:16 [INFO] CLI command args: []string{"state", "show", "module.cluster.google_container_cluster.cluster"} | |
2019/07/03 09:53:16 [TRACE] Meta.Backend: BackendOpts.Config not set, so using settings loaded from backend.tf:2,3-16 | |
2019/07/03 09:53:16 [TRACE] Meta.Backend: built configuration for "gcs" backend with hash value 833976580 | |
2019/07/03 09:53:16 [TRACE] Preserving existing state lineage "0ed17ec6-dd41-f8c9-a82d-51233e47b7a7" |
This file contains hidden or 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
resource "kubernetes_config_map" "system" { | |
metadata { | |
name = "system" | |
namespace = "kube-system" | |
} | |
data { | |
project = "${var.project}" | |
clustername = "${var.cluster_name}" | |
} |
This file contains hidden or 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
provider "google" { | |
project = "my-project" | |
region = "europe-west1" | |
} | |
resource "google_container_cluster" "cluster" { | |
name = "tf-container-cluster-upgrade-bug" | |
node_version = "1.6.9" | |
#node_version = "1.7.5" | |
zone = "europe-west1-b" |