...
1label: Config Connector ContainerCluster
2markdownDescription: Creates yaml for a ContainerCluster resource
3insertText: |
4 apiVersion: container.cnrm.cloud.google.com/v1beta1
5 kind: ContainerCluster
6 metadata:
7 labels:
8 \${1:availability}: \${2:high}
9 \${3:target-audience}: \${4:production}
10 name: \${5:containercluster-name}
11 spec:
12 description: \${6:A large regional VPC-native cluster set up with special networking
13 considerations.}
14 location: \${7:us-central1}
15 initialNodeCount: \${8:1}
16 defaultMaxPodsPerNode: \${9:16}
17 nodeLocations:
18 - \${10:us-central1-a}
19 - \${11:us-central1-b}
20 - \${12:us-central1-c}
21 - \${13:us-central1-f}
22 workloadIdentityConfig:
23 workloadPool: \${14:[PROJECT_ID?].svc.id.goog}
24 networkingMode: \${15:VPC_NATIVE}
25 networkRef:
26 name: \${16:containercluster-dep-vpcnative}
27 subnetworkRef:
28 name: \${17:containercluster-dep-vpcnative}
29 ipAllocationPolicy:
30 servicesSecondaryRangeName: \${18:servicesrange}
31 clusterSecondaryRangeName: \${19:clusterrange}
32 clusterAutoscaling:
33 enabled: \${20:true}
34 autoscalingProfile: \${21:BALANCED}
35 resourceLimits:
36 - resourceType: \${22:cpu}
37 maximum: \${23:100}
38 minimum: \${24:10}
39 - resourceType: \${25:memory}
40 maximum: \${26:1000}
41 minimum: \${27:100}
42 maintenancePolicy:
43 dailyMaintenanceWindow:
44 startTime: \${28:00:00}
45 releaseChannel:
46 channel: \${29:STABLE}
47 notificationConfig:
48 pubsub:
49 enabled: \${30:true}
50 topicRef:
51 name: \${31:containercluster-dep-vpcnative}
52 enableBinaryAuthorization: \${32:true}
53 enableIntranodeVisibility: \${33:true}
54 enableShieldedNodes: \${34:true}
55 addonsConfig:
56 networkPolicyConfig:
57 disabled: \${35:false}
58 dnsCacheConfig:
59 enabled: \${36:true}
60 configConnectorConfig:
61 enabled: \${37:true}
62 networkPolicy:
63 enabled: \${38:true}
64 podSecurityPolicyConfig:
65 enabled: \${39:true}
66 verticalPodAutoscaling:
67 enabled: \${40:true}
View as plain text