rohankanojia

Untitled

Mar 25th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.08 KB | None | 0 0
  1. ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get dc -o yaml
  2. apiVersion: v1
  3. items:
  4. - apiVersion: apps.openshift.io/v1
  5.   kind: DeploymentConfig
  6.   metadata:
  7.     annotations:
  8.       fabric8.io/git-branch: mojshaFix
  9.       fabric8.io/git-commit: e93527dc7aa958e9ed29650f7154a5ce891faf71
  10.       fabric8.io/git-url: git@github.com:rohanKanojia/fabric8-maven-plugin.git
  11.       fabric8.io/scm-tag: HEAD
  12.       fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-spring-boot
  13.     creationTimestamp: 2019-03-25T12:30:18Z
  14.     generation: 2
  15.     labels:
  16.       testProject: spring-boot-sample
  17.     name: fabric8-maven-sample-spring-boot
  18.     namespace: myproject
  19.     resourceVersion: "375935"
  20.     selfLink: /apis/apps.openshift.io/v1/namespaces/myproject/deploymentconfigs/fabric8-maven-sample-spring-boot
  21.     uid: bfb96223-4ef9-11e9-a66d-5254001ae34a
  22.   spec:
  23.     replicas: 1
  24.     revisionHistoryLimit: 2
  25.     selector:
  26.       group: test-mojsha
  27.       project: demo
  28.       provider: fabric8
  29.       testProject: spring-boot-sample
  30.     strategy:
  31.       activeDeadlineSeconds: 21600
  32.       recreateParams:
  33.         timeoutSeconds: 600
  34.       resources:
  35.         limits:
  36.           cpu: 100m
  37.           memory: 128Mi
  38.       type: Recreate
  39.     template:
  40.       metadata:
  41.         annotations:
  42.           fabric8.io/git-branch: mojshaFix
  43.           fabric8.io/git-commit: e93527dc7aa958e9ed29650f7154a5ce891faf71
  44.           fabric8.io/git-url: git@github.com:rohanKanojia/fabric8-maven-plugin.git
  45.           fabric8.io/scm-tag: HEAD
  46.           fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-spring-boot
  47.         creationTimestamp: null
  48.         labels:
  49.           group: test-mojsha
  50.           project: demo
  51.           provider: fabric8
  52.           testProject: spring-boot-sample
  53.       spec:
  54.         containers:
  55.         - env:
  56.           - name: KUBERNETES_NAMESPACE
  57.             valueFrom:
  58.               fieldRef:
  59.                 apiVersion: v1
  60.                 fieldPath: metadata.namespace
  61.           image: fabric8-maven-sample-spring-boot:latest
  62.           imagePullPolicy: Always
  63.           name: spring-boot
  64.           ports:
  65.           - containerPort: 8080
  66.             name: http
  67.             protocol: TCP
  68.           - containerPort: 9779
  69.             name: prometheus
  70.             protocol: TCP
  71.           - containerPort: 8778
  72.             name: jolokia
  73.             protocol: TCP
  74.           resources: {}
  75.           securityContext:
  76.             privileged: false
  77.           terminationMessagePath: /dev/termination-log
  78.           terminationMessagePolicy: File
  79.         dnsPolicy: ClusterFirst
  80.         initContainers:
  81.         - command:
  82.          - sh
  83.           - -c
  84.           - echo The app is running! && sleep 2
  85.           image: busybox:latest
  86.           imagePullPolicy: Always
  87.           name: init-myservice
  88.           resources: {}
  89.           terminationMessagePath: /dev/termination-log
  90.           terminationMessagePolicy: File
  91.         restartPolicy: Always
  92.         schedulerName: default-scheduler
  93.         securityContext: {}
  94.         terminationGracePeriodSeconds: 30
  95.     test: false
  96.     triggers: []
  97.   status:
  98.     availableReplicas: 1
  99.     conditions:
  100.     - lastTransitionTime: 2019-03-25T12:30:49Z
  101.       lastUpdateTime: 2019-03-25T12:30:49Z
  102.       message: Deployment config has minimum availability.
  103.       status: "True"
  104.       type: Available
  105.     - lastTransitionTime: 2019-03-25T12:30:40Z
  106.       lastUpdateTime: 2019-03-25T12:30:50Z
  107.       message: replication controller "fabric8-maven-sample-spring-boot-1" successfully
  108.         rolled out
  109.       reason: NewReplicationControllerAvailable
  110.       status: "True"
  111.       type: Progressing
  112.     details:
  113.       causes:
  114.       - type: Manual
  115.       message: manual change
  116.     latestVersion: 1
  117.     observedGeneration: 2
  118.     readyReplicas: 1
  119.     replicas: 1
  120.     unavailableReplicas: 0
  121.     updatedReplicas: 1
  122. kind: List
  123. metadata:
  124.   resourceVersion: ""
  125.   selfLink: ""
  126. ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $
Add Comment
Please, Sign In to add comment