Skip to content

Instantly share code, notes, and snippets.

@jonchen727
jonchen727 / gcp-apis.md
Created January 25, 2024 17:50
GCP APIs
NAME TITLE
a10-thunder-adc-601b150-byol.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC 601 - BYOL
a10-vthunder-adc-100mbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC for Advanced Load Balancing - 100 Mbps
a10-vthunder-adc-10gbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC for Advanced Load Balancing - 10 Gbps
a10-vthunder-adc-1gbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC for Advanced Load Balancing - 1 Gbps
a10-vthunder-adc-200mbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC for Advanced Load Balancing - 200 Mbps
a10-vthunder-adc-20mbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC for Advanced Load Balancing - 20 Mbps
a10-vthunder-adc-500mbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC for Advanced Load Balancing - 500 Mbps
a10-vthunder-adc-5gbps.endpoints.a10networks-public-396315.cloud.goog A10 Thunder ADC f
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: wordpressgateway
namespace: wordpress
spec:
selector:
istio: wordpressgateway
servers:
- hosts:
@jonchen727
jonchen727 / redis-service.yaml
Created June 9, 2022 15:28
An example redis service with Istio required fields
apiVersion: v1
kind: Service
metadata:
labels:
app: redis
version: "6.0"
name: redis
namespace: wordpress
spec:
ports:
@jonchen727
jonchen727 / redis-deployment.yaml
Last active June 9, 2022 15:29
An example redis deployment with required Istio fields
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: redis
version: "6.0"
name: redis
namespace: wordpress
spec:
replicas: 1
@jonchen727
jonchen727 / envoy_dash.json
Created June 8, 2022 04:15
Grafana Dashboard for Enphase Envoy Monitoring
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@jonchen727
jonchen727 / envoyproductiontelegraf.conf
Created June 7, 2022 15:13
Telegraf Config for Envoy Production
# 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"
@jonchen727
jonchen727 / envoymoduletelegraf.conf
Created June 7, 2022 15:08
Telegraf Configuration to Pull Enphase Module Data
# 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"
@jonchen727
jonchen727 / managed-asm.yaml
Created May 19, 2022 19:46
GKE Autopilot ASM Manifests
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
@jonchen727
jonchen727 / gateway-namespace.yaml
Last active July 27, 2023 03:08
GKE Autopilot ASM and Ingress Gateway Manifests
apiVersion: v1
kind: Namespace
metadata:
name: asm-gateway
annotations:
mesh.cloud.google.com/proxy: '{"managed":"true"}'
labels:
istio.io/rev: asm-managed-rapid
@jonchen727
jonchen727 / vsphere_ubuntu_terraform.tf
Created July 21, 2021 15:54
vsphere ubuntu example
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" {