apiVersion: v1 kind: Namespace metadata: name: ${cluster_uuid} annotations: cnrm.cloud.google.com/project-id: ${gcp_project-id} --- apiVersion: container.cnrm.cloud.google.com/v1beta1 kind: ContainerCluster metadata: name: ${cluster_hash} namespace: ${cluster_uuid} annotations: cnrm.cloud.google.com/deletion-policy: abandon cnrm.cloud.google.com/remove-default-node-pool: "true" spec: initialNodeCount: 1 location: ${gcp_region}-${gcp_zone} loggingConfig: enableComponents: - SYSTEM_COMPONENTS releaseChannel: channel: STABLE workloadIdentityConfig: identityNamespace: ${gcp_project_id}.svc.id.goog --- apiVersion: container.cnrm.cloud.google.com/v1beta1 kind: ContainerNodePool metadata: name: ${cluster_hash}-pool0 namespace: ${cluster_uuid} annotations: cnrm.cloud.google.com/deletion-policy: abandon spec: autoscaling: maxNodeCount: 6 minNodeCount: 1 clusterRef: name: ${cluster_hash} initialNodeCount: 1 location: ${gcp_region}-${gcp_zone} management: autoRepair: true autoUpgrade: true networkConfig: enablePrivateNodes: true nodeConfig: machineType: n1-standard-4 oauthScopes: - "https://www.googleapis.com/auth/monitoring" - "https://www.googleapis.com/auth/monitoring.write" - "https://www.googleapis.com/auth/logging.write" - "https://www.googleapis.com/auth/cloud-platform" - "https://www.googleapis.com/auth/trace.append"