-
Notifications
You must be signed in to change notification settings - Fork 68
/
zz_nodepool_types.go
executable file
·1449 lines (1031 loc) · 66.2 KB
/
zz_nodepool_types.go
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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type NetworkConfigNetworkPerformanceConfigInitParameters struct {
TotalEgressBandwidthTier *string `json:"totalEgressBandwidthTier,omitempty" tf:"total_egress_bandwidth_tier,omitempty"`
}
type NetworkConfigNetworkPerformanceConfigObservation struct {
TotalEgressBandwidthTier *string `json:"totalEgressBandwidthTier,omitempty" tf:"total_egress_bandwidth_tier,omitempty"`
}
type NetworkConfigNetworkPerformanceConfigParameters struct {
// +kubebuilder:validation:Optional
TotalEgressBandwidthTier *string `json:"totalEgressBandwidthTier" tf:"total_egress_bandwidth_tier,omitempty"`
}
type NodeConfigGuestAcceleratorGpuDriverInstallationConfigInitParameters struct {
// The Kubernetes version for the nodes in this pool. Note that if this field
// and auto_upgrade are both specified, they will fight each other for what the node version should
// be, so setting both is highly discouraged.
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty" tf:"gpu_driver_version"`
}
type NodeConfigGuestAcceleratorGpuDriverInstallationConfigObservation struct {
// The Kubernetes version for the nodes in this pool. Note that if this field
// and auto_upgrade are both specified, they will fight each other for what the node version should
// be, so setting both is highly discouraged.
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty" tf:"gpu_driver_version,omitempty"`
}
type NodeConfigGuestAcceleratorGpuDriverInstallationConfigParameters struct {
// The Kubernetes version for the nodes in this pool. Note that if this field
// and auto_upgrade are both specified, they will fight each other for what the node version should
// be, so setting both is highly discouraged.
// +kubebuilder:validation:Optional
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty" tf:"gpu_driver_version"`
}
type NodeConfigGuestAcceleratorGpuSharingConfigInitParameters struct {
GpuSharingStrategy *string `json:"gpuSharingStrategy,omitempty" tf:"gpu_sharing_strategy"`
MaxSharedClientsPerGpu *float64 `json:"maxSharedClientsPerGpu,omitempty" tf:"max_shared_clients_per_gpu"`
}
type NodeConfigGuestAcceleratorGpuSharingConfigObservation struct {
GpuSharingStrategy *string `json:"gpuSharingStrategy,omitempty" tf:"gpu_sharing_strategy,omitempty"`
MaxSharedClientsPerGpu *float64 `json:"maxSharedClientsPerGpu,omitempty" tf:"max_shared_clients_per_gpu,omitempty"`
}
type NodeConfigGuestAcceleratorGpuSharingConfigParameters struct {
// +kubebuilder:validation:Optional
GpuSharingStrategy *string `json:"gpuSharingStrategy,omitempty" tf:"gpu_sharing_strategy"`
// +kubebuilder:validation:Optional
MaxSharedClientsPerGpu *float64 `json:"maxSharedClientsPerGpu,omitempty" tf:"max_shared_clients_per_gpu"`
}
type NodeConfigSoleTenantConfigNodeAffinityInitParameters struct {
Key *string `json:"key,omitempty" tf:"key,omitempty"`
Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type NodeConfigSoleTenantConfigNodeAffinityObservation struct {
Key *string `json:"key,omitempty" tf:"key,omitempty"`
Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type NodeConfigSoleTenantConfigNodeAffinityParameters struct {
// +kubebuilder:validation:Optional
Key *string `json:"key" tf:"key,omitempty"`
// +kubebuilder:validation:Optional
Operator *string `json:"operator" tf:"operator,omitempty"`
// +kubebuilder:validation:Optional
Values []*string `json:"values" tf:"values,omitempty"`
}
type NodePoolAutoscalingInitParameters struct {
// Location policy specifies the algorithm used when
// scaling-up the node pool. Location policy is supported only in 1.24.1+ clusters.
LocationPolicy *string `json:"locationPolicy,omitempty" tf:"location_policy,omitempty"`
// Maximum number of nodes per zone in the NodePool.
// Must be >= min_node_count. Cannot be used with total limits.
MaxNodeCount *float64 `json:"maxNodeCount,omitempty" tf:"max_node_count,omitempty"`
// Minimum number of nodes per zone in the NodePool.
// Must be >=0 and <= max_node_count. Cannot be used with total limits.
MinNodeCount *float64 `json:"minNodeCount,omitempty" tf:"min_node_count,omitempty"`
// Total maximum number of nodes in the NodePool.
// Must be >= total_min_node_count. Cannot be used with per zone limits.
// Total size limits are supported only in 1.24.1+ clusters.
TotalMaxNodeCount *float64 `json:"totalMaxNodeCount,omitempty" tf:"total_max_node_count,omitempty"`
// Total minimum number of nodes in the NodePool.
// Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.
// Total size limits are supported only in 1.24.1+ clusters.
TotalMinNodeCount *float64 `json:"totalMinNodeCount,omitempty" tf:"total_min_node_count,omitempty"`
}
type NodePoolAutoscalingObservation struct {
// Location policy specifies the algorithm used when
// scaling-up the node pool. Location policy is supported only in 1.24.1+ clusters.
LocationPolicy *string `json:"locationPolicy,omitempty" tf:"location_policy,omitempty"`
// Maximum number of nodes per zone in the NodePool.
// Must be >= min_node_count. Cannot be used with total limits.
MaxNodeCount *float64 `json:"maxNodeCount,omitempty" tf:"max_node_count,omitempty"`
// Minimum number of nodes per zone in the NodePool.
// Must be >=0 and <= max_node_count. Cannot be used with total limits.
MinNodeCount *float64 `json:"minNodeCount,omitempty" tf:"min_node_count,omitempty"`
// Total maximum number of nodes in the NodePool.
// Must be >= total_min_node_count. Cannot be used with per zone limits.
// Total size limits are supported only in 1.24.1+ clusters.
TotalMaxNodeCount *float64 `json:"totalMaxNodeCount,omitempty" tf:"total_max_node_count,omitempty"`
// Total minimum number of nodes in the NodePool.
// Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.
// Total size limits are supported only in 1.24.1+ clusters.
TotalMinNodeCount *float64 `json:"totalMinNodeCount,omitempty" tf:"total_min_node_count,omitempty"`
}
type NodePoolAutoscalingParameters struct {
// Location policy specifies the algorithm used when
// scaling-up the node pool. Location policy is supported only in 1.24.1+ clusters.
// +kubebuilder:validation:Optional
LocationPolicy *string `json:"locationPolicy,omitempty" tf:"location_policy,omitempty"`
// Maximum number of nodes per zone in the NodePool.
// Must be >= min_node_count. Cannot be used with total limits.
// +kubebuilder:validation:Optional
MaxNodeCount *float64 `json:"maxNodeCount,omitempty" tf:"max_node_count,omitempty"`
// Minimum number of nodes per zone in the NodePool.
// Must be >=0 and <= max_node_count. Cannot be used with total limits.
// +kubebuilder:validation:Optional
MinNodeCount *float64 `json:"minNodeCount,omitempty" tf:"min_node_count,omitempty"`
// Total maximum number of nodes in the NodePool.
// Must be >= total_min_node_count. Cannot be used with per zone limits.
// Total size limits are supported only in 1.24.1+ clusters.
// +kubebuilder:validation:Optional
TotalMaxNodeCount *float64 `json:"totalMaxNodeCount,omitempty" tf:"total_max_node_count,omitempty"`
// Total minimum number of nodes in the NodePool.
// Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.
// Total size limits are supported only in 1.24.1+ clusters.
// +kubebuilder:validation:Optional
TotalMinNodeCount *float64 `json:"totalMinNodeCount,omitempty" tf:"total_min_node_count,omitempty"`
}
type NodePoolInitParameters_2 struct {
// Configuration required by cluster autoscaler to adjust
// the size of the node pool to the current cluster usage. Structure is documented below.
Autoscaling []NodePoolAutoscalingInitParameters `json:"autoscaling,omitempty" tf:"autoscaling,omitempty"`
// The initial number of nodes for the pool. In
// regional or multi-zonal clusters, this is the number of nodes per zone. Changing
// this will force recreation of the resource. If you don't
// need this value, don't set it. If you do need it, you can use a lifecycle block to
// ignore subsequent changes to this field.
InitialNodeCount *float64 `json:"initialNodeCount,omitempty" tf:"initial_node_count,omitempty"`
// Node management configuration, wherein auto-repair and
// auto-upgrade is configured. Structure is documented below.
Management []NodePoolManagementInitParameters_2 `json:"management,omitempty" tf:"management,omitempty"`
// The maximum number of pods per node in this node pool.
// Note that this does not work on node pools which are "route-based" - that is, node
// pools belonging to clusters that do not have IP Aliasing enabled.
// See the official documentation
// for more information.
MaxPodsPerNode *float64 `json:"maxPodsPerNode,omitempty" tf:"max_pods_per_node,omitempty"`
// The network configuration of the pool. Such as
// configuration for Adding Pod IP address ranges) to the node pool. Or enabling private nodes. Structure is
// documented below
NetworkConfig []NodePoolNetworkConfigInitParameters `json:"networkConfig,omitempty" tf:"network_config,omitempty"`
// Parameters used in creating the node pool. See
// google_container_cluster for schema.
// +listType=map
// +listMapKey=index
NodeConfig []NodePoolNodeConfigInitParameters_2 `json:"nodeConfig,omitempty" tf:"node_config,omitempty"`
// The number of nodes per instance group. This field can be used to
// update the number of nodes per instance group but should not be used alongside autoscaling.
NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`
// The list of zones in which the node pool's nodes should be located. Nodes must
// be in the region of their regional cluster or in the same region as their
// cluster's zone for zonal clusters. If unspecified, the cluster-level
// node_locations will be used.
// +listType=set
NodeLocations []*string `json:"nodeLocations,omitempty" tf:"node_locations,omitempty"`
// Specifies a custom placement policy for the
// nodes.
PlacementPolicy []NodePoolPlacementPolicyInitParameters `json:"placementPolicy,omitempty" tf:"placement_policy,omitempty"`
// The ID of the project in which to create the node pool. If blank,
// the provider-configured project will be used.
Project *string `json:"project,omitempty" tf:"project,omitempty"`
// Specify node upgrade settings to change how GKE upgrades nodes.
// The maximum number of nodes upgraded simultaneously is limited to 20. Structure is documented below.
UpgradeSettings []NodePoolUpgradeSettingsInitParameters_2 `json:"upgradeSettings,omitempty" tf:"upgrade_settings,omitempty"`
// The Kubernetes version for the nodes in this pool. Note that if this field
// and auto_upgrade are both specified, they will fight each other for what the node version should
// be, so setting both is highly discouraged.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
type NodePoolManagementInitParameters_2 struct {
// Whether the nodes will be automatically repaired. Enabled by default.
AutoRepair *bool `json:"autoRepair,omitempty" tf:"auto_repair,omitempty"`
// Whether the nodes will be automatically upgraded. Enabled by default.
AutoUpgrade *bool `json:"autoUpgrade,omitempty" tf:"auto_upgrade,omitempty"`
}
type NodePoolManagementObservation_2 struct {
// Whether the nodes will be automatically repaired. Enabled by default.
AutoRepair *bool `json:"autoRepair,omitempty" tf:"auto_repair,omitempty"`
// Whether the nodes will be automatically upgraded. Enabled by default.
AutoUpgrade *bool `json:"autoUpgrade,omitempty" tf:"auto_upgrade,omitempty"`
}
type NodePoolManagementParameters_2 struct {
// Whether the nodes will be automatically repaired. Enabled by default.
// +kubebuilder:validation:Optional
AutoRepair *bool `json:"autoRepair,omitempty" tf:"auto_repair,omitempty"`
// Whether the nodes will be automatically upgraded. Enabled by default.
// +kubebuilder:validation:Optional
AutoUpgrade *bool `json:"autoUpgrade,omitempty" tf:"auto_upgrade,omitempty"`
}
type NodePoolNetworkConfigInitParameters struct {
// Whether to create a new range for pod IPs in this node pool. Defaults are provided for pod_range and pod_ipv4_cidr_block if they are not specified.
CreatePodRange *bool `json:"createPodRange,omitempty" tf:"create_pod_range,omitempty"`
// Whether nodes have internal IP addresses only.
EnablePrivateNodes *bool `json:"enablePrivateNodes,omitempty" tf:"enable_private_nodes,omitempty"`
NetworkPerformanceConfig []NetworkConfigNetworkPerformanceConfigInitParameters `json:"networkPerformanceConfig,omitempty" tf:"network_performance_config,omitempty"`
PodCidrOverprovisionConfig []NodePoolNetworkConfigPodCidrOverprovisionConfigInitParameters `json:"podCidrOverprovisionConfig,omitempty" tf:"pod_cidr_overprovision_config,omitempty"`
// The IP address range for pod IPs in this node pool. Only applicable if createPodRange is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) to pick a specific range to use.
PodIPv4CidrBlock *string `json:"podIpv4CidrBlock,omitempty" tf:"pod_ipv4_cidr_block,omitempty"`
// The ID of the secondary range for pod IPs. If create_pod_range is true, this ID is used for the new range. If create_pod_range is false, uses an existing secondary range with this ID.
PodRange *string `json:"podRange,omitempty" tf:"pod_range,omitempty"`
}
type NodePoolNetworkConfigObservation struct {
// Whether to create a new range for pod IPs in this node pool. Defaults are provided for pod_range and pod_ipv4_cidr_block if they are not specified.
CreatePodRange *bool `json:"createPodRange,omitempty" tf:"create_pod_range,omitempty"`
// Whether nodes have internal IP addresses only.
EnablePrivateNodes *bool `json:"enablePrivateNodes,omitempty" tf:"enable_private_nodes,omitempty"`
NetworkPerformanceConfig []NetworkConfigNetworkPerformanceConfigObservation `json:"networkPerformanceConfig,omitempty" tf:"network_performance_config,omitempty"`
PodCidrOverprovisionConfig []NodePoolNetworkConfigPodCidrOverprovisionConfigObservation `json:"podCidrOverprovisionConfig,omitempty" tf:"pod_cidr_overprovision_config,omitempty"`
// The IP address range for pod IPs in this node pool. Only applicable if createPodRange is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) to pick a specific range to use.
PodIPv4CidrBlock *string `json:"podIpv4CidrBlock,omitempty" tf:"pod_ipv4_cidr_block,omitempty"`
// The ID of the secondary range for pod IPs. If create_pod_range is true, this ID is used for the new range. If create_pod_range is false, uses an existing secondary range with this ID.
PodRange *string `json:"podRange,omitempty" tf:"pod_range,omitempty"`
}
type NodePoolNetworkConfigParameters struct {
// Whether to create a new range for pod IPs in this node pool. Defaults are provided for pod_range and pod_ipv4_cidr_block if they are not specified.
// +kubebuilder:validation:Optional
CreatePodRange *bool `json:"createPodRange,omitempty" tf:"create_pod_range,omitempty"`
// Whether nodes have internal IP addresses only.
// +kubebuilder:validation:Optional
EnablePrivateNodes *bool `json:"enablePrivateNodes,omitempty" tf:"enable_private_nodes,omitempty"`
// +kubebuilder:validation:Optional
NetworkPerformanceConfig []NetworkConfigNetworkPerformanceConfigParameters `json:"networkPerformanceConfig,omitempty" tf:"network_performance_config,omitempty"`
// +kubebuilder:validation:Optional
PodCidrOverprovisionConfig []NodePoolNetworkConfigPodCidrOverprovisionConfigParameters `json:"podCidrOverprovisionConfig,omitempty" tf:"pod_cidr_overprovision_config,omitempty"`
// The IP address range for pod IPs in this node pool. Only applicable if createPodRange is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) to pick a specific range to use.
// +kubebuilder:validation:Optional
PodIPv4CidrBlock *string `json:"podIpv4CidrBlock,omitempty" tf:"pod_ipv4_cidr_block,omitempty"`
// The ID of the secondary range for pod IPs. If create_pod_range is true, this ID is used for the new range. If create_pod_range is false, uses an existing secondary range with this ID.
// +kubebuilder:validation:Optional
PodRange *string `json:"podRange,omitempty" tf:"pod_range,omitempty"`
}
type NodePoolNetworkConfigPodCidrOverprovisionConfigInitParameters struct {
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
}
type NodePoolNetworkConfigPodCidrOverprovisionConfigObservation struct {
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
}
type NodePoolNetworkConfigPodCidrOverprovisionConfigParameters struct {
// +kubebuilder:validation:Optional
Disabled *bool `json:"disabled" tf:"disabled,omitempty"`
}
type NodePoolNodeConfigAdvancedMachineFeaturesInitParameters struct {
ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"`
}
type NodePoolNodeConfigAdvancedMachineFeaturesObservation struct {
ThreadsPerCore *float64 `json:"threadsPerCore,omitempty" tf:"threads_per_core,omitempty"`
}
type NodePoolNodeConfigAdvancedMachineFeaturesParameters struct {
// +kubebuilder:validation:Optional
ThreadsPerCore *float64 `json:"threadsPerCore" tf:"threads_per_core,omitempty"`
}
type NodePoolNodeConfigConfidentialNodesInitParameters_2 struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigConfidentialNodesObservation_2 struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigConfidentialNodesParameters_2 struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigEffectiveTaintsInitParameters struct {
}
type NodePoolNodeConfigEffectiveTaintsObservation struct {
Effect *string `json:"effect,omitempty" tf:"effect,omitempty"`
Key *string `json:"key,omitempty" tf:"key,omitempty"`
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type NodePoolNodeConfigEffectiveTaintsParameters struct {
}
type NodePoolNodeConfigEphemeralStorageLocalSsdConfigInitParameters struct {
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
}
type NodePoolNodeConfigEphemeralStorageLocalSsdConfigObservation struct {
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
}
type NodePoolNodeConfigEphemeralStorageLocalSsdConfigParameters struct {
// +kubebuilder:validation:Optional
LocalSsdCount *float64 `json:"localSsdCount" tf:"local_ssd_count,omitempty"`
}
type NodePoolNodeConfigFastSocketInitParameters struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigFastSocketObservation struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigFastSocketParameters struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigGcfsConfigInitParameters struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigGcfsConfigObservation struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigGcfsConfigParameters struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigGuestAcceleratorInitParameters struct {
Count *float64 `json:"count,omitempty" tf:"count"`
GpuDriverInstallationConfig []NodeConfigGuestAcceleratorGpuDriverInstallationConfigInitParameters `json:"gpuDriverInstallationConfig,omitempty" tf:"gpu_driver_installation_config"`
GpuPartitionSize *string `json:"gpuPartitionSize,omitempty" tf:"gpu_partition_size"`
GpuSharingConfig []NodeConfigGuestAcceleratorGpuSharingConfigInitParameters `json:"gpuSharingConfig,omitempty" tf:"gpu_sharing_config"`
// The type of the policy. Supports a single value: COMPACT.
// Specifying COMPACT placement policy type places node pool's nodes in a closer
// physical proximity in order to reduce network latency between nodes.
Type *string `json:"type,omitempty" tf:"type"`
}
type NodePoolNodeConfigGuestAcceleratorObservation struct {
Count *float64 `json:"count,omitempty" tf:"count,omitempty"`
GpuDriverInstallationConfig []NodeConfigGuestAcceleratorGpuDriverInstallationConfigObservation `json:"gpuDriverInstallationConfig,omitempty" tf:"gpu_driver_installation_config,omitempty"`
GpuPartitionSize *string `json:"gpuPartitionSize,omitempty" tf:"gpu_partition_size,omitempty"`
GpuSharingConfig []NodeConfigGuestAcceleratorGpuSharingConfigObservation `json:"gpuSharingConfig,omitempty" tf:"gpu_sharing_config,omitempty"`
// The type of the policy. Supports a single value: COMPACT.
// Specifying COMPACT placement policy type places node pool's nodes in a closer
// physical proximity in order to reduce network latency between nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
}
type NodePoolNodeConfigGuestAcceleratorParameters struct {
// +kubebuilder:validation:Optional
Count *float64 `json:"count,omitempty" tf:"count"`
// +kubebuilder:validation:Optional
GpuDriverInstallationConfig []NodeConfigGuestAcceleratorGpuDriverInstallationConfigParameters `json:"gpuDriverInstallationConfig,omitempty" tf:"gpu_driver_installation_config"`
// +kubebuilder:validation:Optional
GpuPartitionSize *string `json:"gpuPartitionSize,omitempty" tf:"gpu_partition_size"`
// +kubebuilder:validation:Optional
GpuSharingConfig []NodeConfigGuestAcceleratorGpuSharingConfigParameters `json:"gpuSharingConfig,omitempty" tf:"gpu_sharing_config"`
// The type of the policy. Supports a single value: COMPACT.
// Specifying COMPACT placement policy type places node pool's nodes in a closer
// physical proximity in order to reduce network latency between nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type"`
}
type NodePoolNodeConfigGvnicInitParameters struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigGvnicObservation struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigGvnicParameters struct {
// Makes nodes obtainable through the ProvisioningRequest API exclusively.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}
type NodePoolNodeConfigHostMaintenancePolicyInitParameters struct {
MaintenanceInterval *string `json:"maintenanceInterval,omitempty" tf:"maintenance_interval,omitempty"`
}
type NodePoolNodeConfigHostMaintenancePolicyObservation struct {
MaintenanceInterval *string `json:"maintenanceInterval,omitempty" tf:"maintenance_interval,omitempty"`
}
type NodePoolNodeConfigHostMaintenancePolicyParameters struct {
// +kubebuilder:validation:Optional
MaintenanceInterval *string `json:"maintenanceInterval" tf:"maintenance_interval,omitempty"`
}
type NodePoolNodeConfigInitParameters_2 struct {
AdvancedMachineFeatures []NodePoolNodeConfigAdvancedMachineFeaturesInitParameters `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"`
BootDiskKMSKey *string `json:"bootDiskKmsKey,omitempty" tf:"boot_disk_kms_key,omitempty"`
// Configuration for Confidential Nodes feature. Structure is documented below.
ConfidentialNodes []NodePoolNodeConfigConfidentialNodesInitParameters_2 `json:"confidentialNodes,omitempty" tf:"confidential_nodes,omitempty"`
DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"`
DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`
EnableConfidentialStorage *bool `json:"enableConfidentialStorage,omitempty" tf:"enable_confidential_storage,omitempty"`
EphemeralStorageLocalSsdConfig []NodePoolNodeConfigEphemeralStorageLocalSsdConfigInitParameters `json:"ephemeralStorageLocalSsdConfig,omitempty" tf:"ephemeral_storage_local_ssd_config,omitempty"`
FastSocket []NodePoolNodeConfigFastSocketInitParameters `json:"fastSocket,omitempty" tf:"fast_socket,omitempty"`
GcfsConfig []NodePoolNodeConfigGcfsConfigInitParameters `json:"gcfsConfig,omitempty" tf:"gcfs_config,omitempty"`
GuestAccelerator []NodePoolNodeConfigGuestAcceleratorInitParameters `json:"guestAccelerator,omitempty" tf:"guest_accelerator,omitempty"`
Gvnic []NodePoolNodeConfigGvnicInitParameters `json:"gvnic,omitempty" tf:"gvnic,omitempty"`
HostMaintenancePolicy []NodePoolNodeConfigHostMaintenancePolicyInitParameters `json:"hostMaintenancePolicy,omitempty" tf:"host_maintenance_policy,omitempty"`
ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`
// This is an injected field with a default value for being able to merge items of the parent object list.
// +kubebuilder:default:="0"
Index *string `json:"index,omitempty" tf:"-"`
KubeletConfig []NodePoolNodeConfigKubeletConfigInitParameters `json:"kubeletConfig,omitempty" tf:"kubelet_config,omitempty"`
// +mapType=granular
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Parameters used in creating the node pool. See
// google_container_cluster for schema.
LinuxNodeConfig []NodePoolNodeConfigLinuxNodeConfigInitParameters `json:"linuxNodeConfig,omitempty" tf:"linux_node_config,omitempty"`
LocalNvmeSsdBlockConfig []NodePoolNodeConfigLocalNvmeSsdBlockConfigInitParameters `json:"localNvmeSsdBlockConfig,omitempty" tf:"local_nvme_ssd_block_config,omitempty"`
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
LoggingVariant *string `json:"loggingVariant,omitempty" tf:"logging_variant,omitempty"`
MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`
// +mapType=granular
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
MinCPUPlatform *string `json:"minCpuPlatform,omitempty" tf:"min_cpu_platform,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty" tf:"node_group,omitempty"`
// +listType=set
OAuthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
ReservationAffinity []NodePoolNodeConfigReservationAffinityInitParameters `json:"reservationAffinity,omitempty" tf:"reservation_affinity,omitempty"`
// +mapType=granular
ResourceLabels map[string]*string `json:"resourceLabels,omitempty" tf:"resource_labels,omitempty"`
// +mapType=granular
ResourceManagerTags map[string]*string `json:"resourceManagerTags,omitempty" tf:"resource_manager_tags,omitempty"`
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("email",true)
ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`
// Reference to a ServiceAccount in cloudplatform to populate serviceAccount.
// +kubebuilder:validation:Optional
ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`
// Selector for a ServiceAccount in cloudplatform to populate serviceAccount.
// +kubebuilder:validation:Optional
ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`
ShieldedInstanceConfig []NodePoolNodeConfigShieldedInstanceConfigInitParameters_2 `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`
SoleTenantConfig []NodePoolNodeConfigSoleTenantConfigInitParameters `json:"soleTenantConfig,omitempty" tf:"sole_tenant_config,omitempty"`
Spot *bool `json:"spot,omitempty" tf:"spot,omitempty"`
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
Taint []NodePoolNodeConfigTaintInitParameters `json:"taint,omitempty" tf:"taint,omitempty"`
WorkloadMetadataConfig []NodePoolNodeConfigWorkloadMetadataConfigInitParameters `json:"workloadMetadataConfig,omitempty" tf:"workload_metadata_config,omitempty"`
}
type NodePoolNodeConfigKubeletConfigInitParameters struct {
CPUCfsQuota *bool `json:"cpuCfsQuota,omitempty" tf:"cpu_cfs_quota,omitempty"`
CPUCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty" tf:"cpu_cfs_quota_period,omitempty"`
CPUManagerPolicy *string `json:"cpuManagerPolicy,omitempty" tf:"cpu_manager_policy,omitempty"`
PodPidsLimit *float64 `json:"podPidsLimit,omitempty" tf:"pod_pids_limit,omitempty"`
}
type NodePoolNodeConfigKubeletConfigObservation struct {
CPUCfsQuota *bool `json:"cpuCfsQuota,omitempty" tf:"cpu_cfs_quota,omitempty"`
CPUCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty" tf:"cpu_cfs_quota_period,omitempty"`
CPUManagerPolicy *string `json:"cpuManagerPolicy,omitempty" tf:"cpu_manager_policy,omitempty"`
PodPidsLimit *float64 `json:"podPidsLimit,omitempty" tf:"pod_pids_limit,omitempty"`
}
type NodePoolNodeConfigKubeletConfigParameters struct {
// +kubebuilder:validation:Optional
CPUCfsQuota *bool `json:"cpuCfsQuota,omitempty" tf:"cpu_cfs_quota,omitempty"`
// +kubebuilder:validation:Optional
CPUCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty" tf:"cpu_cfs_quota_period,omitempty"`
// +kubebuilder:validation:Optional
CPUManagerPolicy *string `json:"cpuManagerPolicy" tf:"cpu_manager_policy,omitempty"`
// +kubebuilder:validation:Optional
PodPidsLimit *float64 `json:"podPidsLimit,omitempty" tf:"pod_pids_limit,omitempty"`
}
type NodePoolNodeConfigLinuxNodeConfigInitParameters struct {
CgroupMode *string `json:"cgroupMode,omitempty" tf:"cgroup_mode,omitempty"`
// +mapType=granular
Sysctls map[string]*string `json:"sysctls,omitempty" tf:"sysctls,omitempty"`
}
type NodePoolNodeConfigLinuxNodeConfigObservation struct {
CgroupMode *string `json:"cgroupMode,omitempty" tf:"cgroup_mode,omitempty"`
// +mapType=granular
Sysctls map[string]*string `json:"sysctls,omitempty" tf:"sysctls,omitempty"`
}
type NodePoolNodeConfigLinuxNodeConfigParameters struct {
// +kubebuilder:validation:Optional
CgroupMode *string `json:"cgroupMode,omitempty" tf:"cgroup_mode,omitempty"`
// +kubebuilder:validation:Optional
// +mapType=granular
Sysctls map[string]*string `json:"sysctls,omitempty" tf:"sysctls,omitempty"`
}
type NodePoolNodeConfigLocalNvmeSsdBlockConfigInitParameters struct {
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
}
type NodePoolNodeConfigLocalNvmeSsdBlockConfigObservation struct {
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
}
type NodePoolNodeConfigLocalNvmeSsdBlockConfigParameters struct {
// +kubebuilder:validation:Optional
LocalSsdCount *float64 `json:"localSsdCount" tf:"local_ssd_count,omitempty"`
}
type NodePoolNodeConfigObservation_2 struct {
AdvancedMachineFeatures []NodePoolNodeConfigAdvancedMachineFeaturesObservation `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"`
BootDiskKMSKey *string `json:"bootDiskKmsKey,omitempty" tf:"boot_disk_kms_key,omitempty"`
// Configuration for Confidential Nodes feature. Structure is documented below.
ConfidentialNodes []NodePoolNodeConfigConfidentialNodesObservation_2 `json:"confidentialNodes,omitempty" tf:"confidential_nodes,omitempty"`
DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"`
DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`
EffectiveTaints []NodePoolNodeConfigEffectiveTaintsObservation `json:"effectiveTaints,omitempty" tf:"effective_taints,omitempty"`
EnableConfidentialStorage *bool `json:"enableConfidentialStorage,omitempty" tf:"enable_confidential_storage,omitempty"`
EphemeralStorageLocalSsdConfig []NodePoolNodeConfigEphemeralStorageLocalSsdConfigObservation `json:"ephemeralStorageLocalSsdConfig,omitempty" tf:"ephemeral_storage_local_ssd_config,omitempty"`
FastSocket []NodePoolNodeConfigFastSocketObservation `json:"fastSocket,omitempty" tf:"fast_socket,omitempty"`
GcfsConfig []NodePoolNodeConfigGcfsConfigObservation `json:"gcfsConfig,omitempty" tf:"gcfs_config,omitempty"`
GuestAccelerator []NodePoolNodeConfigGuestAcceleratorObservation `json:"guestAccelerator,omitempty" tf:"guest_accelerator,omitempty"`
Gvnic []NodePoolNodeConfigGvnicObservation `json:"gvnic,omitempty" tf:"gvnic,omitempty"`
HostMaintenancePolicy []NodePoolNodeConfigHostMaintenancePolicyObservation `json:"hostMaintenancePolicy,omitempty" tf:"host_maintenance_policy,omitempty"`
ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`
// This is an injected field with a default value for being able to merge items of the parent object list.
// +kubebuilder:default:="0"
Index *string `json:"index,omitempty" tf:"-"`
KubeletConfig []NodePoolNodeConfigKubeletConfigObservation `json:"kubeletConfig,omitempty" tf:"kubelet_config,omitempty"`
// +mapType=granular
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Parameters used in creating the node pool. See
// google_container_cluster for schema.
LinuxNodeConfig []NodePoolNodeConfigLinuxNodeConfigObservation `json:"linuxNodeConfig,omitempty" tf:"linux_node_config,omitempty"`
LocalNvmeSsdBlockConfig []NodePoolNodeConfigLocalNvmeSsdBlockConfigObservation `json:"localNvmeSsdBlockConfig,omitempty" tf:"local_nvme_ssd_block_config,omitempty"`
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
LoggingVariant *string `json:"loggingVariant,omitempty" tf:"logging_variant,omitempty"`
MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`
// +mapType=granular
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
MinCPUPlatform *string `json:"minCpuPlatform,omitempty" tf:"min_cpu_platform,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty" tf:"node_group,omitempty"`
// +listType=set
OAuthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
ReservationAffinity []NodePoolNodeConfigReservationAffinityObservation `json:"reservationAffinity,omitempty" tf:"reservation_affinity,omitempty"`
// +mapType=granular
ResourceLabels map[string]*string `json:"resourceLabels,omitempty" tf:"resource_labels,omitempty"`
// +mapType=granular
ResourceManagerTags map[string]*string `json:"resourceManagerTags,omitempty" tf:"resource_manager_tags,omitempty"`
ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`
ShieldedInstanceConfig []NodePoolNodeConfigShieldedInstanceConfigObservation_2 `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`
SoleTenantConfig []NodePoolNodeConfigSoleTenantConfigObservation `json:"soleTenantConfig,omitempty" tf:"sole_tenant_config,omitempty"`
Spot *bool `json:"spot,omitempty" tf:"spot,omitempty"`
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
Taint []NodePoolNodeConfigTaintObservation `json:"taint,omitempty" tf:"taint,omitempty"`
WorkloadMetadataConfig []NodePoolNodeConfigWorkloadMetadataConfigObservation `json:"workloadMetadataConfig,omitempty" tf:"workload_metadata_config,omitempty"`
}
type NodePoolNodeConfigParameters_2 struct {
// +kubebuilder:validation:Optional
AdvancedMachineFeatures []NodePoolNodeConfigAdvancedMachineFeaturesParameters `json:"advancedMachineFeatures,omitempty" tf:"advanced_machine_features,omitempty"`
// +kubebuilder:validation:Optional
BootDiskKMSKey *string `json:"bootDiskKmsKey,omitempty" tf:"boot_disk_kms_key,omitempty"`
// Configuration for Confidential Nodes feature. Structure is documented below.
// +kubebuilder:validation:Optional
ConfidentialNodes []NodePoolNodeConfigConfidentialNodesParameters_2 `json:"confidentialNodes,omitempty" tf:"confidential_nodes,omitempty"`
// +kubebuilder:validation:Optional
DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"`
// +kubebuilder:validation:Optional
DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`
// +kubebuilder:validation:Optional
EnableConfidentialStorage *bool `json:"enableConfidentialStorage,omitempty" tf:"enable_confidential_storage,omitempty"`
// +kubebuilder:validation:Optional
EphemeralStorageLocalSsdConfig []NodePoolNodeConfigEphemeralStorageLocalSsdConfigParameters `json:"ephemeralStorageLocalSsdConfig,omitempty" tf:"ephemeral_storage_local_ssd_config,omitempty"`
// +kubebuilder:validation:Optional
FastSocket []NodePoolNodeConfigFastSocketParameters `json:"fastSocket,omitempty" tf:"fast_socket,omitempty"`
// +kubebuilder:validation:Optional
GcfsConfig []NodePoolNodeConfigGcfsConfigParameters `json:"gcfsConfig,omitempty" tf:"gcfs_config,omitempty"`
// +kubebuilder:validation:Optional
GuestAccelerator []NodePoolNodeConfigGuestAcceleratorParameters `json:"guestAccelerator,omitempty" tf:"guest_accelerator,omitempty"`
// +kubebuilder:validation:Optional
Gvnic []NodePoolNodeConfigGvnicParameters `json:"gvnic,omitempty" tf:"gvnic,omitempty"`
// +kubebuilder:validation:Optional
HostMaintenancePolicy []NodePoolNodeConfigHostMaintenancePolicyParameters `json:"hostMaintenancePolicy,omitempty" tf:"host_maintenance_policy,omitempty"`
// +kubebuilder:validation:Optional
ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`
// This is an injected field with a default value for being able to merge items of the parent object list.
// +kubebuilder:validation:Optional
// +kubebuilder:default:="0"
Index *string `json:"index" tf:"-"`
// +kubebuilder:validation:Optional
KubeletConfig []NodePoolNodeConfigKubeletConfigParameters `json:"kubeletConfig,omitempty" tf:"kubelet_config,omitempty"`
// +kubebuilder:validation:Optional
// +mapType=granular
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// Parameters used in creating the node pool. See
// google_container_cluster for schema.
// +kubebuilder:validation:Optional
LinuxNodeConfig []NodePoolNodeConfigLinuxNodeConfigParameters `json:"linuxNodeConfig,omitempty" tf:"linux_node_config,omitempty"`
// +kubebuilder:validation:Optional
LocalNvmeSsdBlockConfig []NodePoolNodeConfigLocalNvmeSsdBlockConfigParameters `json:"localNvmeSsdBlockConfig,omitempty" tf:"local_nvme_ssd_block_config,omitempty"`
// +kubebuilder:validation:Optional
LocalSsdCount *float64 `json:"localSsdCount,omitempty" tf:"local_ssd_count,omitempty"`
// +kubebuilder:validation:Optional
LoggingVariant *string `json:"loggingVariant,omitempty" tf:"logging_variant,omitempty"`
// +kubebuilder:validation:Optional
MachineType *string `json:"machineType,omitempty" tf:"machine_type,omitempty"`
// +kubebuilder:validation:Optional
// +mapType=granular
Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`
// +kubebuilder:validation:Optional
MinCPUPlatform *string `json:"minCpuPlatform,omitempty" tf:"min_cpu_platform,omitempty"`
// +kubebuilder:validation:Optional
NodeGroup *string `json:"nodeGroup,omitempty" tf:"node_group,omitempty"`
// +kubebuilder:validation:Optional
// +listType=set
OAuthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"`
// +kubebuilder:validation:Optional
Preemptible *bool `json:"preemptible,omitempty" tf:"preemptible,omitempty"`
// +kubebuilder:validation:Optional
ReservationAffinity []NodePoolNodeConfigReservationAffinityParameters `json:"reservationAffinity,omitempty" tf:"reservation_affinity,omitempty"`
// +kubebuilder:validation:Optional
// +mapType=granular
ResourceLabels map[string]*string `json:"resourceLabels,omitempty" tf:"resource_labels,omitempty"`
// +kubebuilder:validation:Optional
// +mapType=granular
ResourceManagerTags map[string]*string `json:"resourceManagerTags,omitempty" tf:"resource_manager_tags,omitempty"`
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("email",true)
// +kubebuilder:validation:Optional
ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`
// Reference to a ServiceAccount in cloudplatform to populate serviceAccount.
// +kubebuilder:validation:Optional
ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`
// Selector for a ServiceAccount in cloudplatform to populate serviceAccount.
// +kubebuilder:validation:Optional
ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`
// +kubebuilder:validation:Optional
ShieldedInstanceConfig []NodePoolNodeConfigShieldedInstanceConfigParameters_2 `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`
// +kubebuilder:validation:Optional
SoleTenantConfig []NodePoolNodeConfigSoleTenantConfigParameters `json:"soleTenantConfig,omitempty" tf:"sole_tenant_config,omitempty"`
// +kubebuilder:validation:Optional
Spot *bool `json:"spot,omitempty" tf:"spot,omitempty"`
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// +kubebuilder:validation:Optional
Taint []NodePoolNodeConfigTaintParameters `json:"taint,omitempty" tf:"taint,omitempty"`
// +kubebuilder:validation:Optional
WorkloadMetadataConfig []NodePoolNodeConfigWorkloadMetadataConfigParameters `json:"workloadMetadataConfig,omitempty" tf:"workload_metadata_config,omitempty"`
}
type NodePoolNodeConfigReservationAffinityInitParameters struct {
ConsumeReservationType *string `json:"consumeReservationType,omitempty" tf:"consume_reservation_type,omitempty"`
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// +listType=set
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type NodePoolNodeConfigReservationAffinityObservation struct {
ConsumeReservationType *string `json:"consumeReservationType,omitempty" tf:"consume_reservation_type,omitempty"`
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// +listType=set
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type NodePoolNodeConfigReservationAffinityParameters struct {
// +kubebuilder:validation:Optional
ConsumeReservationType *string `json:"consumeReservationType" tf:"consume_reservation_type,omitempty"`
// +kubebuilder:validation:Optional
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// +kubebuilder:validation:Optional
// +listType=set
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type NodePoolNodeConfigShieldedInstanceConfigInitParameters_2 struct {
EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`
EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
}
type NodePoolNodeConfigShieldedInstanceConfigObservation_2 struct {
EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`
EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
}
type NodePoolNodeConfigShieldedInstanceConfigParameters_2 struct {
// +kubebuilder:validation:Optional
EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`
// +kubebuilder:validation:Optional
EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
}
type NodePoolNodeConfigSoleTenantConfigInitParameters struct {
NodeAffinity []NodeConfigSoleTenantConfigNodeAffinityInitParameters `json:"nodeAffinity,omitempty" tf:"node_affinity,omitempty"`
}
type NodePoolNodeConfigSoleTenantConfigObservation struct {
NodeAffinity []NodeConfigSoleTenantConfigNodeAffinityObservation `json:"nodeAffinity,omitempty" tf:"node_affinity,omitempty"`
}
type NodePoolNodeConfigSoleTenantConfigParameters struct {
// +kubebuilder:validation:Optional
NodeAffinity []NodeConfigSoleTenantConfigNodeAffinityParameters `json:"nodeAffinity" tf:"node_affinity,omitempty"`
}
type NodePoolNodeConfigTaintInitParameters struct {
Effect *string `json:"effect,omitempty" tf:"effect,omitempty"`
Key *string `json:"key,omitempty" tf:"key,omitempty"`
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type NodePoolNodeConfigTaintObservation struct {
Effect *string `json:"effect,omitempty" tf:"effect,omitempty"`
Key *string `json:"key,omitempty" tf:"key,omitempty"`
Value *string `json:"value,omitempty" tf:"value,omitempty"`