最佳答案
我正在尝试使用 minikube 构建和部署微服务映像到在我的开发机器上运行的单节点 Kubernetes 集群。我正在使用谷歌的云本地微服务演示应用在线精品来理解像 Kubernetes、 Istio 等技术的使用。
链接到 github repo: 微服务演示
在执行安装过程以及运行命令 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 signed.
W: GPG error: http://security.debian.org/debian-security buster/updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
failed to build: couldn't build "loadgenerator": unable to stream build output: The command '/bin/sh -c apt-get -qq update && apt-get install -y --no-install-recommends curl' returned a non-zero code: 100
我在尝试构建加载生成器时收到这些错误。 我该如何解决这个问题?