Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- michal@t450s wfswarm-rest-http-crud]$ oc get po -w
- NAME READY STATUS RESTARTS AGE
- my-database-1-731mh 1/1 Running 0 3m
- wfswarm-rest-http-crud-1-k0q1g 1/1 Running 0 45s
- wfswarm-rest-http-crud-s2i-1-build 0/1 Completed 0 2m
- michal@t450s ~]$ oc describe pod wfswarm-rest-http-crud-1-k0q1g
- Name: wfswarm-rest-http-crud-1-k0q1g
- Namespace: crud
- Security Policy: restricted
- Node: 192.168.42.174/192.168.42.174
- Start Time: Mon, 24 Apr 2017 10:33:00 +0200
- Labels: deployment=wfswarm-rest-http-crud-1
- deploymentconfig=wfswarm-rest-http-crud
- group=io.openshift.boosters
- project=wfswarm-rest-http-crud
- provider=fabric8
- version=2-SNAPSHOT
- Status: Running
- IP: 172.17.0.5
- Controllers: ReplicationController/wfswarm-rest-http-crud-1
- Containers:
- wildfly-swarm:
- Container ID: docker://aad58e0aad79a02c4fb29cb9b333193e4cf8d6c472b3916ca38d96f722c5a07d
- Image: 172.30.1.1:5000/crud/wfswarm-rest-http-crud@sha256:74642c3e9b035207e4584b26f06634b56e12d0930c6a89f3e556e14f73baaa46
- Image ID: docker-pullable://172.30.1.1:5000/crud/wfswarm-rest-http-crud@sha256:74642c3e9b035207e4584b26f06634b56e12d0930c6a89f3e556e14f73baaa46
- Ports: 8080/TCP, 9779/TCP, 8778/TCP
- State: Running
- Started: Mon, 24 Apr 2017 10:33:02 +0200
- Ready: True
- Restart Count: 0
- Readiness: http-get http://:8080/ delay=0s timeout=1s period=10s #success=1 #failure=3
- Volume Mounts:
- /var/run/secrets/kubernetes.io/serviceaccount from default-token-vs7r8 (ro)
- Environment Variables:
- DB_USERNAME: <set to the key 'user' in secret 'my-database-secret'>
- DB_PASSWORD: <set to the key 'password' in secret 'my-database-secret'>
- JAVA_OPTIONS: -Dswarm.datasources.data-sources.MyDS.connection-url=jdbc:postgresql://$(MY_DATABASE_SERVICE_HOST):$(MY_DATABASE_SERVICE_PORT)/my_data -Dswarm.datasources.data-sources.MyDS.user-name=$(DB_USERNAME) -Dswarm.datasources.data-sources.MyDS.password=$(DB_PASSWORD) -Dswarm.datasources.data-sources.MyDS.driver-name=postgresql
- KUBERNETES_NAMESPACE: crud (v1:metadata.namespace)
- AB_JOLOKIA_OFF: true
- JAVA_APP_DIR: /deployments
- AB_OFF: true
- Conditions:
- Type Status
- Initialized True
- Ready True
- PodScheduled True
- Volumes:
- default-token-vs7r8:
- Type: Secret (a volume populated by a Secret)
- SecretName: default-token-vs7r8
- QoS Tier: BestEffort
- Events:
- FirstSeen LastSeen Count From SubobjectPath Type Reason Message
- --------- -------- ----- ---- ------------- -------- ------ -------
- 54s 54s 1 {default-scheduler } Normal Scheduled Successfully assigned wfswarm-rest-http-crud-1-k0q1g to 192.168.42.174
- 53s 53s 1 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Normal Pulled Container image "172.30.1.1:5000/crud/wfswarm-rest-http-crud@sha256:74642c3e9b035207e4584b26f06634b56e12d0930c6a89f3e556e14f73baaa46" already present on machine
- 52s 52s 1 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Normal Created Created container with docker id aad58e0aad79; Security:[seccomp=unconfined]
- 52s 52s 1 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Normal Started Started container with docker id aad58e0aad79
- 47s 44s 2 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Warning Unhealthy Readiness probe failed: Get http://172.17.0.5:8080/: dial tcp 172.17.0.5:8080: getsockopt: connection refused
- 33s 24s 2 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Warning Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 404
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement