1. After you log into the console, please check the
monitoring status of service components in
"Cluster Management". If any service is not
ready, please wait patiently until all components
are up and running.
2. Please change the default password after login.
🍺 /usr/local/Cellar/telepresence/2.4.2: 3 files, 67.3MB, built in 3 seconds
进入cmd/apiserver执行以下命令
telepresence --namespace kubesphere-system --swap-deployment ks-apiserver --run go run apiserver.go Legacy
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Telepresence command used Command roughly translates to the following in Telepresence: telepresence intercept ks-apiserver --namespace kubesphere-system -- go run apiserver.go running... Launching Telepresence Root Daemon Launching Telepresence User Daemon Connected to context minikube (https://192.168.64.3:8443) Using Deployment ks-apiserver intercepted Intercept name : ks-apiserver-kubesphere-system State : ACTIVE Workload kind : Deployment Destination : 127.0.0.1:8080 Volume Mount Error: sshfs is not installed on your local machine Intercepting : all TCP connections fatal error: unexpected signal during runtime execution
装上后执行 telepresence intercept ks-apiserver --namespace kubesphere-system -- go run apiserver.go
1 2 3 4 5 6 7 8 9
Connected to context minikube (https://192.168.64.3:8443) Using Deployment ks-apiserver intercepted Intercept name : ks-apiserver-kubesphere-system State : ACTIVE Workload kind : Deployment Destination : 127.0.0.1:8080 Volume Mount Error: macFUSE 4.0.5 or higher is required on your local machine Intercepting : all TCP connections
Remove old sshfs, macfuse, osxfuse using brew uninstall
brew install –cask macfuse
brew install gromgit/fuse/sshfs-mac
brew link –overwrite sshfs-mac
telepresence intercept ks-apiserver --namespace kubesphere-system -- go run apiserver.go
1 2 3 4 5 6 7 8 9 10 11
Launching Telepresence Root Daemon Launching Telepresence User Daemon Connected to context minikube (https://192.168.64.3:8443) Using Deployment ks-apiserver intercepted Intercept name : ks-apiserver-kubesphere-system State : ACTIVE Workload kind : Deployment Destination : 127.0.0.1:8080 Volume Mount Point: /var/folders/nl/9z20glxd6fz0zdwjjwm4k1w00000gn/T/telfs-715153785 Intercepting : all TCP connections
至此,telepresence安装完成。
五、本地调试kubesphere的APIServer
kubectl -n kubesphere-system get cm kubesphere-config -o yaml