이 항목에서는 TKG 구성 요소와 관련하여 감독자의 상태를 확인하는 다양한 기법을 참조할 수 있습니다.

감독자 포드의 상태 확인

감독자 포드는 TKG 인프라 구성 요소를 실행합니다.

감독자의 모든 포드가 [실행 중] 상태인지 확인하십시오.
kubectl get pods -A | grep "Running"
참고: grep -v "Running"을 사용하여 [실행 중]이 아닌 포드를 반환할 수도 있습니다.
예:
NAMESPACE                                   NAME                                                              READY   STATUS      RESTARTS        AGE
kube-system                                 coredns-855c5b4cfd-8w4hp                                          1/1     Running     0               27d
kube-system                                 coredns-855c5b4cfd-bx2hk                                          1/1     Running     0               27d
kube-system                                 coredns-855c5b4cfd-rrb5n                                          1/1     Running     0               27d
kube-system                                 docker-registry-423f01b9b30c727e9c237a0031999b14                  1/1     Running     0               27d
kube-system                                 docker-registry-423f568f75dcb48725b0d768b7e4bdf5                  1/1     Running     0               27d
kube-system                                 docker-registry-423f930ca2413d96beef34526c2e61b4                  1/1     Running     0               27d
kube-system                                 etcd-423f01b9b30c727e9c237a0031999b14                             1/1     Running     1 (27d ago)     27d
kube-system                                 etcd-423f568f75dcb48725b0d768b7e4bdf5                             1/1     Running     1 (27d ago)     27d
kube-system                                 etcd-423f930ca2413d96beef34526c2e61b4                             1/1     Running     1 (27d ago)     27d
kube-system                                 kube-apiserver-423f01b9b30c727e9c237a0031999b14                   1/1     Running     1 (27d ago)     27d
kube-system                                 kube-apiserver-423f568f75dcb48725b0d768b7e4bdf5                   1/1     Running     1 (27d ago)     27d
kube-system                                 kube-apiserver-423f930ca2413d96beef34526c2e61b4                   1/1     Running     1 (27d ago)     27d
kube-system                                 kube-controller-manager-423f01b9b30c727e9c237a0031999b14          1/1     Running     0               27d
kube-system                                 kube-controller-manager-423f568f75dcb48725b0d768b7e4bdf5          1/1     Running     0               27d
kube-system                                 kube-controller-manager-423f930ca2413d96beef34526c2e61b4          1/1     Running     0               27d
kube-system                                 kube-proxy-8h499                                                  1/1     Running     0               27d
kube-system                                 kube-proxy-bm7qt                                                  1/1     Running     0               27d
kube-system                                 kube-proxy-dnmq2                                                  1/1     Running     0               27d
kube-system                                 kube-scheduler-423f01b9b30c727e9c237a0031999b14                   2/2     Running     13 (25d ago)    27d
kube-system                                 kube-scheduler-423f568f75dcb48725b0d768b7e4bdf5                   2/2     Running     0               27d
kube-system                                 kube-scheduler-423f930ca2413d96beef34526c2e61b4                   2/2     Running     0               27d
kube-system                                 kubectl-plugin-vsphere-423f01b9b30c727e9c237a0031999b14           1/1     Running     3 (27d ago)     27d
kube-system                                 kubectl-plugin-vsphere-423f568f75dcb48725b0d768b7e4bdf5           1/1     Running     3 (27d ago)     27d
kube-system                                 kubectl-plugin-vsphere-423f930ca2413d96beef34526c2e61b4           1/1     Running     3 (27d ago)     27d
kube-system                                 wcp-authproxy-423f01b9b30c727e9c237a0031999b14                    1/1     Running     0               27d
kube-system                                 wcp-authproxy-423f568f75dcb48725b0d768b7e4bdf5                    1/1     Running     0               27d
kube-system                                 wcp-authproxy-423f930ca2413d96beef34526c2e61b4                    1/1     Running     0               27d
kube-system                                 wcp-fip-423f01b9b30c727e9c237a0031999b14                          1/1     Running     0               27d
kube-system                                 wcp-fip-423f568f75dcb48725b0d768b7e4bdf5                          1/1     Running     0               27d
kube-system                                 wcp-fip-423f930ca2413d96beef34526c2e61b4                          1/1     Running     0               27d
svc-tmc-c63                                 agent-updater-69f6598bcd-zrkwq                                    1/1     Running     0               27d
svc-tmc-c63                                 agentupdater-workload-27696934--1-vz5sg                           0/1     Completed   0               35s
svc-tmc-c63                                 cluster-health-extension-68948f657-4gpcd                          1/1     Running     0               27d
svc-tmc-c63                                 extension-manager-f8886bfb7-vdsm9                                 1/1     Running     0               27d
svc-tmc-c63                                 extension-updater-79b4787cf6-bwssn                                1/1     Running     0               27d
svc-tmc-c63                                 intent-agent-66576db5bd-lj2gk                                     1/1     Running     0               5d6h
svc-tmc-c63                                 sync-agent-f9c68cc58-6zddj                                        1/1     Running     0               6d
svc-tmc-c63                                 tmc-agent-installer-27696934--1-jgwvw                             0/1     Completed   0               35s
svc-tmc-c63                                 tmc-auto-attach-6488b9cd8b-xdfzz                                  1/1     Running     0               18h
svc-tmc-c63                                 vsphere-resource-retriever-58985c99cb-68h6v                       1/1     Running     0               18h
vmware-system-appplatform-operator-system   vmware-system-appplatform-operator-mgr-0                          1/1     Running     0               27d
vmware-system-appplatform-operator-system   vmware-system-psp-operator-mgr-587f66646d-xxvmr                   1/1     Running     0               27d
vmware-system-capw                          capi-controller-manager-766c6fc449-4qqvf                          2/2     Running     423 (26d ago)   27d
vmware-system-capw                          capi-controller-manager-766c6fc449-bcpdq                          2/2     Running     410 (26d ago)   27d
vmware-system-capw                          capi-controller-manager-766c6fc449-rnznx                          2/2     Running     0               26d
vmware-system-capw                          capi-kubeadm-bootstrap-controller-manager-58fd767b49-585f2        2/2     Running     402 (25d ago)   27d
vmware-system-capw                          capi-kubeadm-bootstrap-controller-manager-58fd767b49-96q6m        2/2     Running     398 (25d ago)   27d
vmware-system-capw                          capi-kubeadm-bootstrap-controller-manager-58fd767b49-nssgq        2/2     Running     407 (25d ago)   27d
vmware-system-capw                          capi-kubeadm-control-plane-controller-manager-559df997b-762jr     2/2     Running     193 (26d ago)   27d
vmware-system-capw                          capi-kubeadm-control-plane-controller-manager-559df997b-bb42s     2/2     Running     189 (26d ago)   27d
vmware-system-capw                          capi-kubeadm-control-plane-controller-manager-559df997b-wxhqv     2/2     Running     199 (26d ago)   27d
vmware-system-capw                          capw-controller-manager-6dd47d75b-6ncxk                           2/2     Running     400 (25d ago)   27d
vmware-system-capw                          capw-controller-manager-6dd47d75b-k2ph4                           2/2     Running     399 (25d ago)   27d
vmware-system-capw                          capw-controller-manager-6dd47d75b-np9sg                           2/2     Running     403 (25d ago)   27d
vmware-system-capw                          capw-webhook-5484757c7-2pkbt                                      2/2     Running     0               27d
vmware-system-capw                          capw-webhook-5484757c7-fkt7z                                      2/2     Running     0               27d
vmware-system-capw                          capw-webhook-5484757c7-r85kw                                      2/2     Running     0               27d
vmware-system-cert-manager                  cert-manager-6ccbcfcd57-lppgn                                     1/1     Running     1 (27d ago)     27d
vmware-system-cert-manager                  cert-manager-cainjector-796f7b74db-5qvgn                          1/1     Running     3 (27d ago)     27d
vmware-system-cert-manager                  cert-manager-webhook-586948846f-b584m                             1/1     Running     0               27d
vmware-system-csi                           vsphere-csi-controller-6d8cfd75cd-66zbj                           6/6     Running     0               27d
vmware-system-csi                           vsphere-csi-controller-6d8cfd75cd-b4nhz                           6/6     Running     1 (27d ago)     27d
vmware-system-csi                           vsphere-csi-controller-6d8cfd75cd-v6hlf                           6/6     Running     0               27d
vmware-system-kubeimage                     image-controller-ff79fb5fc-kd6ts                                  1/1     Running     0               27d
vmware-system-license-operator              vmware-system-license-operator-controller-manager-7d555768bnxjb   1/1     Running     0               25d
vmware-system-license-operator              vmware-system-license-operator-controller-manager-7d555768j2sb8   1/1     Running     0               25d
vmware-system-license-operator              vmware-system-license-operator-controller-manager-7d555768w7v77   1/1     Running     0               25d
vmware-system-logging                       fluentbit-p24gk                                                   1/1     Running     0               27d
vmware-system-logging                       fluentbit-rj2t8                                                   1/1     Running     0               27d
vmware-system-logging                       fluentbit-xx2lk                                                   1/1     Running     0               27d
vmware-system-nsop                          vmware-system-nsop-controller-manager-65b8445959-66msw            1/1     Running     0               27d
vmware-system-nsop                          vmware-system-nsop-controller-manager-65b8445959-nm6xh            1/1     Running     0               27d
vmware-system-nsop                          vmware-system-nsop-controller-manager-65b8445959-sv5w7            1/1     Running     0               27d
vmware-system-nsx                           nsx-ncp-6f989c9c67-vb4x6                                          1/1     Running     5 (27d ago)     27d
vmware-system-registry                      vmware-registry-controller-manager-7f49485b9-72kh7                2/2     Running     0               27d
vmware-system-tkg                           masterproxy-tkgs-plugin-8npzx                                     1/1     Running     0               27d
vmware-system-tkg                           masterproxy-tkgs-plugin-bjtsz                                     1/1     Running     0               27d
vmware-system-tkg                           masterproxy-tkgs-plugin-v92gt                                     1/1     Running     0               27d
vmware-system-tkg                           tkgs-plugin-server-5fc4c985c7-bz8jh                               1/1     Running     0               27d
vmware-system-tkg                           tkgs-plugin-server-5fc4c985c7-r9wj5                               1/1     Running     0               27d
vmware-system-tkg                           tkgs-plugin-server-5fc4c985c7-sdr55                               1/1     Running     0               27d
vmware-system-tkg                           vmware-system-tkg-controller-manager-7ffcc55df5-dqkkm             2/2     Running     0               25d
vmware-system-tkg                           vmware-system-tkg-controller-manager-7ffcc55df5-hkvx9             2/2     Running     0               25d
vmware-system-tkg                           vmware-system-tkg-controller-manager-7ffcc55df5-txxrf             2/2     Running     0               25d
vmware-system-tkg                           vmware-system-tkg-state-metrics-5bbb6d668c-7c5vt                  2/2     Running     238 (26d ago)   27d
vmware-system-tkg                           vmware-system-tkg-state-metrics-5bbb6d668c-c87zs                  2/2     Running     237 (26d ago)   27d
vmware-system-tkg                           vmware-system-tkg-state-metrics-5bbb6d668c-wc46p                  2/2     Running     237 (26d ago)   27d
vmware-system-tkg                           vmware-system-tkg-webhook-567f9fd68c-425xs                        2/2     Running     0               25d
vmware-system-tkg                           vmware-system-tkg-webhook-567f9fd68c-97d6z                        2/2     Running     0               25d
vmware-system-tkg                           vmware-system-tkg-webhook-567f9fd68c-dnkgt                        2/2     Running     0               25d
vmware-system-ucs                           upgrade-compatibility-service-5745846d58-tpk67                    1/1     Running     0               27d
vmware-system-ucs                           upgrade-compatibility-service-5745846d58-twxkt                    1/1     Running     0               27d
vmware-system-ucs                           upgrade-compatibility-service-5745846d58-wzl8x                    1/1     Running     0               27d
vmware-system-vmop                          vmware-system-vmop-controller-manager-c8499b9df-5h6f9             2/2     Running     0               27d
vmware-system-vmop                          vmware-system-vmop-controller-manager-c8499b9df-6wgr7             2/2     Running     0               27d
vmware-system-vmop                          vmware-system-vmop-controller-manager-c8499b9df-tvbg6             2/2     Running     0               27d
vmware-system-vmop                          vmware-system-vmop-hostvalidator-8498cc5f4d-vqhnk                 1/1     Running     0               27d
감독자의 포드가 [실행 중] 상태가 아닌 경우 다음 명령을 사용하여 해당 포드를 검사합니다.
kubectl describe pod <POD Name> -n <Namespace>

