Skip to content

Instantly share code, notes, and snippets.

View msfidelis's full-sized avatar
🐳
Ship!

Matheus Fidelis msfidelis

🐳
Ship!
View GitHub Profile
2022-07-06T16:20:11.486-0300 [INFO] Terraform version: 1.1.7
2022-07-06T16:20:11.486-0300 [INFO] Go runtime version: go1.17.2
2022-07-06T16:20:11.486-0300 [INFO] CLI args: []string{"terraform", "apply", "--target=kubernetes_manifest.karpenter_provisioner", "-auto-approve"}
2022-07-06T16:20:11.486-0300 [INFO] Terraform version: 1.1.7
2022-07-06T16:20:11.486-0300 [INFO] Go runtime version: go1.17.2
2022-07-06T16:20:11.486-0300 [INFO] CLI args: []string{"terraform", "apply", "--target=kubernetes_manifest.karpenter_provisioner", "-auto-approve"}
2022-07-06T16:20:11.486-0300 [DEBUG] Attempting to open CLI config file: /Users/matheus/.terraformrc
2022-07-06T16:20:11.486-0300 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-07-06T16:20:11.486-0300 [DEBUG] Attempting to open CLI config file: /Users/matheus/.terraformrc
2022-07-06T16:20:11.486-0300 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-03-14T12:24:33.202-0300 [INFO] Terraform version: 1.0.0
2022-03-14T12:24:33.202-0300 [INFO] Go runtime version: go1.16.4
2022-03-14T12:24:33.202-0300 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2022-03-14T12:24:33.203-0300 [TRACE] Stdout is a terminal of width 97
2022-03-14T12:24:33.203-0300 [TRACE] Stderr is a terminal of width 97
2022-03-14T12:24:33.203-0300 [TRACE] Stdin is a terminal
2022-03-14T12:24:33.203-0300 [DEBUG] Attempting to open CLI config file: /Users/matheus/.terraformrc
2022-03-14T12:24:33.203-0300 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-03-14T12:24:33.205-0300 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-03-14T12:24:33.205-0300 [DEBUG] ignoring non-existing provider search directory /Users/matheus/.terraform.d/plugins
2022-03-14T12:25:20.498-0300 [DEBUG] Adding temp file log sink: /var/folders/0_/rcqv54z5461_jpw8lmtcnm_w0000gn/T/terraform-log649509324
2022-03-14T12:25:20.498-0300 [INFO] Terraform version: 1.0.0
2022-03-14T12:25:20.498-0300 [INFO] Go runtime version: go1.16.4
2022-03-14T12:25:20.498-0300 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2022-03-14T12:25:20.499-0300 [DEBUG] Attempting to open CLI config file: /Users/matheus/.terraformrc
2022-03-14T12:25:20.499-0300 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-03-14T12:25:20.500-0300 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-03-14T12:25:20.500-0300 [DEBUG] ignoring non-existing provider search directory /Users/matheus/.terraform.d/plugins
2022-03-14T12:25:20.500-0300 [DEBUG] ignoring non-existing provider search directory /Users/matheus/Library/Application Support/io.terraform/plugins
2022-03-14T12:25:20.500-0300 [DEBUG] ignoring non-existing provider search directory /Library/Applicatio
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: traefik-ingress-controller
rules:
- apiGroups:
- ""
resources:
- services
# Retry Policy Example
- match:
prefix: "/"
route:
cluster: service_example
retry_policy:
retry_on: "5xx"
num_retries: 10
per_try_timeout: 2s
# ----
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8080 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
version: "3"
services:
status_app:
image: msfidelis/http-status-code:v1
ports:
- "9090:8080"
networks:
- developer
envoy_proxy:
hosts:
- socket_address:
address: "node_1"
port_value: 8000
- socket_address:
address: "node_2"
port_value: 8000
version: "3"
services:
node_1:
image: msfidelis/micro-api:v1
ports:
- "8001:8000"
networks:
- developer
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8080 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager