Spring-cloud-kubernetes使用

发布时间 2023-12-09 00:26:36作者: Peter.Jones

The following profiles are active: kubernetes : 

错误1:Could not create the Kubernetes ApiClient in a cluster environment, because : java.nio.file.NoSuchFileException: \var\run\secrets\kubernetes.io\serviceaccount\ca.crt

错误2:Unless $KUBECONFIG or $HOME/.kube/config is defined,

错误3:this client will try to connect to localhost:8080