감독자 리소스의 상태 확인

TKG 컨트롤러 리소스:
kubectl get tkc
클러스터 API 리소스(CAPI, CABPK, CAPW, CAPV):
kubectl get cluster-api
VM 운영자 리소스:
kubectl get virtualmachines,virtualmachineservices,virtualmachinesetresourcepolicies
VM 운영자 리소스(클러스터 범위 지정 및 컨텐츠 라이브러리에서 동기화됨):
kubectl get virtualmachineimages
스토리지 리소스:
kubectl get persistentvolumeclaims,cnsnodevmattachment,cnsvolumemetadatas
네트워킹 리소스(NSX 관련):
kubectl get service,lb,lbm,vnet,vnetif,nsxerrors,nsxnetworkinterfaces
모든 감독자 리소스를 가져와서 파일에 쓰기:
kubectl api-resources --namespaced -o name | paste -d',' -s | xargs kubectl get -n <namespace> > resources_in_namespace.txt

Cluster API 배포가 있는지 확인

CAPI, CAPW, CAPV 배포가 있는지 확인합니다.
kubectl -n vmware-system-capw get deployments.apps
NAME                                            READY   UP-TO-DATE   AVAILABLE   AGE
capi-controller-manager                         2/2     2            2           18h
capi-kubeadm-bootstrap-controller-manager       2/2     2            2           18h
capi-kubeadm-control-plane-controller-manager   2/2     2            2           18h
capv-controller-manager                         2/2     2            2           10h
capw-controller-manager                         2/2     2            2           18h
capw-webhook                                    2/2     2            2           18h

