-
Notifications
You must be signed in to change notification settings - Fork 766
knative pull image by Dragonfly is error #1569
Description
Question
my deploy knative service yaml :
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: nginx
namespace: cvd
spec:
template:
metadata:
name: nginx-v3
annotations:
autoscaling.knative.dev/minScale: "1"
autoscaling.knative.dev/maxScale: "11"
autoscaling.knative.dev/target: "122"
spec:
containers:
- env:
value: "2"
image: tools/nginx:1.9.1
imagePullPolicy: IfNotPresent
name: user-container
/etc/docker/daemon.json:
{
"registry-mirrors": [
"http://127.0.0.1:65001"
],
"max-concurrent-downloads": 10,
"log-driver": "json-file",
"log-level": "warn",
"log-opts": {
"max-size": "10m",
"max-file": "3"
},
"data-root":"/apps/docker"
}
error:
Unable to fetch image "tools/nginx:1.9.1": failed to resolve image to digest: Get "https://index.docker.io/v2/": dial tcp: lookup index.docker.io on 10.96.0.10:53: no such host
docker info :
Client:
Debug Mode: false
Server:
Containers: 50
Running: 22
Paused: 0
Stopped: 28
Images: 24
Server Version: 19.03.0
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-1160.el7.x86_64
Operating System: BigCloud Enterprise Linux 7.6 (Core)
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 62.42GiB
Name: 10.253.173.21
ID: NZR5:RHYS:MZDG:X3SU:JDEF:ZCG7:QPPV:VYVK:PHL2:SA3D:JKKY:44NH
Docker Root Dir: /apps/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
docker.dep.devops.cmit.cloud:20100
127.0.0.0/8
Registry Mirrors:
http://127.0.0.1:65001/
Live Restore Enabled: false
Product License: Community Engine
create pod by Dragonfly is success but knative is erro