Spring-cloud-kubernetes使用

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

posted @   Peter.Jones  阅读(33)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
历史上的今天:
2021-12-09 责任链模式
2021-12-09 枚举模板
2019-12-09 SpringMVC @RequestParam报错Required String parameter is not present
2019-12-09 MySQL报错:java.net.SocketTimeoutException: Read timed out
点击右上角即可分享
微信分享提示