简体   繁体   中英

Kuberbetes: Kompose up error while deploying application

I am attempting to run compose up and am running the following command sudo kompose up --push-image=false --verbose kompose builds all the containers successfully but right at the very end throws this error:

FATA Error while deploying application: Get https://127.0.0.1:6443/api: dial tcp 127.0.0.1:6443: connect: connection refused 

I have even run kubectl proxy but this didn't fix the problem, can anyone please help?

EDIT: To clarify I am using minikube, it is running in the background but Kompose still doesn't work.

事实证明,问题最终是这样一个事实,即默认情况下 kubectl 代理命令的证书不是自签名的,我使用kompose up --server http://127.0.0.1:6443解决了这个kompose up --server http://127.0.0.1:6443但我无法使用 Kubernetes 仪表板没有证书。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM