이전 포스팅에서 구축한 환경을 기준으로 합니다
kubectl get svc
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
다 끝나면 아래와 같은 명령어를 확인 할 수 있어요
#####################################################
### Welcome to KubeSphere! ###
#####################################################
Account: admin
Password: P@88w0rd
NOTES:
1. After logging into the console, please check the
monitoring status of service components in
the "Cluster Management". If any service is not
ready, please wait patiently until all components
are ready.
2. Please modify the default password after login.
kubectl get svc -n kubesphere-system
kubectl edit svc -n kubesphere-system ks-console
kubectl get svc -n kubesphere-system
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
명령어를 쳤을 때 얻은 계정값 (Account: admin / Password: P@88w0rd)을 통해서 접근하면아래와 같은 페이지를 확인할 수 있음!