Google Cloud Container V1 Client - Class CgroupMode (2.2.1) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Container V1 Client class CgroupMode.
Possible cgroup modes that can be used.
Protobuf typegoogle.container.v1.LinuxNodeConfig.CgroupMode
Namespace
Google \ Cloud \ Container \ V1 \ LinuxNodeConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value | mixed |
static::value
| Parameter | |
|---|---|
| Name | Description |
name | mixed |
Constants
CGROUP_MODE_UNSPECIFIED
Value: 0CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
The default for the GKE node OS image will be used.
Generated from protobuf enumCGROUP_MODE_UNSPECIFIED = 0;
CGROUP_MODE_V1
Value: 1CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration onthe node image.
Generated from protobuf enumCGROUP_MODE_V1 = 1;
CGROUP_MODE_V2
Value: 2CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration onthe node image.
Generated from protobuf enumCGROUP_MODE_V2 = 2;
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.