google-cloud-container-v1beta1 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,10 +60,10 @@ module Google
60
60
  # https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
61
61
  #
62
62
  # The following values are allowed.
63
- # - "none": the default, which represents the existing scheduling behavior.
64
- # - "static": allows pods with certain resource characteristics to be
65
- # granted increased CPU affinity and exclusivity on the node.
66
- # The default value is 'none' if unspecified.
63
+ # * "none": the default, which represents the existing scheduling behavior.
64
+ # * "static": allows pods with certain resource characteristics to be granted
65
+ # increased CPU affinity and exclusivity on the node.
66
+ # The default value is 'none' if unspecified.
67
67
  # @!attribute [rw] cpu_cfs_quota
68
68
  # @return [::Google::Protobuf::BoolValue]
69
69
  # Enable CPU CFS quota enforcement for containers that specify CPU limits.
@@ -257,9 +257,19 @@ module Google
257
257
  # @return [::Google::Cloud::Container::V1beta1::EphemeralStorageConfig]
258
258
  # Parameters for the ephemeral storage filesystem.
259
259
  # If unspecified, ephemeral storage is backed by the boot disk.
260
+ # @!attribute [rw] gcfs_config
261
+ # @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
262
+ # GCFS (Google Container File System) configs.
263
+ # @!attribute [rw] advanced_machine_features
264
+ # @return [::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures]
265
+ # Advanced features for the Compute Engine VM.
260
266
  # @!attribute [rw] gvnic
261
267
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
262
268
  # Enable or disable gvnic on the node pool.
269
+ # @!attribute [rw] spot
270
+ # @return [::Boolean]
271
+ # Spot flag for enabling Spot VM, which is a rebrand of
272
+ # the existing preemptible flag.
263
273
  class NodeConfig
264
274
  include ::Google::Protobuf::MessageExts
265
275
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -283,6 +293,17 @@ module Google
283
293
  end
284
294
  end
285
295
 
296
+ # Specifies options for controlling advanced machine features.
297
+ # @!attribute [rw] threads_per_core
298
+ # @return [::Integer]
299
+ # The number of threads per physical core. To disable simultaneous
300
+ # multithreading (SMT) set this to 1. If unset, the maximum number of threads
301
+ # supported per core by the underlying processor is assumed.
302
+ class AdvancedMachineFeatures
303
+ include ::Google::Protobuf::MessageExts
304
+ extend ::Google::Protobuf::MessageExts::ClassMethods
305
+ end
306
+
286
307
  # Parameters for node pool-level network config.
287
308
  # @!attribute [rw] create_pod_range
288
309
  # @return [::Boolean]
@@ -384,6 +405,15 @@ module Google
384
405
  extend ::Google::Protobuf::MessageExts::ClassMethods
385
406
  end
386
407
 
408
+ # GcfsConfig contains configurations of Google Container File System.
409
+ # @!attribute [rw] enabled
410
+ # @return [::Boolean]
411
+ # Whether to use GCFS.
412
+ class GcfsConfig
413
+ include ::Google::Protobuf::MessageExts
414
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
+ end
416
+
387
417
  # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
388
418
  # is the configuration of desired reservation which instances could take
389
419
  # capacity from.
@@ -593,6 +623,12 @@ module Google
593
623
  # @return [::Google::Cloud::Container::V1beta1::KalmConfig]
594
624
  # Configuration for the KALM addon, which manages the lifecycle of k8s
595
625
  # applications.
626
+ # @!attribute [rw] gcp_filestore_csi_driver_config
627
+ # @return [::Google::Cloud::Container::V1beta1::GcpFilestoreCsiDriverConfig]
628
+ # Configuration for the GCP Filestore CSI driver.
629
+ # @!attribute [rw] gke_backup_agent_config
630
+ # @return [::Google::Cloud::Container::V1beta1::GkeBackupAgentConfig]
631
+ # Configuration for the Backup for GKE agent addon.
596
632
  class AddonsConfig
597
633
  include ::Google::Protobuf::MessageExts
598
634
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -661,6 +697,15 @@ module Google
661
697
  extend ::Google::Protobuf::MessageExts::ClassMethods
662
698
  end
663
699
 
