Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get dc -o yaml
- apiVersion: v1
- items:
- - apiVersion: apps.openshift.io/v1
- kind: DeploymentConfig
- metadata:
- annotations:
- fabric8.io/git-branch: mojshaFix
- fabric8.io/git-commit: e93527dc7aa958e9ed29650f7154a5ce891faf71
- fabric8.io/git-url: git@github.com:rohanKanojia/fabric8-maven-plugin.git
- fabric8.io/scm-tag: HEAD
- fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-spring-boot
- creationTimestamp: 2019-03-25T12:30:18Z
- generation: 2
- labels:
- testProject: spring-boot-sample
- name: fabric8-maven-sample-spring-boot
- namespace: myproject
- resourceVersion: "375935"
- selfLink: /apis/apps.openshift.io/v1/namespaces/myproject/deploymentconfigs/fabric8-maven-sample-spring-boot
- uid: bfb96223-4ef9-11e9-a66d-5254001ae34a
- spec:
- replicas: 1
- revisionHistoryLimit: 2
- selector:
- group: test-mojsha
- project: demo
- provider: fabric8
- testProject: spring-boot-sample
- strategy:
- activeDeadlineSeconds: 21600
- recreateParams:
- timeoutSeconds: 600
- resources:
- limits:
- cpu: 100m
- memory: 128Mi
- type: Recreate
- template:
- metadata:
- annotations:
- fabric8.io/git-branch: mojshaFix
- fabric8.io/git-commit: e93527dc7aa958e9ed29650f7154a5ce891faf71
- fabric8.io/git-url: git@github.com:rohanKanojia/fabric8-maven-plugin.git
- fabric8.io/scm-tag: HEAD
- fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-spring-boot
- creationTimestamp: null
- labels:
- group: test-mojsha
- project: demo
- provider: fabric8
- testProject: spring-boot-sample
- spec:
- containers:
- - env:
- - name: KUBERNETES_NAMESPACE
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- image: fabric8-maven-sample-spring-boot:latest
- imagePullPolicy: Always
- name: spring-boot
- ports:
- - containerPort: 8080
- name: http
- protocol: TCP
- - containerPort: 9779
- name: prometheus
- protocol: TCP
- - containerPort: 8778
- name: jolokia
- protocol: TCP
- resources: {}
- securityContext:
- privileged: false
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- dnsPolicy: ClusterFirst
- initContainers:
- - command:
- - sh
- - -c
- - echo The app is running! && sleep 2
- image: busybox:latest
- imagePullPolicy: Always
- name: init-myservice
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
- test: false
- triggers: []
- status:
- availableReplicas: 1
- conditions:
- - lastTransitionTime: 2019-03-25T12:30:49Z
- lastUpdateTime: 2019-03-25T12:30:49Z
- message: Deployment config has minimum availability.
- status: "True"
- type: Available
- - lastTransitionTime: 2019-03-25T12:30:40Z
- lastUpdateTime: 2019-03-25T12:30:50Z
- message: replication controller "fabric8-maven-sample-spring-boot-1" successfully
- rolled out
- reason: NewReplicationControllerAvailable
- status: "True"
- type: Progressing
- details:
- causes:
- - type: Manual
- message: manual change
- latestVersion: 1
- observedGeneration: 2
- readyReplicas: 1
- replicas: 1
- unavailableReplicas: 0
- updatedReplicas: 1
- kind: List
- metadata:
- resourceVersion: ""
- selfLink: ""
- ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $
Add Comment
Please, Sign In to add comment