๐ก๏ธ Google GKE Cluster Alpha cluster features are enabled๐ข
- Contextual name: ๐ก๏ธ Cluster Alpha cluster features are enabled๐ข
- ID:
/ce/ca/google/gke/alpha-cluster - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
RELIABILITY
Logicโ
- ๐ง prod.logic.yaml๐ข
Descriptionโ
Descriptionโ
This policy identifies Google Kubernetes Engine (GKE) clusters that are configured to use alpha features. Alpha clusters provide early access to experimental Kubernetes functionality prior to general availability.
Rationaleโ
Alpha clusters are intended solely for testing and experimentation. They enable all Kubernetes API features but come with significant limitations: they are excluded from the GKE service-level agreement (SLA), do not receive security patches, have node auto-upgrade and auto-repair disabled, and cannot be upgraded. Additionally, alpha clusters are automatically deleted after 30 days. As a result, they are not suitable for production workloads.
Auditโ
This policy marks a Google GKE Cluster as
INCOMPLIANTifKubernetes Alphais set to ENABLED.
Remediationโ
Remediationโ
Before proceeding, ensure that the cluster is not actively used for production workloads. Alpha features cannot be disabled on an existing cluster; remediation requires creating a new cluster without alpha features and migrating workloads as needed.
Create a New Cluster Without Alpha Featuresโ
From gcloud CLIโ
Do not include the
--enable-kubernetes-alphaflag when creating the clustergcloud container clusters create {{cluster-name}} \
--location {{location}} \
--machine-type {{machine-type}} \
--num-nodes {{node-count}}Adjust other flags (e.g., region, node pool size, network settings) to match your workload requirements.
Migrate workloads to the new cluster
Reconfigure your deployments and services to target the newly created cluster. Update your
kubeconfigto point to the new cluster.Validate workloads and configurations
- Ensure applications are running as expected in the new cluster.
- Confirm monitoring, logging, and networking rules are correctly applied.
... see more
policy.yamlโ
Linked Framework Sectionsโ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| ๐ผ CIS GKE v1.8.0 โ ๐ผ 5.10.2 Ensure that Alpha clusters are not used for production workloads (Automated) | 1 | no data | |||
| ๐ผ Cloudaware Framework โ ๐ผ System Configuration | 45 | no data |