700
+ # Configuration for the Backup for GKE Agent.
701
+ # @!attribute [rw] enabled
702
+ # @return [::Boolean]
703
+ # Whether the Backup for GKE agent is enabled for this cluster.
704
+ class GkeBackupAgentConfig
705
+ include ::Google::Protobuf::MessageExts
706
+ extend ::Google::Protobuf::MessageExts::ClassMethods
707
+ end
708
+
664
709
  # Configuration options for the Config Connector add-on.
665
710
  # @!attribute [rw] enabled
666
711
  # @return [::Boolean]
@@ -679,6 +724,15 @@ module Google
679
724
  extend ::Google::Protobuf::MessageExts::ClassMethods
680
725
  end
681
726
 
727
+ # Configuration for the GCP Filestore CSI driver.
728
+ # @!attribute [rw] enabled
729
+ # @return [::Boolean]
730
+ # Whether the GCP Filestore CSI driver is enabled for this cluster.
731
+ class GcpFilestoreCsiDriverConfig
732
+ include ::Google::Protobuf::MessageExts
733
+ extend ::Google::Protobuf::MessageExts::ClassMethods
734
+ end
735
+
682
736
  # Configuration for controlling master global access settings.
683
737
  # @!attribute [rw] enabled
684
738
  # @return [::Boolean]
@@ -1222,6 +1276,10 @@ module Google
1222
1276
  # @return [::Google::Cloud::Container::V1beta1::WorkloadCertificates]
1223
1277
  # Configuration for issuance of mTLS keys and certificates to Kubernetes
1224
1278
  # pods.
1279
+ # @!attribute [rw] mesh_certificates
1280
+ # @return [::Google::Cloud::Container::V1beta1::MeshCertificates]
1281
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes
1282
+ # pods.
1225
1283
  # @!attribute [rw] cluster_telemetry
1226
1284
  # @return [::Google::Cloud::Container::V1beta1::ClusterTelemetry]
1227
1285
  # Telemetry integration for the cluster.
@@ -1408,6 +1466,9 @@ module Google
1408
1466
  end
1409
1467
 
1410
1468
  # Subset of NodeConfig message that has defaults.
1469
+ # @!attribute [rw] gcfs_config
1470
+ # @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
1471
+ # GCFS (Google Container File System, a.k.a Riptide) options.
1411
1472
  class NodeConfigDefaults
1412
1473
  include ::Google::Protobuf::MessageExts
1413
1474
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1545,6 +1606,9 @@ module Google
1545
1606
  # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
1546
1607
  # - "1.X.Y-gke.N": picks an explicit Kubernetes version
1547
1608
  # - "-": picks the default Kubernetes version
1609
+ # @!attribute [rw] desired_gcfs_config
1610
+ # @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
1611
+ # The desired GCFS config for the cluster.
1548
1612
  # @!attribute [rw] desired_database_encryption
1549
1613
  # @return [::Google::Cloud::Container::V1beta1::DatabaseEncryption]
1550
1614
  # Configuration of etcd encryption.
@@ -1555,6 +1619,10 @@ module Google
1555
1619
  # @return [::Google::Cloud::Container::V1beta1::WorkloadCertificates]
1556
1620
  # Configuration for issuance of mTLS keys and certificates to Kubernetes
1557
1621
  # pods.
1622
+ # @!attribute [rw] desired_mesh_certificates
1623
+ # @return [::Google::Cloud::Container::V1beta1::MeshCertificates]
1624
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes
1625
+ # pods.
1558
1626
  # @!attribute [rw] desired_shielded_nodes
1559
1627
  # @return [::Google::Cloud::Container::V1beta1::ShieldedNodes]
1560
1628
  # Configuration for Shielded Nodes.
@@ -1917,6 +1985,9 @@ module Google
1917
1985
  # @!attribute [rw] kubelet_config
1918
1986
  # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
1919
1987
  # Node kubelet configs.
1988
+ # @!attribute [rw] gcfs_config
1989
+ # @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
1990
+ # GCFS config.
1920
1991
  # @!attribute [rw] gvnic
1921
1992
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
1922
1993
  # Enable or disable gvnic on the node pool.
@@ -2052,8 +2123,8 @@ module Google
2052
2123
  # This field has been deprecated and replaced by the name field.
2053
2124
  # @!attribute [rw] addons_config
2054
2125
  # @return [::Google::Cloud::Container::V1beta1::AddonsConfig]
