Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get pods
- NAME READY STATUS RESTARTS AGE
- fabric8-maven-sample-spring-boot-1-deploy 1/1 Running 0 4m
- fabric8-maven-sample-spring-boot-1-vn59n 0/1 Init:0/1 0 4m
- fabric8-maven-sample-spring-boot-s2i-2-build 0/1 Completed 0 7m
- ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $ oc get deploymentconfig
- NAME REVISION DESIRED CURRENT TRIGGERED BY
- fabric8-maven-sample-spring-boot 1 1 1
- ~/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: 126c72e4fe43690e374da95aad1155d867969caa
- 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-21T07:51:18Z
- generation: 2
- labels:
- testProject: spring-boot-sample
- name: fabric8-maven-sample-spring-boot
- namespace: myproject
- resourceVersion: "10790"
- selfLink: /apis/apps.openshift.io/v1/namespaces/myproject/deploymentconfigs/fabric8-maven-sample-spring-boot
- uid: 1c3148f1-4bae-11e9-9282-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: 126c72e4fe43690e374da95aad1155d867969caa
- 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
- livenessProbe:
- failureThreshold: 3
- httpGet:
- path: /health
- port: 8080
- scheme: HTTP
- initialDelaySeconds: 180
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 1
- name: spring-boot
- ports:
- - containerPort: 8080
- name: http
- protocol: TCP
- - containerPort: 9779
- name: prometheus
- protocol: TCP
- - containerPort: 8778
- name: jolokia
- protocol: TCP
- readinessProbe:
- failureThreshold: 3
- httpGet:
- path: /health
- port: 8080
- scheme: HTTP
- initialDelaySeconds: 10
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 1
- resources: {}
- securityContext:
- privileged: false
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /var/run/secrets/fabric8.io/tls-pem
- name: tls-pem
- readOnly: true
- - mountPath: /var/run/secrets/fabric8.io/tls-jks
- name: tls-jks
- readOnly: true
- dnsPolicy: ClusterFirst
- initContainers:
- - args:
- - -cert-file
- - server=/tls-pem/tls.crt
- - -key-file
- - server=/tls-pem/tls.key
- - -keystore
- - /tls-jks/keystore.jks
- - -keystore-password
- - changeit
- image: openshift/pemtokeystore:v0.2.0
- imagePullPolicy: IfNotPresent
- name: tls-jks-converter
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /tls-pem
- name: tls-pem
- - mountPath: /tls-jks
- name: tls-jks
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - name: tls-pem
- secret:
- defaultMode: 420
- secretName: fabric8-maven-sample-spring-boot-tls
- - emptyDir:
- medium: Memory
- name: tls-jks
- test: false
- triggers: []
- status:
- availableReplicas: 0
- conditions:
- - lastTransitionTime: 2019-03-21T07:51:18Z
- lastUpdateTime: 2019-03-21T07:51:18Z
- message: Deployment config does not have minimum availability.
- status: "False"
- type: Available
- - lastTransitionTime: 2019-03-21T07:53:50Z
- lastUpdateTime: 2019-03-21T07:53:50Z
- message: replication controller "fabric8-maven-sample-spring-boot-1" is progressing
- reason: ReplicationControllerUpdated
- status: "True"
- type: Progressing
- details:
- causes:
- - type: Manual
- message: manual change
- latestVersion: 1
- observedGeneration: 2
- replicas: 1
- unavailableReplicas: 1
- updatedReplicas: 1
- kind: List
- metadata:
- resourceVersion: ""
- selfLink: ""
- ~/work/repos/fabric8-maven-plugin/samples/spring-boot : $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement