alibaba / kt-connect

A toolkit for Integrating with your kubernetes dev environment more efficiently
https://alibaba.github.io/kt-connect/#/
GNU General Public License v3.0
1.51k stars 230 forks source link

get error: x509: certificate signed by unknown authority #376

Open lostrain opened 1 year ago

lostrain commented 1 year ago

Describe the bug Failed to start

Log

C:\Windows\system32>D:\software\k8s\bin\ktctl.exe connect --image=dockerhub.kubekey.local/kubesphereio/rdc-incubator/kt-connect-shadow:v0.3.6 --namespace=hice --dnsMode hosts --debug
9:58AM DBG Background task log to C:\Users\dujunfu\AppData\Local\Temp\kt-1694898773
9:58AM INF Using cluster context operator@local (operator@local)
9:58AM INF KtConnect 0.3.6 start at 16060 (windows amd64)
9:58AM ERR Exit: Post "https://10.42.45.11:6443/api/v1/namespaces/hice/pods": x509: certificate signed by unknown authority
9:58AM DBG Cleaning workspace

Environment (please complete the following information):

Additional context Add any other context about the problem here.