vSphere with kubernetes 기본 기능 확인
검증 환경은 다음과 같습니다.
vSphere with Kubernetes란 무엇입니까?
vSphere 클러스터에서 포드 생성과 같은 Kubernetes 워크로드를 실행할 수 있습니다. vSphere with Kubernetes의 구성 요소는 다음과 같습니다.

vSphere with Kubernetes 환경 구축
위의 시스템 요구 사항을 충족하는 클러스터를 사용하여 vSphere Client 홈에서 워크로드 관리를 선택하고 활성화



관리 네트워크 설정

워크로드 네트워크 설정


네임스페이스 만들기
클러스터에서 vSphere with Kubernetes 활성화를 확인하고 네임스페이스 만들기
네임스페이스에 CPU, 메모리, 스토리지 및 권한을 할당함으로써 개발자에 의한 Pod에의 액세스가 가능해진다


포드 만들기 및 확인
CLI에서 수퍼바이저 클러스터에 로그인 수행
kubectl vsphere login --server=https://<制御プレーンノードのIPアドレス> --vsphere-username <your user account name>
CLI에서 수퍼바이저 클러스터에 로그인 수행
kubectl vsphere login --server=https://<制御プレーンノードのIPアドレス> --vsphere-username <your user account name>
# Podのデプロイ
E:\vsphere-plugin\bin> kubectl apply -f E:\vsphere-plugin\bin\application.yaml --namespace=namespace1
pod/nginx created
# Podの確認
E:\vsphere-plugin\bin> kubectl get pods --namespace=namespace1
NAME READY STATUS RESTARTS AGE
nginx 0/1 Pending 0 12s
E:\vsphere-plugin\bin>kubectl get pods --namespace=namespace1
NAME READY STATUS RESTARTS AGE
nginx 1/1 Running 0 79s
E:\vsphere-plugin\bin> kubectl exec -it nginx /bin/bash --namespace=namespace1
root@nginx:/# ls
bin docker-entrypoint.d home media proc sbin tmp
boot docker-entrypoint.sh lib mnt root srv usr
dev etc lib64 opt run sys var

Reference
이 문제에 관하여(vSphere with kubernetes 기본 기능 확인), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/m-eno/items/d43cacf21360c46f12f3텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)