I have created an image using Docker command docker build -t library/app-agentk .
Then I have config file piVersion: apps/v1beta1 kind: Deployment metadata: name: agent-deployment spec: replicas: 1 # tells deployment to run 2 pods matching the template template: # create pods using pod definition in this template metadata: # unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is # generated from the deployment name labels: app: agentk spec: containers: - name: agentk1 image: agentc I use following command to run the image. kubectl apply -f deployment.yaml I get following error agent-deployment-4152082668-kx39q <http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/pod/default/agent-deployment-4152082668-kx39q?namespace=default> Waiting: ImagePullBackOff 0 3 minutes subject <http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/log/default/agent-deployment-4152082668-kx39q/?namespace=default> more_vert Failed to pull image "agentc": rpc error: code = 2 desc = Error: image library/agentc:latest not found Error syncing pod -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.