Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. $ oc describe dc/nexus
  2. Name: nexus
  3. Namespace: nexus
  4. Created: About an hour ago
  5. Labels: app=nexus
  6. Annotations: openshift.io/generated-by=OpenShiftNewApp
  7. Latest Version: 2
  8. Selector: app=nexus,deploymentconfig=nexus
  9. Replicas: 1
  10. Triggers: Config, Image(nexus@latest, auto=true)
  11. Strategy: Rolling
  12. Template:
  13. Pod Template:
  14. Labels: app=nexus
  15. deploymentconfig=nexus
  16. Annotations: openshift.io/generated-by=OpenShiftNewApp
  17. Containers:
  18. nexus:
  19. Image: sonatype/nexus@sha256:7fce712e6e71cf1a44972b094f6f5c3c74f71ec3314f6743bd086be6e4135962
  20. Port: 8081/TCP
  21. Host Port: 0/TCP
  22. Environment: <none>
  23. Mounts:
  24. /sonatype-work from nexus-volume-1 (rw)
  25. Volumes:
  26. nexus-volume-1:
  27. Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
  28. ClaimName: nexus-pv
  29. ReadOnly: false
  30.  
  31. Deployment #2 (latest):
  32. Name: nexus-2
  33. Created: about an hour ago
  34. Status: Complete
  35. Replicas: 1 current / 1 desired
  36. Selector: app=nexus,deployment=nexus-2,deploymentconfig=nexus
  37. Labels: app=nexus,openshift.io/deployment-config.name=nexus
  38. Pods Status: 1 Running / 0 Waiting / 0 Succeeded / 0 Failed
  39. Deployment #1:
  40. Created: about an hour ago
  41. Status: Complete
  42. Replicas: 0 current / 0 desired
  43.  
  44. Events:
  45. Type Reason Age From Message
  46. ---- ------ ---- ---- -------
  47. Normal DeploymentCreated 1h deploymentconfig-controller Created new replication controller "nexus-1" for version 1
  48. Normal DeploymentCreated 1h deploymentconfig-controller Created new replication controller "nexus-2" for version 2
  49.  
  50. ------------------------------------------------------------
  51.  
  52. $ oc describe svc/nexus
  53. Name: nexus
  54. Namespace: nexus
  55. Labels: app=nexus
  56. Annotations: openshift.io/generated-by=OpenShiftNewApp
  57. Selector: app=nexus,deploymentconfig=nexus
  58. Type: ClusterIP
  59. IP: 172.30.99.6
  60. Port: 8081-tcp 8081/TCP
  61. TargetPort: 8081/TCP
  62. Endpoints: 172.17.0.8:8081
  63. Session Affinity: None
  64. Events: <none>
  65.  
  66.  
  67. ------------------------------------------------------------
  68.  
  69. NAME READY STATUS RESTARTS AGE
  70. pod/nexus-2-k6pr7 1/1 Running 1 1h
  71.  
  72. NAME DESIRED CURRENT READY AGE
  73. replicationcontroller/nexus-1 0 0 0 1h
  74. replicationcontroller/nexus-2 1 1 1 1h
  75.  
  76. NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
  77. service/nexus ClusterIP 172.30.99.6 <none> 8081/TCP 1h
  78.  
  79. NAME REVISION DESIRED CURRENT TRIGGERED BY
  80. deploymentconfig.apps.openshift.io/nexus 2 1 1 config,image(nexus:latest)
  81.  
  82. NAME DOCKER REPO TAGS UPDATED
  83. imagestream.image.openshift.io/nexus 172.30.1.1:5000/nexus/nexus latest About an hour ago
  84.  
  85. NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
  86. route.route.openshift.io/nexus nexus-nexus.192.168.42.39.nip.io nexus 8081-tcp None
  87.  
  88.  
  89. ------------------------------------------------------------
  90.  
  91. $ oc describe route.route.openshift.io/nexus
  92. Name: nexus
  93. Namespace: nexus
  94. Created: About an hour ago
  95. Labels: app=nexus
  96. Annotations: openshift.io/host.generated=true
  97. Requested Host: nexus-nexus.192.168.42.39.nip.io
  98. Path: <none>
  99. TLS Termination: <none>
  100. Insecure Policy: <none>
  101. Endpoint Port: 8081-tcp
  102.  
  103. Service: nexus
  104. Weight: 100 (100%)
  105. Endpoints: 172.17.0.8:8081
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement