Skip to content

spring-boot-configmaps-demo fabric8 plugin failed to deploy  #2

@quantum-fusion

Description

@quantum-fusion

I executed this command to build locally, mvn clean package fabric8:deploy

However, the pod still thinks it has to pull from developers/spring-boot-configmaps-demo

kubectl get pods -w
NAME READY STATUS RESTARTS AGE
spring-boot-configmaps-demo-78b95f7688-d6pql 0/1 ImagePullBackOff 0 14s
^CMacBook-Pro:~/Desktop/spring-boot-configmaps-demo-master quantum-fusion$ kubectl describe pods spring-boot-configmaps-demo-78b95f88-d6pql
Name: spring-boot-configmaps-demo-78b95f7688-d6pql
Namespace: default
Node: minikube/10.0.2.15
Start Time: Wed, 04 Jul 2018 12:15:02 -0400
Labels: app=spring-boot-configmaps-demo
group=com.redhat.developers
pod-template-hash=3465193244
provider=fabric8
version=0.0.1-SNAPSHOT
Annotations: fabric8.io/git-branch=master
fabric8.io/git-commit=cc837910332660d4374ac653fa88072ecaa2d51f
fabric8.io/iconUrl=img/icons/spring-boot.svg
fabric8.io/metrics-path=dashboard/file/kubernetes-pods.json/?var-project=spring-boot-configmaps-demo&var-version=0.0.1-SNAPSHOT
fabric8.io/scm-tag=HEAD
fabric8.io/scm-url=https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/spring-boot-configmaps-demo
Status: Pending
IP: 172.17.0.5
Controlled By: ReplicaSet/spring-boot-configmaps-demo-78b95f7688
Containers:
spring-boot:
Container ID:
Image: developers/spring-boot-configmaps-demo:snapshot-180704-121459-0587
Image ID:
Ports: 8080/TCP, 9779/TCP, 8778/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP
State: Waiting
Reason: ErrImagePull
Ready: False
Restart Count: 0
Liveness: http-get http://:8080/health delay=180s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:8080/health delay=10s timeout=1s period=10s #success=1 #failure=3
Environment:
GREETING_PREFIX: <set to the key 'greeter.prefix' of config map 'spring-boot-configmaps-demo'> Optional: false
KUBERNETES_NAMESPACE: default (v1:metadata.namespace)
Mounts:
/deployments/config from application-config (ro)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-4fbcc (ro)
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
Volumes:
application-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: spring-app-config
Optional: false
default-token-4fbcc:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-4fbcc
Optional: false
QoS Class: BestEffort
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message


Normal Scheduled 40s default-scheduler Successfully assigned spring-boot-configmaps-demo-78b95f7688-d6pql to minikube
Normal SuccessfulMountVolume 40s kubelet, minikube MountVolume.SetUp succeeded for volume "application-config"
Normal SuccessfulMountVolume 40s kubelet, minikube MountVolume.SetUp succeeded for volume "default-token-4fbcc"
Normal Pulling 26s (x2 over 40s) kubelet, minikube pulling image "developers/spring-boot-configmaps-demo:snapshot-180704-121459-0587"
Warning Failed 25s (x2 over 39s) kubelet, minikube Failed to pull image "developers/spring-boot-configmaps-demo:snapshot-180704-121459-0587": rpc error: code = Unknown desc = Error response from daemon: pull access denied for developers/spring-boot-configmaps-demo, repository does not exist or may require 'docker login'
Warning Failed 25s (x2 over 39s) kubelet, minikube Error: ErrImagePull
Normal BackOff 12s (x2 over 39s) kubelet, minikube Back-off pulling image "developers/spring-boot-configmaps-demo:snapshot-180704-121459-0587"
Warning Failed 12s (x2 over 39s) kubelet, minikube Error: ImagePullBackOff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions