我正在尝试使用 minikube 构建微服务映像并将其部署到在我的开发机器上运行的单节点 Kubernetes 集群。我正在使用 Google 的云原生微服务演示应用程序 Online Boutique 来了解 Kubernetes、Istio 等技术的使用。
链接到 github 存储库:microservices-demo
在遵循安装过程并运行命令skaffold run来构建和部署我的应用程序时,我收到一些错误:
Step 10/11 : RUN apt-get -qq update && apt-get install -y --no-install-recommends curl
---> Running in 43d61232617c
W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not …Run Code Online (Sandbox Code Playgroud) 我已经使用 为我的 Pod 生成了日志kubectl logs 'pod name。但我想将这些日志保存在一个卷(某种持久存储)中,因为如果 Pod 宕机,容器日志将被清除。有没有办法做到这一点?我必须写某种脚本吗?我已经阅读了很多答案,但我仍然不明白如何去做,非常感谢任何帮助。谢谢!