Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ oc describe dc/nexus
- Name: nexus
- Namespace: nexus
- Created: About an hour ago
- Labels: app=nexus
- Annotations: openshift.io/generated-by=OpenShiftNewApp
- Latest Version: 2
- Selector: app=nexus,deploymentconfig=nexus
- Replicas: 1
- Triggers: Config, Image(nexus@latest, auto=true)
- Strategy: Rolling
- Template:
- Pod Template:
- Labels: app=nexus
- deploymentconfig=nexus
- Annotations: openshift.io/generated-by=OpenShiftNewApp
- Containers:
- nexus:
- Image: sonatype/nexus@sha256:7fce712e6e71cf1a44972b094f6f5c3c74f71ec3314f6743bd086be6e4135962
- Port: 8081/TCP
- Host Port: 0/TCP
- Environment: <none>
- Mounts:
- /sonatype-work from nexus-volume-1 (rw)
- Volumes:
- nexus-volume-1:
- Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
- ClaimName: nexus-pv
- ReadOnly: false
- Deployment #2 (latest):
- Name: nexus-2
- Created: about an hour ago
- Status: Complete
- Replicas: 1 current / 1 desired
- Selector: app=nexus,deployment=nexus-2,deploymentconfig=nexus
- Labels: app=nexus,openshift.io/deployment-config.name=nexus
- Pods Status: 1 Running / 0 Waiting / 0 Succeeded / 0 Failed
- Deployment #1:
- Created: about an hour ago
- Status: Complete
- Replicas: 0 current / 0 desired
- Events:
- Type Reason Age From Message
- ---- ------ ---- ---- -------
- Normal DeploymentCreated 1h deploymentconfig-controller Created new replication controller "nexus-1" for version 1
- Normal DeploymentCreated 1h deploymentconfig-controller Created new replication controller "nexus-2" for version 2
- ------------------------------------------------------------
- $ oc describe svc/nexus
- Name: nexus
- Namespace: nexus
- Labels: app=nexus
- Annotations: openshift.io/generated-by=OpenShiftNewApp
- Selector: app=nexus,deploymentconfig=nexus
- Type: ClusterIP
- IP: 172.30.99.6
- Port: 8081-tcp 8081/TCP
- TargetPort: 8081/TCP
- Endpoints: 172.17.0.8:8081
- Session Affinity: None
- Events: <none>
- ------------------------------------------------------------
- NAME READY STATUS RESTARTS AGE
- pod/nexus-2-k6pr7 1/1 Running 1 1h
- NAME DESIRED CURRENT READY AGE
- replicationcontroller/nexus-1 0 0 0 1h
- replicationcontroller/nexus-2 1 1 1 1h
- NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
- service/nexus ClusterIP 172.30.99.6 <none> 8081/TCP 1h
- NAME REVISION DESIRED CURRENT TRIGGERED BY
- deploymentconfig.apps.openshift.io/nexus 2 1 1 config,image(nexus:latest)
- NAME DOCKER REPO TAGS UPDATED
- imagestream.image.openshift.io/nexus 172.30.1.1:5000/nexus/nexus latest About an hour ago
- NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
- route.route.openshift.io/nexus nexus-nexus.192.168.42.39.nip.io nexus 8081-tcp None
- ------------------------------------------------------------
- $ oc describe route.route.openshift.io/nexus
- Name: nexus
- Namespace: nexus
- Created: About an hour ago
- Labels: app=nexus
- Annotations: openshift.io/host.generated=true
- Requested Host: nexus-nexus.192.168.42.39.nip.io
- Path: <none>
- TLS Termination: <none>
- Insecure Policy: <none>
- Endpoint Port: 8081-tcp
- Service: nexus
- Weight: 100 (100%)
- Endpoints: 172.17.0.8:8081
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement