Advertisement
rohankanojia

Untitled

Mar 21st, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.03 KB | None | 0 0
  1. ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get pods
  2. NAME                                           READY     STATUS      RESTARTS   AGE
  3. fabric8-maven-sample-spring-boot-1-deploy      1/1       Running     0          4m
  4. fabric8-maven-sample-spring-boot-1-vn59n       0/1       Init:0/1    0          4m
  5. fabric8-maven-sample-spring-boot-s2i-2-build   0/1       Completed   0          7m
  6. ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get deploymentconfig
  7. NAME                               REVISION   DESIRED   CURRENT   TRIGGERED BY
  8. fabric8-maven-sample-spring-boot   1          1         1        
  9. ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get dc -o yaml
  10. apiVersion: v1
  11. items:
  12. - apiVersion: apps.openshift.io/v1
  13.   kind: DeploymentConfig
  14.   metadata:
  15.     annotations:
  16.       fabric8.io/git-branch: mojshaFix
  17.       fabric8.io/git-commit: 126c72e4fe43690e374da95aad1155d867969caa
  18.       fabric8.io/git-url: [email protected]:rohanKanojia/fabric8-maven-plugin.git
  19.       fabric8.io/scm-tag: HEAD
  20.       fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-spring-boot
  21.     creationTimestamp: 2019-03-21T07:51:18Z
  22.     generation: 2
  23.     labels:
  24.       testProject: spring-boot-sample
  25.     name: fabric8-maven-sample-spring-boot
  26.     namespace: myproject
  27.     resourceVersion: "10790"
  28.     selfLink: /apis/apps.openshift.io/v1/namespaces/myproject/deploymentconfigs/fabric8-maven-sample-spring-boot
  29.     uid: 1c3148f1-4bae-11e9-9282-5254001ae34a
  30.   spec:
  31.     replicas: 1
  32.     revisionHistoryLimit: 2
  33.     selector:
  34.       group: test-mojsha
  35.       project: demo
  36.       provider: fabric8
  37.       testProject: spring-boot-sample
  38.     strategy:
  39.       activeDeadlineSeconds: 21600
  40.       recreateParams:
  41.         timeoutSeconds: 600
  42.       resources:
  43.         limits:
  44.           cpu: 100m
  45.           memory: 128Mi
  46.       type: Recreate
  47.     template:
  48.       metadata:
  49.         annotations:
  50.           fabric8.io/git-branch: mojshaFix
  51.           fabric8.io/git-commit: 126c72e4fe43690e374da95aad1155d867969caa
  52.           fabric8.io/git-url: [email protected]:rohanKanojia/fabric8-maven-plugin.git
  53.           fabric8.io/scm-tag: HEAD
  54.           fabric8.io/scm-url: https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/fabric8-maven-sample-spring-boot
  55.         creationTimestamp: null
  56.         labels:
  57.           group: test-mojsha
  58.           project: demo
  59.           provider: fabric8
  60.           testProject: spring-boot-sample
  61.       spec:
  62.         containers:
  63.         - env:
  64.           - name: KUBERNETES_NAMESPACE
  65.             valueFrom:
  66.               fieldRef:
  67.                 apiVersion: v1
  68.                 fieldPath: metadata.namespace
  69.           image: fabric8-maven-sample-spring-boot:latest
  70.           imagePullPolicy: Always
  71.           livenessProbe:
  72.             failureThreshold: 3
  73.             httpGet:
  74.               path: /health
  75.               port: 8080
  76.               scheme: HTTP
  77.             initialDelaySeconds: 180
  78.             periodSeconds: 10
  79.             successThreshold: 1
  80.             timeoutSeconds: 1
  81.           name: spring-boot
  82.           ports:
  83.           - containerPort: 8080
  84.             name: http
  85.             protocol: TCP
  86.           - containerPort: 9779
  87.             name: prometheus
  88.             protocol: TCP
  89.           - containerPort: 8778
  90.             name: jolokia
  91.             protocol: TCP
  92.           readinessProbe:
  93.             failureThreshold: 3
  94.             httpGet:
  95.               path: /health
  96.               port: 8080
  97.               scheme: HTTP
  98.             initialDelaySeconds: 10
  99.             periodSeconds: 10
  100.             successThreshold: 1
  101.             timeoutSeconds: 1
  102.           resources: {}
  103.           securityContext:
  104.             privileged: false
  105.           terminationMessagePath: /dev/termination-log
  106.           terminationMessagePolicy: File
  107.           volumeMounts:
  108.           - mountPath: /var/run/secrets/fabric8.io/tls-pem
  109.             name: tls-pem
  110.             readOnly: true
  111.           - mountPath: /var/run/secrets/fabric8.io/tls-jks
  112.             name: tls-jks
  113.             readOnly: true
  114.         dnsPolicy: ClusterFirst
  115.         initContainers:
  116.         - args:
  117.          - -cert-file
  118.           - server=/tls-pem/tls.crt
  119.           - -key-file
  120.           - server=/tls-pem/tls.key
  121.           - -keystore
  122.           - /tls-jks/keystore.jks
  123.           - -keystore-password
  124.           - changeit
  125.           image: openshift/pemtokeystore:v0.2.0
  126.           imagePullPolicy: IfNotPresent
  127.           name: tls-jks-converter
  128.           resources: {}
  129.           terminationMessagePath: /dev/termination-log
  130.           terminationMessagePolicy: File
  131.           volumeMounts:
  132.           - mountPath: /tls-pem
  133.             name: tls-pem
  134.           - mountPath: /tls-jks
  135.             name: tls-jks
  136.         restartPolicy: Always
  137.         schedulerName: default-scheduler
  138.         securityContext: {}
  139.         terminationGracePeriodSeconds: 30
  140.         volumes:
  141.         - name: tls-pem
  142.           secret:
  143.             defaultMode: 420
  144.             secretName: fabric8-maven-sample-spring-boot-tls
  145.         - emptyDir:
  146.             medium: Memory
  147.           name: tls-jks
  148.     test: false
  149.     triggers: []
  150.   status:
  151.     availableReplicas: 0
  152.     conditions:
  153.     - lastTransitionTime: 2019-03-21T07:51:18Z
  154.       lastUpdateTime: 2019-03-21T07:51:18Z
  155.       message: Deployment config does not have minimum availability.
  156.       status: "False"
  157.       type: Available
  158.     - lastTransitionTime: 2019-03-21T07:53:50Z
  159.       lastUpdateTime: 2019-03-21T07:53:50Z
  160.       message: replication controller "fabric8-maven-sample-spring-boot-1" is progressing
  161.       reason: ReplicationControllerUpdated
  162.       status: "True"
  163.       type: Progressing
  164.     details:
  165.       causes:
  166.       - type: Manual
  167.       message: manual change
  168.     latestVersion: 1
  169.     observedGeneration: 2
  170.     replicas: 1
  171.     unavailableReplicas: 1
  172.     updatedReplicas: 1
  173. kind: List
  174. metadata:
  175.   resourceVersion: ""
  176.   selfLink: ""
  177. ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement