본문 바로가기

VMware/TANZU

(26)
(DK) Tanzu Application Platform (4) https://huntedhappy.github.io/tanzu-application-platform/ The Documentation TAP Tanzu Application Platform huntedhappy.github.io 비주얼 스튜디오 연동 Extenstion 설정 ## java 설치 apt search openjdk apt install openjdk-11-jdk -y java --version ## 컨텍스트 확인 echo "allow_k8s_contexts('$(kubectl config current-context)')" >> /var/tmp/tap/tanzu-java-web-app/Tiltfile ## 맨아래 해당 context가 들어가 있는 것을 확인 할 수 있다. cat /var/t..
(DK) Tanzu Application Platform (3) https://huntedhappy.github.io/tanzu-application-platform/ The Documentation TAP Tanzu Application Platform huntedhappy.github.io TANZU RABAC 설정 ## GCR 키 dockerconfigjson으로 변수 저장 dockerconfigjson="$(kubectl get secret tbs-builder-secret-gen-placeholder-secret -n tap-install -o jsonpath={.data.\\.dockerconfigjson})" ## 배포 cat
(DK) Tanzu Application Platform (3) https://huntedhappy.github.io/tanzu-application-platform/ The Documentation TAP Tanzu Application Platform huntedhappy.github.io TANZU RABAC 설정 ## GCR 키 dockerconfigjson으로 변수 저장 dockerconfigjson="$(kubectl get secret tbs-builder-secret-gen-placeholder-secret -n tap-install -o jsonpath={.data.\\.dockerconfigjson})" ## 배포 cat
(DK) Tanzu Application Platform (2) https://huntedhappy.github.io/tanzu-application-platform/ The Documentation TAP Tanzu Application Platform huntedhappy.github.io TANZU TAP 설치 ## GCR에서 다운로드 받은 키 저장 tanzu secret registry add registry-credentials --server gcr.io --username _json_key --password "$(cat main-xxxx-xxx-xxxx.json)" --namespace tap-install service_account_key="$(cat main-xxxx-xxx-xxxx.json)" ## 실행파일 cat
(DK) Tanzu Application Platform (1) 자세한 설치는 아래 블로그를 참고 부탁드리겠습니다. https://huntedhappy.github.io/tanzu-application-platform/ The Documentation TAP Tanzu Application Platform huntedhappy.github.io TAP DOCUMENT https://docs.vmware.com/en/Tanzu-Application-Platform/1.0/tap/GUID-install-tanzu-cli.html VMware Tanzu 애플리케이션 플랫폼은 개발자와 운영자가 Kubernetes 플랫폼에서 앱을 보다 쉽게 구축, 배포 및 관리할 수 있도록 도와주는 패키지된 구성 요소 집합입니다. Tanzu 애플리케이션 플랫폼은 Kubernetes 기반 앱 ..
(DK)WSL 에서 TCE Extension 설치 하기 ## repo 저장 tanzu package repository add tce-repo --url projects.registry.vmware.com/tce/main:0.9.1 --namespace tanzu-package-repo-global ## repo list 확인 tanzu package repository list --namespace tanzu-package-repo-global ## repo 설치 가능한 리스트 확인 tanzu package available list ## 또는 kubectl get package -A ## 설치 방법 tanzu package install cert-manager --package-name cert-manager.community.tanzu.vmware.co..
(DK)WSL에서 TCE(Tanzu Communty Edition) Install 윈도우에서는 아래와 같은 에러가 발생 함 Error: unable to create Tanzu Standalone Cluster client Cause: unable to ensure prerequisites: unable to ensure tkg BOM file: failed to download TKG compatibility file from the registry: failed to list TKG compatibility image tags: Get "https://projects.registry.vmware.com/v2/": x509: certificate signed by unknown authority Error: exit status 1 해당 파일을 열어서 내용 수정 ## 파일을 열고 %..
(DK) TANZU PUBLIC환경에서 VM Resizing ## PUBLIC 환경에서 배포한 VM의 사이즈 변경이 필요 할 경우 VM의 TEMPLATE을 바꾸어 줘야 한다. 관리클러스터로 Context를 변경 배포된 VM의 Template 확인, 만약 AWS면 k get awsmachinetemplates 이라고 하면 된다. 변경하고자 하는 Template 확인 kubectl edit azuremachinetemplates azr-sectkg-md-2 현재 Standard_D2s_v3로 배포 되어 있는것을 확인 할 수 있다. Azure에서 해당 VM에서도 D2s v3인것을 확인 할 수 있다. ## yaml파일로 떨군다. kubectl get azuremachinetemplates azr-sectkg-md-2 -o yaml > azr-sectkg-md-2.yaml..