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
--- | |
- hosts: all | |
vars: | |
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com | |
ubuntu_common_deploy_user_name: deploy | |
ubuntu_common_deploy_public_keys: | |
- ~/.ssh/id_rsa.pub |
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
--- | |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: nginx-default-backend | |
labels: | |
app: ingress-nginx | |
component: default-backend | |
k8s-addon: ingress-nginx.addons.k8s.io |
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
diff --git a/demo-rc-v0.1.yml b/demo-rc-v0.2.yml | |
index 985c09f..f464cdf 100644 | |
--- a/demo-rc-v0.1.yml | |
+++ b/demo-rc-v0.2.yml | |
@@ -2,25 +2,25 @@ | |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
- name: k8s-deployment-demo-controller-v1 | |
+ name: k8s-deployment-demo-controller-v2 |
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
aws ec2 wait instance-status-ok --instance-ids $(cat terraform.tfstate | jq '.modules[].resources[] | select(.type == "aws_instance") | .primary.attributes.id' | sed 's/\"//g' | tr '\n', ' '; echo '') |
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
resource "aws_s3_bucket" "state_store" { | |
bucket = "${var.name}-state" | |
acl = "private" | |
force_destroy = true | |
versioning { | |
enabled = true | |
} | |
... | |
} |
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
variable "image_url" { | |
default = "debian-cloud/debian-8" | |
} | |
resource "google_compute_disk" "seconddisk" { | |
name = "seconddisk" | |
type = "pd-standard" | |
zone = "us-west1-a" | |
size = "100" | |
} |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: nginx | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
spec: | |
rules: | |
- host: nginx.extdns.ryaneschinger.com | |
http: |
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
[0m[1maws_route53_zone.public: Refreshing state... (ID: ZPIIVVYPS22KD)[0m | |
[0m[1maws_route53_zone.public: Destroying...[0m[0m | |
2017/03/03 08:37:06 [INFO] Terraform version: 0.8.8 | |
2017/03/03 08:37:06 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.8.8/bin/terraform", "destroy", "-force"} | |
2017/03/03 08:37:06 [DEBUG] Detected home directory from env var: /Users/ryan | |
2017/03/03 08:37:06 [DEBUG] Detected home directory from env var: /Users/ryan | |
2017/03/03 08:37:06 [DEBUG] Attempting to open CLI config file: /Users/ryan/.terraformrc | |
2017/03/03 08:37:06 [INFO] Local triton provider configuration 'triton-terraform' overrides '/usr/local/Cellar/terraform/0.8.8/bin/terraform-TFSPACE-internal-plugin-TFSPACE-provider-TFSPACE-triton' | |
2017/03/03 08:37:06 [DEBUG] Detected home directory from env var: /Users/ryan | |
2017/03/03 08:37:06 [DEBUG] Checking resource noop: aws_route53_zone.public |
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
variable "region" { | |
default = "us-east-1" | |
} | |
variable "ssh_public_key" { | |
default = "~/.ssh/id_rsa.pub" | |
} | |
provider "aws" { | |
region = "${var.region}" |
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
defaults write com.google.Chrome DisablePrintPreview -boolean true |
NewerOlder