VMware (55) 썸네일형 리스트형 (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) AVI GATEWAYCLASS with Tanzu K8S에서 LoadBalancer 구성시 동일한 IP로 여러개의 Port를 지정하기 위해 사용 구성을 하기 위해서는 클러스터에서 servicesAPI: true 를 True로 변경 필요 AviInfrasetting을 구성 ## AVIInfraSetting kubectl apply -f - (DK) AVI BGP with Tanzu https://huntedhappy.github.io/avi/#1-tanzu%EC%97%90%EC%84%9C-cluster-servicetype-%EB%B3%80%EA%B2%BD The Documentation vSphere Tanzu with AVI Load Balancer VMware Tanzu with AVI huntedhappy.github.io AVI BGP 연동 후 Rhi 사용 BGP ECMP를 구성 하여 SE를 탄력적으로 확장을 할 수 있습니다. 물리 스위치에는 ECMP를 구성이 필요. AVI에서 BGP를 구성 하기 위해 Peer를 입력 한다. AVI Controller를 접속 후 BGP를 확인 한다. ※ SWITCH에서 확인 해도 된다. ## AVI Controller SSH 접속 shel.. (DK) AVI Autosaclling with Tanzu https://huntedhappy.github.io/avi/#1-tanzu%EC%97%90%EC%84%9C-cluster-servicetype-%EB%B3%80%EA%B2%BD The Documentation vSphere Tanzu with AVI Load Balancer VMware Tanzu with AVI huntedhappy.github.io SE의 성능으로 오토스케일링이 필요 할 경우 아래와 같이 동작을 한다. AutoScalling을 사용하기 위해 Controller로 접속 후 Auto_rebalance를 실행 시켜준다. ## AVI Controller SSH접속 switchto tenant admin switchto cloud Default-Cloud auto_rebalance save .. (DK) AVIINFRASETTING with Tanzu https://huntedhappy.github.io/avi/#2-avi-infra-settings The Documentation vSphere Tanzu with AVI Load Balancer VMware Tanzu with AVI huntedhappy.github.io 컨테이너 환경에서 하나의 클러스터에 VS별 SE-GROUP을 분리 하거나, 또는 VS의 IP 대역을 분리 하고 싶을 경우 AVIINFRASETTING을 사용하여 구성을 할 수 있다. 먼저 AVIINFRASETTING을 설정을 하여 기존 대역을 분리 할 수 있다. kubectl apply -f - 이전 1 2 3 4 ··· 7 다음