2055
- # Required. The desired configurations for the various addons available to
2056
- # run in the cluster.
2126
+ # Required. The desired configurations for the various addons available to run in the
2127
+ # cluster.
2057
2128
  # @!attribute [rw] name
2058
2129
  # @return [::String]
2059
2130
  # The name (project, location, cluster) of the cluster to set addons.
@@ -2652,6 +2723,9 @@ module Google
2652
2723
  # @!attribute [rw] upgrade_settings
2653
2724
  # @return [::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings]
2654
2725
  # Upgrade settings control disruption and speed of the upgrade.
2726
+ # @!attribute [rw] placement_policy
2727
+ # @return [::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy]
2728
+ # Specifies the node placement policy.
2655
2729
  class NodePool
2656
2730
  include ::Google::Protobuf::MessageExts
2657
2731
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2670,6 +2744,26 @@ module Google
2670
2744
  extend ::Google::Protobuf::MessageExts::ClassMethods
2671
2745
  end
2672
2746
 
2747
+ # PlacementPolicy defines the placement policy used by the node pool.
2748
+ # @!attribute [rw] type
2749
+ # @return [::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type]
2750
+ # The type of placement.
2751
+ class PlacementPolicy
2752
+ include ::Google::Protobuf::MessageExts
2753
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2754
+
2755
+ # Type defines the type of placement policy.
2756
+ module Type
2757
+ # TYPE_UNSPECIFIED specifies no requirements on nodes
2758
+ # placement.
2759
+ TYPE_UNSPECIFIED = 0
2760
+
2761
+ # COMPACT specifies node placement in the same availability domain to
2762
+ # ensure low communication latency.
2763
+ COMPACT = 1
2764
+ end
2765
+ end
2766
+
2673
2767
  # The current status of the node pool instance.
2674
2768
  module Status
2675
2769
  # Not set.
@@ -2778,6 +2872,10 @@ module Google
2778
2872
  end
2779
2873
 
2780
2874
  # Represents an arbitrary window of time.
2875
+ # @!attribute [rw] maintenance_exclusion_options
2876
+ # @return [::Google::Cloud::Container::V1beta1::MaintenanceExclusionOptions]
2877
+ # MaintenanceExclusionOptions provides maintenance exclusion related
2878
+ # options.
2781
2879
  # @!attribute [rw] start_time
2782
2880
  # @return [::Google::Protobuf::Timestamp]
2783
2881
  # The time that the window first starts.
@@ -2790,6 +2888,33 @@ module Google
2790
2888
  extend ::Google::Protobuf::MessageExts::ClassMethods
2791
2889
  end
2792
2890
 
2891
+ # Represents the Maintenance exclusion option.
2892
+ # @!attribute [rw] scope
2893
+ # @return [::Google::Cloud::Container::V1beta1::MaintenanceExclusionOptions::Scope]
2894
+ # Scope specifies the upgrade scope which upgrades are blocked by the
2895
+ # exclusion.
2896
+ class MaintenanceExclusionOptions
2897
+ include ::Google::Protobuf::MessageExts
2898
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2899
+
2900
+ # Scope of exclusion.
2901
+ module Scope
2902
+ # NO_UPGRADES excludes all upgrades, including patch upgrades and minor
2903
+ # upgrades across control planes and nodes. This is the default exclusion
2904
+ # behavior.
2905
+ NO_UPGRADES = 0
2906
+
2907
+ # NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
2908
+ # patches are allowed.
2909
+ NO_MINOR_UPGRADES = 1
2910
+
2911
+ # NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
2912
+ # and also exclude all node pool upgrades. Only control
2913
+ # plane patches are allowed.
2914
+ NO_MINOR_OR_NODE_UPGRADES = 2
2915
+ end
2916
+ end
2917
+
2793
2918
  # Represents an arbitrary window of time that recurs.
2794
2919
  # @!attribute [rw] window
2795
2920
  # @return [::Google::Cloud::Container::V1beta1::TimeWindow]
@@ -3090,12 +3215,12 @@ module Google
3090
3215
  # Is autoscaling enabled for this node pool.
3091
3216
  # @!attribute [rw] min_node_count
3092
3217
  # @return [::Integer]
3093
- # Minimum number of nodes in the NodePool. Must be >= 1 and <=
3094
- # max_node_count.
3218
+ # Minimum number of nodes for one location in the NodePool. Must be >= 1 and
3219
+ # <= max_node_count.
3095
3220
  # @!attribute [rw] max_node_count
