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
source “vsphere-iso” “this” { | |
vcenter_server = var.vsphere_server | |
username = var.vsphere_user | |
password = var.vsphere_password | |
datacenter = var.datacenter | |
cluster = var.cluster | |
insecure_connection = true | |
vm_name = “tf-ubuntu-server-20.04” | |
guest_os_type = “ubuntu64Guest” |
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
provider "vsphere" { | |
vsphere_server = var.vsphere_server | |
user = var.vsphere_user | |
password = var.vsphere_password | |
# If you have a self-signed cert | |
allow_unverified_ssl = true | |
} | |
data "vsphere_datacenter" "dc" { |
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: v1 | |
kind: Namespace | |
metadata: | |
name: asm-gateway | |
annotations: | |
mesh.cloud.google.com/proxy: '{"managed":"true"}' | |
labels: | |
istio.io/rev: asm-managed-rapid |
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: v1 | |
kind: Namespace | |
metadata: | |
labels: | |
kubernetes.io/metadata.name: istio-system | |
topology.istio.io/network: [Cluster VPC Network Name] | |
name: istio-system | |
--- | |
apiVersion: mesh.cloud.google.com/v1beta1 | |
kind: ControlPlaneRevision |
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
# Global tags can be specified here in key="value" format. | |
[global_tags] | |
# Configuration for telegraf agent | |
[agent] | |
interval = "60s" | |
round_interval = true | |
metric_batch_size = 1000 | |
metric_buffer_limit = 10000 | |
collection_jitter = "0s" |
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
# Global tags can be specified here in key="value" format. | |
[global_tags] | |
# Configuration for telegraf agent | |
[agent] | |
interval = "5s" | |
round_interval = true | |
metric_batch_size = 1000 | |
metric_buffer_limit = 10000 | |
collection_jitter = "1s" |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: redis | |
version: "6.0" | |
name: redis | |
namespace: wordpress | |
spec: | |
replicas: 1 |
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: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: redis | |
version: "6.0" | |
name: redis | |
namespace: wordpress | |
spec: | |
ports: |
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: networking.istio.io/v1beta1 | |
kind: Gateway | |
metadata: | |
name: wordpressgateway | |
namespace: wordpress | |
spec: | |
selector: | |
istio: wordpressgateway | |
servers: | |
- hosts: |