-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster.example.yaml
90 lines (90 loc) · 1.9 KB
/
cluster.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
name: my-cluster
project: my-project
project_create: true
region: europe-west1
zone: europe-west1-b
billing_account_id: ABC123-ABC123-ABC123
parent_id: "folders/123456789123"
# Kubernetes
k8s:
# IAP Bastion VM
bastion: true
# Network
subnets:
ip_cidr_range: "10.128.0.0/24"
secondary_ip_ranges:
pods: "10.130.0.0/16"
services: "10.132.0.0/24"
# Node count
node_count:
initial: 1
# GitOps cluster config
gitops:
branch: main
directory: /
repo: "https://github.com/joeheaton/k8s.1e100"
# Google Kubernetes Engine
gke:
# GKE Autopilot
autopilot: true
# Autoscaling
cluster_autoscaling:
cpu_limits:
max: 4
min: 1
mem_limits:
max: 8
min: 1
# Anthos Config Connector (requires: hub)
config_connector: false
# Anthos Config Management
config_sync: false
# GVNic
gvnic: true
# Anthos Fleet Management
hub: false
# HTTP LB
http_load_balancing: false
# Private cluster
private: true
# Managed Prometheus
prometheus: true
# Ops Agent
ops_agent: false
# Release Channel: STABLE, REGULAR, RAPID
release_channel: REGULAR
# Reserve Regional IP Address
reserve_regional_addresses: ["gke-ingress-regional"]
# Reserve Global IP Address
reserve_global_addresses: ["gke-ingress-global"]
# Node config
node_config:
disk_size_gb: 100
disk_type: "pd-standard"
preemptible: true
spot: true
# Workload identity
workload_identity: true
firewall:
egress: {}
ingress: {}
sql:
main:
availability_type: "ZONAL"
deletion_protection: true
flags: null
backup_configuration:
enabled: false
binary_log_enabled: false
start_time: "23:00"
location: null
log_retention_days: 7
retention_count: 7
databases: null
replicas: null
# region: europe-west1
# encryption_key_name: ""
tier: "db-f1-micro"
users: null
version: "POSTGRES_14"