3096
3221
  # @return [::Integer]
3097
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There
3098
- # has to be enough quota to scale up the cluster.
3222
+ # Maximum number of nodes for one location in the NodePool. Must be >=
3223
+ # min_node_count. There has to be enough quota to scale up the cluster.
3099
3224
  # @!attribute [rw] autoprovisioned
3100
3225
  # @return [::Boolean]
3101
3226
  # Can this node pool be deleted automatically.
@@ -3252,6 +3377,16 @@ module Google
3252
3377
  extend ::Google::Protobuf::MessageExts::ClassMethods
3253
3378
  end
3254
3379
 
3380
+ # ManagedPrometheusConfig defines the configuration for
3381
+ # Google Cloud Managed Service for Prometheus.
3382
+ # @!attribute [rw] enabled
3383
+ # @return [::Boolean]
3384
+ # Enable Managed Collection.
3385
+ class ManagedPrometheusConfig
3386
+ include ::Google::Protobuf::MessageExts
3387
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3388
+ end
3389
+
3255
3390
  # WorkloadMetadataConfig defines the metadata configuration to expose to
3256
3391
  # workloads on the node pool.
3257
3392
  # @!attribute [rw] node_metadata
@@ -3753,6 +3888,23 @@ module Google
3753
3888
  extend ::Google::Protobuf::MessageExts::ClassMethods
3754
3889
  end
3755
3890
 
3891
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
3892
+ # @!attribute [rw] enable_certificates
3893
+ # @return [::Google::Protobuf::BoolValue]
3894
+ # enable_certificates controls issuance of workload mTLS certificates.
3895
+ #
3896
+ # If set, the GKE Workload Identity Certificates controller and node agent
3897
+ # will be deployed in the cluster, which can then be configured by creating a
3898
+ # WorkloadCertificateConfig Custom Resource.
3899
+ #
3900
+ # Requires Workload Identity
3901
+ # ([workload_pool][google.container.v1alpha1.WorkloadIdentityConfig.workload_pool]
3902
+ # must be non-empty).
3903
+ class MeshCertificates
3904
+ include ::Google::Protobuf::MessageExts
3905
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3906
+ end
3907
+
3756
3908
  # Configuration of etcd encryption.
3757
3909
  # @!attribute [rw] state
3758
3910
  # @return [::Google::Cloud::Container::V1beta1::DatabaseEncryption::State]
@@ -3837,7 +3989,7 @@ module Google
3837
3989
  # cluster. See the OpenID Connect Discovery 1.0 specification for details.
3838
3990
  # @!attribute [rw] parent
3839
3991
  # @return [::String]
3840
- # The cluster (project, location, cluster id) to get the discovery document
3992
+ # The cluster (project, location, cluster name) to get the discovery document
3841
3993
  # for. Specified in the format `projects/*/locations/*/clusters/*`.
3842
3994
  class GetOpenIDConfigRequest
3843
3995
  include ::Google::Protobuf::MessageExts
@@ -4011,10 +4163,43 @@ module Google
4011
4163
  # @return [::String]
4012
4164
  # The desired Pub/Sub topic to which notifications will be
4013
4165
  # sent by GKE. Format is `projects/{project}/topics/{topic}`.
4166
+ # @!attribute [rw] filter
4167
+ # @return [::Google::Cloud::Container::V1beta1::NotificationConfig::Filter]
4168
+ # Allows filtering to one or more specific event types. If no filter is
4169
+ # specified, or if a filter is specified with no event types, all event
4170
+ # types will be sent
4014
4171
  class PubSub
4015
4172
  include ::Google::Protobuf::MessageExts
4016
4173
  extend ::Google::Protobuf::MessageExts::ClassMethods
4017
4174
  end