지원 번들 파일 확인

지원 번들commands/ 폴더에는 WCP 시작 프로세스 중에 발생한 작업에 대한 세부 정보를 제공하는 journalctl 로그가 있습니다.

kubectl_describe_virtualmachine.txt

kubectl_describe_tanzukubernetescluster.txt

kubectl_describe_kubeadmconfig.txt

kubectl-describe-pod_kube-system.txt

kubectl-describe-pod_vmware-system-capw.txt

kubectl-describe-pod_vmware-system-tkg.txt

kubectl-describe-pod_vmware-system-ucs.txt

kubectl-describe-pod_vmware-system-vmop.txt

kubectl_describe_cluster_resource_virtualmachineimages.txt

docker_images.txt

TKG 클러스터의 상태 확인

모든 클러스터 노드(VM)가 [준비] 상태인지 확인합니다.
kubectl get nodes -o wide
NAME                                                        STATUS   ROLES                  AGE   VERSION            INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                 KERNEL-VERSION   CONTAINER-RUNTIME
tkgs-cluster-13-control-plane-dpmjj                         Ready    control-plane,master   12d   v1.22.9+vmware.1   10.244.0.25   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-control-plane-nb5r6                         Ready    control-plane,master   12d   v1.22.9+vmware.1   10.244.0.18   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-control-plane-zpcgs                         Ready    control-plane,master   12d   v1.22.9+vmware.1   10.244.0.26   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-worker-nodepool-a1-gq458-9d6458d6f-c7t8c    Ready    <none>                 12d   v1.22.9+vmware.1   10.244.0.24   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-worker-nodepool-a1-gq458-9d6458d6f-slzvn    Ready    <none>                 12d   v1.22.9+vmware.1   10.244.0.19   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-worker-nodepool-a1-gq458-9d6458d6f-vzrsd    Ready    <none>                 12d   v1.22.9+vmware.1   10.244.0.22   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-worker-nodepool-a2-tw99z-7b547b7f85-k5h4s   Ready    <none>                 12d   v1.22.9+vmware.1   10.244.0.20   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-worker-nodepool-a2-tw99z-7b547b7f85-lkmdx   Ready    <none>                 12d   v1.22.9+vmware.1   10.244.0.21   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
tkgs-cluster-13-worker-nodepool-a2-tw99z-7b547b7f85-qwv98   Ready    <none>                 12d   v1.22.9+vmware.1   10.244.0.23   <none>        VMware Photon OS/Linux   4.19.225-3.ph3   containerd://1.5.11
모든 포드가 [실행 중] 상태인지 확인합니다.
kubectl get pods -A
NAMESPACE                      NAME                                                                        READY   STATUS      RESTARTS      AGE
kube-system                    antrea-agent-58hv7                                                          2/2     Running     0             12d
kube-system                    antrea-agent-6x897                                                          2/2     Running     0             12d
kube-system                    antrea-agent-7d99k                                                          2/2     Running     0             12d
kube-system                    antrea-agent-b7vdv                                                          2/2     Running     0             12d
kube-system                    antrea-agent-dhdlg                                                          2/2     Running     0             12d
kube-system                    antrea-agent-mj4wx                                                          2/2     Running     0             12d
kube-system                    antrea-agent-v7vtv                                                          2/2     Running     0             12d
kube-system                    antrea-agent-x49gz                                                          2/2     Running     1 (12d ago)   12d
kube-system                    antrea-agent-z2gth                                                          2/2     Running     0             12d
kube-system                    antrea-controller-bb59f5fbf-t6cm9                                           1/1     Running     0             12d
kube-system                    antrea-resource-init-65b586c9db-2cbxx                                       1/1     Running     0             12d
kube-system                    coredns-5f64c4fff8-2gsqn                                                    1/1     Running     0             12d
kube-system                    coredns-5f64c4fff8-hvkg9                                                    1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-control-plane-dpmjj                         1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-control-plane-nb5r6                         1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-control-plane-zpcgs                         1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-worker-nodepool-a1-gq458-9d6458d6f-c7t8c    1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-worker-nodepool-a1-gq458-9d6458d6f-slzvn    1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-worker-nodepool-a1-gq458-9d6458d6f-vzrsd    1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-worker-nodepool-a2-tw99z-7b547b7f85-k5h4s   1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-worker-nodepool-a2-tw99z-7b547b7f85-lkmdx   1/1     Running     0             12d
kube-system                    docker-registry-tkgs-cluster-13-worker-nodepool-a2-tw99z-7b547b7f85-qwv98   1/1     Running     0             12d
kube-system                    etcd-tkgs-cluster-13-control-plane-dpmjj                                    1/1     Running     0             12d
kube-system                    etcd-tkgs-cluster-13-control-plane-nb5r6                                    1/1     Running     0             12d
kube-system                    etcd-tkgs-cluster-13-control-plane-zpcgs                                    1/1     Running     0             12d
kube-system                    kube-apiserver-tkgs-cluster-13-control-plane-dpmjj                          1/1     Running     0             12d
kube-system                    kube-apiserver-tkgs-cluster-13-control-plane-nb5r6                          1/1     Running     0             12d
kube-system                    kube-apiserver-tkgs-cluster-13-control-plane-zpcgs                          1/1     Running     0             12d
kube-system                    kube-controller-manager-tkgs-cluster-13-control-plane-dpmjj                 1/1     Running     0             12d
kube-system                    kube-controller-manager-tkgs-cluster-13-control-plane-nb5r6                 1/1     Running     1 (12d ago)   12d
kube-system                    kube-controller-manager-tkgs-cluster-13-control-plane-zpcgs                 1/1     Running     0             12d
kube-system                    kube-proxy-4kp57                                                            1/1     Running     0             12d
kube-system                    kube-proxy-5q8pw                                                            1/1     Running     0             12d
kube-system                    kube-proxy-5th6p                                                            1/1     Running     0             12d
kube-system                    kube-proxy-8m6mx                                                            1/1     Running     0             12d
kube-system                    kube-proxy-dn5lp                                                            1/1     Running     0             12d
kube-system                    kube-proxy-qgmcg                                                            1/1     Running     0             12d
kube-system                    kube-proxy-vbq27                                                            1/1     Running     0             12d
kube-system                    kube-proxy-xhnws                                                            1/1     Running     0             12d
kube-system                    kube-proxy-zgfvn                                                            1/1     Running     0             12d
kube-system                    kube-scheduler-tkgs-cluster-13-control-plane-dpmjj                          1/1     Running     0             12d
kube-system                    kube-scheduler-tkgs-cluster-13-control-plane-nb5r6                          1/1     Running     1 (12d ago)   12d
kube-system                    kube-scheduler-tkgs-cluster-13-control-plane-zpcgs                          1/1     Running     0             12d
kube-system                    metrics-server-774bc4dc99-qp7tb                                             1/1     Running     0             12d
vmware-system-auth             guest-cluster-auth-svc-6m6cd                                                1/1     Running     0             12d
vmware-system-auth             guest-cluster-auth-svc-h44xf                                                1/1     Running     0             12d
vmware-system-auth             guest-cluster-auth-svc-l968n                                                1/1     Running     0             12d
vmware-system-cloud-provider   guest-cluster-cloud-provider-5f87d5d7d8-rmd78                               1/1     Running     1 (12d ago)   12d
vmware-system-csi              vsphere-csi-controller-7d858778bd-h7zhg                                     6/6     Running     4 (12d ago)   12d
vmware-system-csi              vsphere-csi-controller-7d858778bd-rkl98                                     6/6     Running     0             12d
vmware-system-csi              vsphere-csi-controller-7d858778bd-snmk7                                     6/6     Running     0             12d
vmware-system-csi              vsphere-csi-node-22fnt                                                      3/3     Running     1 (12d ago)   12d
vmware-system-csi              vsphere-csi-node-5jtbr                                                      3/3     Running     0             12d
vmware-system-csi              vsphere-csi-node-87lz6                                                      3/3     Running     0             12d
vmware-system-csi              vsphere-csi-node-gp9sf                                                      3/3     Running     0             12d
vmware-system-csi              vsphere-csi-node-k2psv                                                      3/3     Running     0             12d
vmware-system-csi              vsphere-csi-node-mg8bw                                                      3/3     Running     0             12d
vmware-system-csi              vsphere-csi-node-pctmv                                                      3/3     Running     0             12d
vmware-system-csi              vsphere-csi-node-sslrl                                                      3/3     Running     1 (12d ago)   12d
vmware-system-csi              vsphere-csi-node-zbqbq                                                      3/3     Running     0             12d
TKG 클러스터 상태를 가져오고 describe 명령을 실행합니다.
kubectl get tkc <clustername>
kubectl describe tkc <clustername>

