Skip to content

Instantly share code, notes, and snippets.

@jmesnil
Forked from kabir/deployment.yaml
Last active August 24, 2021 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmesnil/14a6d1f29bb94e551f96f281d426f849 to your computer and use it in GitHub Desktop.
Save jmesnil/14a6d1f29bb94e551f96f281d426f849 to your computer and use it in GitHub Desktop.
oc get deployment/reactive-messaging-qs -o yaml
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "3"
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"reactive-messaging-qs:latest","namespace":"kkhan1-dev"},"fieldPath":"spec.template.spec.containers[?(@.name==\"reactive-messaging-qs\")].image"}]'
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: "2021-08-23T14:08:04Z"
generation: 4
labels:
app: reactive-messaging-qs
app.kubernetes.io/component: reactive-messaging-qs
app.kubernetes.io/instance: reactive-messaging-qs
name: reactive-messaging-qs
namespace: kkhan1-dev
resourceVersion: "274347471"
selfLink: /apis/apps/v1/namespaces/kkhan1-dev/deployments/reactive-messaging-qs
uid: badccaac-4ca3-4d5e-bb24-21a8e92ad6bb
spec:
progressDeadlineSeconds: 600
replicas: 0
revisionHistoryLimit: 10
selector:
matchLabels:
deployment: reactive-messaging-qs
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
deployment: reactive-messaging-qs
spec:
containers:
- env:
- name: QS_USE_RHOSAK
value: "1"
- name: SERVICE_BINDING_ROOT
value: /bindings
- name: SERVICE_BINDING_ROOT
value: /bindings
image: image-registry.openshift-image-registry.svc:5000/kkhan1-dev/reactive-messaging-qs@sha256:400fbb42ec3420dfe42eceaf4692ade729ab0cb2413b44b9ef70d89a55556ab6
imagePullPolicy: IfNotPresent
name: reactive-messaging-qs
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8778
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /bindings/kafka-config
name: kafka-config
- name: reactive-messaging-properties
mountPath: /etc/config/reactive-messaging-properties
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: kafka-config
secret:
defaultMode: 420
secretName: kafka-config-ecbe66fb
- name: reactive-messaging-properties
configMap:
name: reactive-messaging-properties
status:
conditions:
- lastTransitionTime: "2021-08-23T14:08:04Z"
lastUpdateTime: "2021-08-23T14:42:50Z"
message: ReplicaSet "reactive-messaging-qs-7df768d8c4" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2021-08-23T21:08:52Z"
lastUpdateTime: "2021-08-23T21:08:52Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
observedGeneration: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment