Kuberenetes从Docker Hub提取图像以在出现错误的容器上运行应用程序
无法提取图像“ tutum / hello-world”:rpc错误:代码=未知desc =来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:x509:证书对GATEWAY.xxx.COM有效,对注册表无效1.docker.io
许多建议查看链接,但是现在不可用
https://docs.docker.com/v1.13/engine/admin/systemd/#http-proxy
kind: service
apiVersion: v1
metadata:
name:helloworldservice
spec:
selector:
app: hello-world
ports:
protocol: "TCP"
port: 8080
targetport: 80
nodeport: 3001
type:LoadBalancer
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
spec:
replicas: 2
selector:
matchLabels:
app: hello-world
template:
metadata:
labels:
app: hello-world
spec:
containers:
- name: hello-world
image: tutum/hello-world
ports:
- containerPort: 3000
无法提取图像“ tutum / hello-world”:rpc错误:代码=未知desc =来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:x509:证书对GATEWAY.SPANSERVICES.COM有效,对注册表无效1.docker.io