4175
+
4176
+ # Allows filtering to one or more specific event types. If event types are
4177
+ # present, those and only those event types will be transmitted to the
4178
+ # cluster. Other types will be skipped. If no filter is specified, or no
4179
+ # event types are present, all event types will be sent
4180
+ # @!attribute [rw] event_type
4181
+ # @return [::Array<::Google::Cloud::Container::V1beta1::NotificationConfig::EventType>]
4182
+ # Event types to allowlist.
4183
+ class Filter
4184
+ include ::Google::Protobuf::MessageExts
4185
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4186
+ end
4187
+
4188
+ # Types of notifications currently supported. Can be used to filter what
4189
+ # notifications are sent.
4190
+ module EventType
4191
+ # Not set, will be ignored.
4192
+ EVENT_TYPE_UNSPECIFIED = 0
4193
+
4194
+ # Corresponds with UpgradeAvailableEvent.
4195
+ UPGRADE_AVAILABLE_EVENT = 1
4196
+
4197
+ # Corresponds with UpgradeEvent.
4198
+ UPGRADE_EVENT = 2
4199
+
4200
+ # Corresponds with SecurityBulletinEvent.
4201
+ SECURITY_BULLETIN_EVENT = 3
4202
+ end
4018
4203
  end
4019
4204
 
4020
4205
  # ConfidentialNodes is configuration for the confidential nodes feature, which
@@ -4078,6 +4263,51 @@ module Google
4078
4263
  extend ::Google::Protobuf::MessageExts::ClassMethods
4079
4264
  end
4080
4265
 
4266
+ # SecurityBulletinEvent is a notification sent to customers when a security
4267
+ # bulletin has been posted that they are vulnerable to.
4268
+ # @!attribute [rw] resource_type_affected
4269
+ # @return [::String]
4270
+ # The resource type (node/control plane) that has the vulnerability. Multiple
4271
+ # notifications (1 notification per resource type) will be sent for a
4272
+ # vulnerability that affects > 1 resource type.
4273
+ # @!attribute [rw] bulletin_id
4274
+ # @return [::String]
4275
+ # The ID of the bulletin corresponding to the vulnerability.
4276
+ # @!attribute [rw] cve_ids
4277
+ # @return [::Array<::String>]
4278
+ # The CVEs associated with this bulletin.
4279
+ # @!attribute [rw] severity
4280
+ # @return [::String]
4281
+ # The severity of this bulletin as it relates to GKE.
4282
+ # @!attribute [rw] bulletin_uri
4283
+ # @return [::String]
4284
+ # The URI link to the bulletin on the website for more information.
4285
+ # @!attribute [rw] brief_description
4286
+ # @return [::String]
4287
+ # A brief description of the bulletin. See the bulletin pointed to by the
4288
+ # bulletin_uri field for an expanded description.
4289
+ # @!attribute [rw] affected_supported_minors
4290
+ # @return [::Array<::String>]
4291
+ # The GKE minor versions affected by this vulnerability.
4292
+ # @!attribute [rw] patched_versions
4293
+ # @return [::Array<::String>]
4294
+ # The GKE versions where this vulnerability is patched.
4295
+ # @!attribute [rw] suggested_upgrade_target
4296
+ # @return [::String]
4297
+ # This represents a version selected from the patched_versions field that
4298
+ # the cluster receiving this notification should most likely want to upgrade
4299
+ # to based on its current version. Note that if this notification is being
4300
+ # received by a given cluster, it means that this version is currently
4301
+ # available as an upgrade target in that cluster's location.
4302
+ # @!attribute [rw] manual_steps_required
4303
+ # @return [::Boolean]
4304
+ # If this field is specified, it means there are manual steps that the user
4305
+ # must take to make their clusters safe.
4306
+ class SecurityBulletinEvent
4307
+ include ::Google::Protobuf::MessageExts
4308
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4309
+ end
4310
+
4081
4311
  # IdentityServiceConfig is configuration for Identity Service which allows
4082
4312
  # customers to use external identity providers with the K8S API
4083
4313
  # @!attribute [rw] enabled
@@ -4122,6 +4352,10 @@ module Google
4122
4352
  # @!attribute [rw] component_config
4123
4353
  # @return [::Google::Cloud::Container::V1beta1::MonitoringComponentConfig]
4124
4354
  # Monitoring components configuration
4355
+ # @!attribute [rw] managed_prometheus_config
4356
+ # @return [::Google::Cloud::Container::V1beta1::ManagedPrometheusConfig]
4357
+ # Enable Google Cloud Managed Service for Prometheus
4358
+ # in the cluster.
4125
4359
  class MonitoringConfig
4126
4360
  include ::Google::Protobuf::MessageExts
4127
4361
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-22 00:00:00.000000000 Z
11
+ date: 2022-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.2.17
211
+ rubygems_version: 3.3.5
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: API Client library for the Kubernetes Engine V1beta1 API