TKG 컨트롤러 관리자 상태 확인

TKG 컨트롤러 관리자 상태를 확인합니다.
kubectl get deployments -n vmware-system-tkg vmware-system-tkg-controller-manager -o yaml

VM 운영자 상태 확인

포드가 실행 중이어야 합니다.
kubectl get pods -n vmware-system-vmop
NAME                                                    READY   STATUS    RESTARTS   AGE
vmware-system-vmop-controller-manager-c8499b9df-5h6f9   2/2     Running   0          27d
vmware-system-vmop-controller-manager-c8499b9df-6wgr7   2/2     Running   0          27d
vmware-system-vmop-controller-manager-c8499b9df-tvbg6   2/2     Running   0          27d
vmware-system-vmop-hostvalidator-8498cc5f4d-vqhnk       1/1     Running   0          27d

VM 운영자는 VirtualNetworkInterface를 생성하고 해당 상태를 확인합니다. 노드 VM이 IP를 얻지 못하는 경우 이것이 가장 먼저 확인해야 할 영역입니다. 가상 시스템 생성이 이 단계를 통과했습니까?

또한 VM 운영자는 VirtualMachineService를 조정하고 해당 상태를 업데이트하는 작업을 담당합니다. 외부 IP로 TKG 클러스터 Kubernetes API에 액세스할 수 없는 경우 VM 운영자 로그를 확인하십시오.

예를 들어 VM 운영자 포드 중 하나를 선택하고 네임스페이스를 지정한 다음 관리자 컨테이너를 지정합니다. ( logs 명령은 컨테이너용입니다. 컨트롤러 포드 내부에는 로그를 확인할 수 있는 관리자 컨테이너가 있습니다.)
kubectl logs -f vmware-system-vmop-controller-manager-c8499b9df-5h6f9 -n vmware-system-vmop manager