이 페이지에서는 Cloud Service Mesh의 일반적인 관리형 CNI 문제와 해결 방법에 대해 설명합니다. 추가 지원이 필요하면 지원 받기를 참조하세요.
지원되지 않는 관리형 CNI 사용 설정 구성
TRAFFIC_DIRECTOR 컨트롤 플레인 구현이 있는 관리형 Cloud Service Mesh에는 관리형 CNI가 필요하며 사용 중지를 지원하지 않습니다. mesh.cloud.google.com/managed-cni-enabled 라벨이 있지만 컨트롤 플레인 버전(CPR) 커스텀 리소스에 true 값이 없거나, asm-options configmap의 CNI 항목이 존재하지만 on 값이 없는 경우 기능 상태 메시지에 CNI_CONFIG_UNSUPPORTED 코드가 표시될 수 있습니다.
이 오류 메시지를 해결하려면 관리형 CNI를 사용 중지하려는 시도를 모두 삭제해야 합니다.
사례 1: 클러스터의 CPR CR에서 관리형 CNI 사용 설정 라벨을 삭제합니다.
apiVersion:v1items:-apiVersion:mesh.cloud.google.com/v1beta1kind:ControlPlaneRevisionmetadata:annotations:mesh.cloud.google.com/proxy:'{"managed":"false"}'creationTimestamp:"2024-02-18T08:13:30Z"generation:1labels:app.kubernetes.io/created-by:mesh.googleapis.commesh.cloud.google.com/managed-cni-enabled:false# Remove the "mesh.cloud.google.com/managed-cni-enabled" labelname:asm-managednamespace:istio-systemresourceVersion:"13422558"uid:3ad755ec-78ab-4d57-8fb9-c5e1a07740d5
사례 2: CNI 항목 asm-options configmap ASM_OPTS 데이터 문자열을 삭제합니다.
apiVersion:v1data:ASM_OPTS:CNI=off# Remove CNI entry in the ASM_OPTS data.multicluster_mode:connectedkind:ConfigMapmetadata:creationTimestamp:"2024-02-18T08:13:30Z"name:asm-optionsnamespace:istio-systemresourceVersion:"1640225"uid:576602da-e60b-4df7-9427-5be06e5bf014
CNI 포드를 예약할 수 없음
관리 CNI 데몬셋이 클러스터의 노드 중 하나에서 포드를 예약할 수 없는 경우 이 오류가 표시될 수 있습니다.
클러스터 내 리소스에는 각 노드에 최소 memory: 100Mi의 메모리가 필요합니다.
자세한 내용은 Cloud Service Mesh 요구사항을 참조하세요.
클러스터에 이미 충분한 메모리가 할당된 경우 예약할 수 없는 포드에서 추가 문제 해결 단계를 확인하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Troubleshoot managed CNI\n========================\n\nThis page explains common managed CNI problems with Cloud Service Mesh and\nhow to resolve them. If you need additional assistance, see\n[Getting support](/service-mesh/v1.24/docs/getting-support).\n\nUnsupported managed CNI enabled configuration\n---------------------------------------------\n\nManaged Cloud Service Mesh with the `TRAFFIC_DIRECTOR` control plane\nimplementation requires managed CNI and does not support disabling it. You may\nsee the `CNI_CONFIG_UNSUPPORTED` code in the feature state message if the\n`mesh.cloud.google.com/managed-cni-enabled` label exists but does not have the\nvalue `true` in the control plane revision (CPR) custom resource (CR) or if the\nCNI entry in the asm-options configmap exists but does not have the value `on`.\n\nTo resolve this error message, you must remove any attempts to disable managed\nCNI.\n\n- Case 1: Remove the managed CNI Enabled label in the CPR CR in the cluster.\n\n apiVersion: v1\n items:\n - apiVersion: mesh.cloud.google.com/v1beta1\n kind: ControlPlaneRevision\n metadata:\n annotations:\n mesh.cloud.google.com/proxy: '{\"managed\":\"false\"}'\n creationTimestamp: \"2024-02-18T08:13:30Z\"\n generation: 1\n labels:\n app.kubernetes.io/created-by: mesh.googleapis.com\n mesh.cloud.google.com/managed-cni-enabled: false # Remove the \"mesh.cloud.google.com/managed-cni-enabled\" label\n name: asm-managed\n namespace: istio-system\n resourceVersion: \"13422558\"\n uid: 3ad755ec-78ab-4d57-8fb9-c5e1a07740d5\n\n- Case 2: Remove the CNI entry asm-options configmap `ASM_OPTS` data string.\n\n apiVersion: v1\n data:\n ASM_OPTS: CNI=off # Remove CNI entry in the ASM_OPTS data.\n multicluster_mode: connected\n kind: ConfigMap\n metadata:\n creationTimestamp: \"2024-02-18T08:13:30Z\"\n name: asm-options\n namespace: istio-system\n resourceVersion: \"1640225\"\n uid: 576602da-e60b-4df7-9427-5be06e5bf014\n\nCNI Pod unschedulable\n---------------------\n\nYou may see this error if the managed CNI Daemonset cannot schedule Pods in any\none of the nodes in the cluster.\n\nNote that in-cluster resources require at least `memory: 100Mi` on each node.\nFor more information see\n[Cloud Service Mesh requirements](/service-mesh/v1.24/docs/onboarding/provision-control-plane#requirements).\nIf your cluster already has sufficient memory allocated, see\n[Pod unschedulable](/kubernetes-engine/docs/troubleshooting#PodUnschedulable)\nfor additional troubleshooting steps."]]