Skip to content

Instantly share code, notes, and snippets.

@tnozicka
Created March 22, 2018 13:39
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 tnozicka/5fa18593505ea425999a981a941d05c3 to your computer and use it in GitHub Desktop.
Save tnozicka/5fa18593505ea425999a981a941d05c3 to your computer and use it in GitHub Desktop.
oc get controllerrevisions/test-674c569ff9 -o yaml
apiVersion: apps/v1
data:
spec:
template:
$patch: replace
metadata:
creationTimestamp: null
labels:
component: fluentd
logging-infra: fluentd
provider: openshift
spec:
containers:
- command:
- sleep
- "9999999"
image: centos:centos7
imagePullPolicy: IfNotPresent
name: test
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
nodeSelector:
logging-infra-fluentd: "true"
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 0
kind: ControllerRevision
metadata:
creationTimestamp: 2018-03-22T13:37:51Z
labels:
component: fluentd
controller-revision-hash: "2307125995"
logging-infra: fluentd
provider: openshift
name: test-674c569ff9
namespace: test
ownerReferences:
- apiVersion: extensions/v1beta1
blockOwnerDeletion: true
controller: true
kind: DaemonSet
name: test
uid: 37730a20-2dd6-11e8-9357-507b9dab1f38
resourceVersion: "1853"
selfLink: /apis/apps/v1/namespaces/test/controllerrevisions/test-674c569ff9
uid: 377574cb-2dd6-11e8-9357-507b9dab1f38
revision: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment