Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
660
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. michal@t450s wfswarm-rest-http-crud]$ oc get po -w
  2. NAME READY STATUS RESTARTS AGE
  3. my-database-1-731mh 1/1 Running 0 3m
  4. wfswarm-rest-http-crud-1-k0q1g 1/1 Running 0 45s
  5. wfswarm-rest-http-crud-s2i-1-build 0/1 Completed 0 2m
  6.  
  7.  
  8. michal@t450s ~]$ oc describe pod wfswarm-rest-http-crud-1-k0q1g
  9. Name: wfswarm-rest-http-crud-1-k0q1g
  10. Namespace: crud
  11. Security Policy: restricted
  12. Node: 192.168.42.174/192.168.42.174
  13. Start Time: Mon, 24 Apr 2017 10:33:00 +0200
  14. Labels: deployment=wfswarm-rest-http-crud-1
  15. deploymentconfig=wfswarm-rest-http-crud
  16. group=io.openshift.boosters
  17. project=wfswarm-rest-http-crud
  18. provider=fabric8
  19. version=2-SNAPSHOT
  20. Status: Running
  21. IP: 172.17.0.5
  22. Controllers: ReplicationController/wfswarm-rest-http-crud-1
  23. Containers:
  24. wildfly-swarm:
  25. Container ID: docker://aad58e0aad79a02c4fb29cb9b333193e4cf8d6c472b3916ca38d96f722c5a07d
  26. Image: 172.30.1.1:5000/crud/wfswarm-rest-http-crud@sha256:74642c3e9b035207e4584b26f06634b56e12d0930c6a89f3e556e14f73baaa46
  27. Image ID: docker-pullable://172.30.1.1:5000/crud/wfswarm-rest-http-crud@sha256:74642c3e9b035207e4584b26f06634b56e12d0930c6a89f3e556e14f73baaa46
  28. Ports: 8080/TCP, 9779/TCP, 8778/TCP
  29. State: Running
  30. Started: Mon, 24 Apr 2017 10:33:02 +0200
  31. Ready: True
  32. Restart Count: 0
  33. Readiness: http-get http://:8080/ delay=0s timeout=1s period=10s #success=1 #failure=3
  34. Volume Mounts:
  35. /var/run/secrets/kubernetes.io/serviceaccount from default-token-vs7r8 (ro)
  36. Environment Variables:
  37. DB_USERNAME: <set to the key 'user' in secret 'my-database-secret'>
  38. DB_PASSWORD: <set to the key 'password' in secret 'my-database-secret'>
  39. 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
  40. KUBERNETES_NAMESPACE: crud (v1:metadata.namespace)
  41. AB_JOLOKIA_OFF: true
  42. JAVA_APP_DIR: /deployments
  43. AB_OFF: true
  44. Conditions:
  45. Type Status
  46. Initialized True
  47. Ready True
  48. PodScheduled True
  49. Volumes:
  50. default-token-vs7r8:
  51. Type: Secret (a volume populated by a Secret)
  52. SecretName: default-token-vs7r8
  53. QoS Tier: BestEffort
  54. Events:
  55. FirstSeen LastSeen Count From SubobjectPath Type Reason Message
  56. --------- -------- ----- ---- ------------- -------- ------ -------
  57. 54s 54s 1 {default-scheduler } Normal Scheduled Successfully assigned wfswarm-rest-http-crud-1-k0q1g to 192.168.42.174
  58. 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
  59. 52s 52s 1 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Normal Created Created container with docker id aad58e0aad79; Security:[seccomp=unconfined]
  60. 52s 52s 1 {kubelet 192.168.42.174} spec.containers{wildfly-swarm} Normal Started Started container with docker id aad58e0aad79
  61. 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
  62. 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