-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
TestPrivateZonalWithNetworking.json
executable file
·299 lines (299 loc) · 10.2 KB
/
TestPrivateZonalWithNetworking.json
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
{
"addonsConfig": {
"configConnectorConfig": {},
"dnsCacheConfig": {},
"gcePersistentDiskCsiDriverConfig": {
"enabled": true
},
"gcpFilestoreCsiDriverConfig": {},
"gkeBackupAgentConfig": {},
"horizontalPodAutoscaling": {},
"httpLoadBalancing": {},
"kubernetesDashboard": {
"disabled": true
},
"networkPolicyConfig": {
"disabled": true
}
},
"autopilot": {},
"autoscaling": {
"autoscalingProfile": "BALANCED"
},
"binaryAuthorization": {},
"clusterIpv4Cidr": "192.168.0.0/18",
"createTime": "2022-12-05T05:04:41+00:00",
"currentMasterVersion": "1.24.7-gke.900",
"currentNodeCount": 1,
"currentNodeVersion": "1.24.7-gke.900",
"databaseEncryption": {
"currentState": "CURRENT_STATE_DECRYPTED",
"state": "DECRYPTED"
},
"defaultMaxPodsConstraint": {
"maxPodsPerNode": "110"
},
"endpoint": "172.16.0.2",
"id": "93338609c99a4728bd52fb080560168b8a703a1d586a49fd9331f4aad390fa08",
"initialClusterVersion": "1.24.7-gke.900",
"instanceGroupUrls": [
"https://www.googleapis.com/compute/v1/projects/PROJECT_ID/zones/us-east4-a/instanceGroupManagers/gke-CLUSTER_NAME-default-pool-cec46b41-grp",
"https://www.googleapis.com/compute/v1/projects/PROJECT_ID/zones/us-east4-a/instanceGroupManagers/gke-gke-on-vpc-clust-default-node-poo-391dc32f-grp"
],
"ipAllocationPolicy": {
"clusterIpv4Cidr": "192.168.0.0/18",
"clusterIpv4CidrBlock": "192.168.0.0/18",
"clusterSecondaryRangeName": "ip-range-pods",
"servicesIpv4Cidr": "192.168.64.0/18",
"servicesIpv4CidrBlock": "192.168.64.0/18",
"servicesSecondaryRangeName": "ip-range-svc",
"stackType": "IPV4",
"useIpAliases": true
},
"labelFingerprint": "a9dc16a7",
"legacyAbac": {},
"location": "us-east4-a",
"locations": [
"us-east4-a"
],
"loggingConfig": {
"componentConfig": {
"enableComponents": [
"SYSTEM_COMPONENTS",
"WORKLOADS"
]
}
},
"loggingService": "logging.googleapis.com/kubernetes",
"maintenancePolicy": {
"resourceVersion": "ce912209",
"window": {
"dailyMaintenanceWindow": {
"duration": "PT4H0M0S",
"startTime": "05:00"
}
}
},
"masterAuth": {
"clusterCaCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVMVENDQXBXZ0F3SUJBZ0lSQVBPNW5kQUlqVERpeW1ZaU1GbEh3TW93RFFZSktvWklodmNOQVFFTEJRQXcKTHpFdE1Dc0dBMVVFQXhNa01qWXdOMlUzWmpjdE1qTXpPQzAwWkdVeUxXRmtNMk10TkRWak1EWXpaVEkxWW1FdwpNQ0FYRFRJeU1USXdOVEEwTURRME1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REJUL0lIanRuNyt6QWZ5RTZjcGNaZm9oQmxmb2lpZTlXCnpGRXVQSzVoY1dBS1cyYnkyTmQvS0E1aFc5UURyYjA4VGdhbGQ5cjNaV1JlM0NCdDJvTmpnKzVYWXJhSzFsSlIKL2VwTjhCZUlTUFF3Q1EzY3MvQ0xnVDBYbTRlUG9ucDhCYk5LTjdTOFJqTmM1REcveTR6MW53cCt1RjhFR05iZApvUngrbnJrSmxybHFMVklSNTN2NXA0NXZwZ2ZkUjlvd0tXTG9YRE9Lc1ZSZE5BdFVKeXhXWXpHZUFEMHJ0UytqCkZoMGp1RDJ4LzhYUkplZnpTZldYTEUwdXdiUTd3b1RwMSs0WXBiSTVpV2ZtVXFqY0kyTjZvMTZBTWh5SmxMTmQKREgwd25uVnM1aldscGc0bVo0WmY2UkQ0YnhMdWFGY0J0aEp6ZTk4aDQwSGhTSHFVTnI2L1ZrRUIyRlRRNWd5MQpGS2dzWnZCSmVPU0NHVXdGWDI0VDhtR0NzZGN4SHpub1JOdHl6L094OEQvL3hhSC9mTjVxSFU1ek5Qb0xyVHZpCmNoT0Q1VWpIVFdza21vM24zVlp4bG9MMlA1WHpKc2FRdlBhRzBad0oyd2U0cGtKTFZ1RUFlN3lEOEIrMnRWOVIKU3laSWNJUTJ5K1lyVWE3alFXYmh3b0E9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
},
"masterAuthorizedNetworksConfig": {
"cidrBlocks": [
{
"cidrBlock": "10.0.0.0/17",
"displayName": "VPC"
}
],
"enabled": true
},
"monitoringConfig": {
"componentConfig": {
"enableComponents": [
"SYSTEM_COMPONENTS"
]
},
"managedPrometheusConfig": {}
},
"monitoringService": "monitoring.googleapis.com/kubernetes",
"name": "CLUSTER_NAME",
"network": "gke-network",
"networkConfig": {
"defaultSnatStatus": {},
"network": "projects/PROJECT_ID/global/networks/gke-network",
"serviceExternalIpsConfig": {},
"subnetwork": "projects/PROJECT_ID/regions/us-east4/subnetworks/gke-subnet"
},
"nodeConfig": {
"diskSizeGb": 100,
"diskType": "pd-balanced",
"imageType": "COS_CONTAINERD",
"loggingConfig": {
"variantConfig": {
"variant": "DEFAULT"
}
},
"machineType": "e2-medium",
"metadata": {
"disable-legacy-endpoints": "true"
},
"oauthScopes": [
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/cloud-platform"
],
"serviceAccount": "SERVICE_ACCOUNT",
"shieldedInstanceConfig": {
"enableIntegrityMonitoring": true
},
"tags": [
"gke-CLUSTER_NAME",
"gke-CLUSTER_NAME-default-pool"
],
"workloadMetadataConfig": {
"mode": "GKE_METADATA"
}
},
"nodePoolAutoConfig": {},
"nodePoolDefaults": {
"nodeConfigDefaults": {
"loggingConfig": {
"variantConfig": {
"variant": "DEFAULT"
}
}
}
},
"nodePools": [
{
"config": {
"diskSizeGb": 100,
"diskType": "pd-balanced",
"imageType": "COS_CONTAINERD",
"loggingConfig": {
"variantConfig": {
"variant": "DEFAULT"
}
},
"machineType": "e2-medium",
"metadata": {
"disable-legacy-endpoints": "true"
},
"oauthScopes": [
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/cloud-platform"
],
"serviceAccount": "SERVICE_ACCOUNT",
"shieldedInstanceConfig": {
"enableIntegrityMonitoring": true
},
"tags": [
"gke-CLUSTER_NAME",
"gke-CLUSTER_NAME-default-pool"
],
"workloadMetadataConfig": {
"mode": "GKE_METADATA"
}
},
"instanceGroupUrls": [
"https://www.googleapis.com/compute/v1/projects/PROJECT_ID/zones/us-east4-a/instanceGroupManagers/gke-CLUSTER_NAME-default-pool-cec46b41-grp"
],
"locations": [
"us-east4-a"
],
"management": {
"autoRepair": true,
"autoUpgrade": true
},
"maxPodsConstraint": {
"maxPodsPerNode": "110"
},
"name": "default-pool",
"networkConfig": {
"podIpv4CidrBlock": "192.168.0.0/18",
"podRange": "ip-range-pods"
},
"podIpv4CidrSize": 24,
"selfLink": "https://container.googleapis.com/v1/projects/PROJECT_ID/zones/us-east4-a/clusters/CLUSTER_NAME/nodePools/default-pool",
"status": "RUNNING",
"upgradeSettings": {
"maxSurge": 1,
"strategy": "SURGE"
},
"version": "1.24.7-gke.900"
},
{
"autoscaling": {
"enabled": true,
"locationPolicy": "BALANCED",
"maxNodeCount": 100,
"minNodeCount": 1
},
"config": {
"diskSizeGb": 100,
"diskType": "pd-standard",
"imageType": "COS_CONTAINERD",
"labels": {
"cluster_name": "CLUSTER_NAME",
"node_pool": "default-node-pool"
},
"loggingConfig": {
"variantConfig": {
"variant": "DEFAULT"
}
},
"machineType": "e2-medium",
"metadata": {
"cluster_name": "CLUSTER_NAME",
"disable-legacy-endpoints": "true",
"node_pool": "default-node-pool"
},
"oauthScopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"serviceAccount": "SERVICE_ACCOUNT",
"shieldedInstanceConfig": {
"enableIntegrityMonitoring": true
},
"tags": [
"gke-CLUSTER_NAME",
"gke-CLUSTER_NAME-default-node-pool"
],
"windowsNodeConfig" : {},
"workloadMetadataConfig": {
"mode": "GKE_METADATA"
}
},
"initialNodeCount": 1,
"instanceGroupUrls": [
"https://www.googleapis.com/compute/v1/projects/PROJECT_ID/zones/us-east4-a/instanceGroupManagers/gke-gke-on-vpc-clust-default-node-poo-391dc32f-grp"
],
"locations": [
"us-east4-a"
],
"management": {
"autoRepair": true
},
"maxPodsConstraint": {
"maxPodsPerNode": "110"
},
"name": "default-node-pool",
"networkConfig": {
"podIpv4CidrBlock": "192.168.0.0/18",
"podRange": "ip-range-pods"
},
"podIpv4CidrSize": 24,
"selfLink": "https://container.googleapis.com/v1/projects/PROJECT_ID/zones/us-east4-a/clusters/CLUSTER_NAME/nodePools/default-node-pool",
"status": "RUNNING",
"upgradeSettings": {
"maxSurge": 1,
"strategy": "SURGE"
},
"version": "1.24.7-gke.900"
}
],
"notificationConfig": {
"pubsub": {}
},
"privateClusterConfig": {
"enablePrivateEndpoint": true,
"enablePrivateNodes": true,
"masterGlobalAccessConfig": {
"enabled": true
},
"masterIpv4CidrBlock": "172.16.0.0/28",
"peeringName": "gke-n80aeadbcea76aa8b90b-c1fd-6749-peer",
"privateEndpoint": "172.16.0.2",
"publicEndpoint": "34.85.159.120"
},
"selfLink": "https://container.googleapis.com/v1/projects/PROJECT_ID/zones/us-east4-a/clusters/CLUSTER_NAME",
"servicesIpv4Cidr": "192.168.64.0/18",
"shieldedNodes": {
"enabled": true
},
"status": "RUNNING",
"subnetwork": "gke-subnet",
"verticalPodAutoscaling": {},
"workloadIdentityConfig": {
"workloadPool": "PROJECT_ID.svc.id.goog"
},
"zone": "us-east4-a"
}