-
Notifications
You must be signed in to change notification settings - Fork 15
/
gke.yaml
35 lines (33 loc) · 698 Bytes
/
gke.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
apiVersion: container.gcp.crossplane.io/v1beta1
kind: GKECluster
metadata:
name: devops-toolkit
spec:
forProvider:
location: us-east1
initialClusterVersion: latest
---
apiVersion: container.gcp.crossplane.io/v1alpha1
kind: NodePool
metadata:
name: devops-toolkit
spec:
forProvider:
locations:
- us-east1-b
- us-east1-c
- us-east1-d
clusterRef:
name: devops-toolkit
initialNodeCount: 1
config:
preemptible: true
machineType: e2-standard-2
oauthScopes:
- https://www.googleapis.com/auth/cloud-platform
autoscaling:
enabled: true
minNodeCount: 1
maxNodeCount: 2
management:
autoUpgrade: false