Created
October 13, 2020 09:09
-
-
Save xenolinux/bcae2f7a0038d0f867760f2a1bbb3d35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% oc get job rook-ceph-purge-osd -o yaml | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
creationTimestamp: "2020-10-13T09:06:23Z" | |
labels: | |
app: rook-ceph-purge-osd | |
managedFields: | |
- apiVersion: batch/v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:metadata: | |
f:labels: | |
.: {} | |
f:app: {} | |
f:spec: | |
f:backoffLimit: {} | |
f:completions: {} | |
f:parallelism: {} | |
f:template: | |
f:spec: | |
f:containers: | |
k:{"name":"osd-removal"}: | |
.: {} | |
f:args: {} | |
f:env: | |
.: {} | |
k:{"name":"POD_NAMESPACE"}: | |
.: {} | |
f:name: {} | |
f:valueFrom: | |
.: {} | |
f:fieldRef: | |
.: {} | |
f:apiVersion: {} | |
f:fieldPath: {} | |
k:{"name":"ROOK_CEPH_CONFIG_OVERRIDE"}: | |
.: {} | |
f:name: {} | |
f:value: {} | |
k:{"name":"ROOK_CEPH_SECRET"}: | |
.: {} | |
f:name: {} | |
f:valueFrom: | |
.: {} | |
f:secretKeyRef: | |
.: {} | |
f:key: {} | |
f:name: {} | |
k:{"name":"ROOK_CEPH_USERNAME"}: | |
.: {} | |
f:name: {} | |
f:valueFrom: | |
.: {} | |
f:secretKeyRef: | |
.: {} | |
f:key: {} | |
f:name: {} | |
k:{"name":"ROOK_CONFIG_DIR"}: | |
.: {} | |
f:name: {} | |
f:value: {} | |
k:{"name":"ROOK_FSID"}: | |
.: {} | |
f:name: {} | |
f:valueFrom: | |
.: {} | |
f:secretKeyRef: | |
.: {} | |
f:key: {} | |
f:name: {} | |
k:{"name":"ROOK_LOG_LEVEL"}: | |
.: {} | |
f:name: {} | |
f:value: {} | |
k:{"name":"ROOK_MON_ENDPOINTS"}: | |
.: {} | |
f:name: {} | |
f:valueFrom: | |
.: {} | |
f:configMapKeyRef: | |
.: {} | |
f:key: {} | |
f:name: {} | |
f:image: {} | |
f:imagePullPolicy: {} | |
f:name: {} | |
f:resources: {} | |
f:terminationMessagePath: {} | |
f:terminationMessagePolicy: {} | |
f:volumeMounts: | |
.: {} | |
k:{"mountPath":"/etc/ceph"}: | |
.: {} | |
f:mountPath: {} | |
f:name: {} | |
k:{"mountPath":"/var/lib/rook"}: | |
.: {} | |
f:mountPath: {} | |
f:name: {} | |
f:dnsPolicy: {} | |
f:restartPolicy: {} | |
f:schedulerName: {} | |
f:securityContext: {} | |
f:serviceAccount: {} | |
f:serviceAccountName: {} | |
f:terminationGracePeriodSeconds: {} | |
f:volumes: | |
.: {} | |
k:{"name":"ceph-conf-emptydir"}: | |
.: {} | |
f:emptyDir: {} | |
f:name: {} | |
k:{"name":"rook-config"}: | |
.: {} | |
f:emptyDir: {} | |
f:name: {} | |
manager: oc | |
operation: Update | |
time: "2020-10-13T09:06:23Z" | |
- apiVersion: batch/v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:status: | |
f:completionTime: {} | |
f:conditions: | |
.: {} | |
k:{"type":"Complete"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:status: {} | |
f:type: {} | |
f:startTime: {} | |
f:succeeded: {} | |
manager: kube-controller-manager | |
operation: Update | |
time: "2020-10-13T09:06:32Z" | |
name: rook-ceph-purge-osd | |
namespace: rook-ceph | |
resourceVersion: "60783" | |
selfLink: /apis/batch/v1/namespaces/rook-ceph/jobs/rook-ceph-purge-osd | |
uid: 627c2525-d188-4288-80a5-4821ad1f0b7c | |
spec: | |
backoffLimit: 6 | |
completions: 1 | |
parallelism: 1 | |
selector: | |
matchLabels: | |
controller-uid: 627c2525-d188-4288-80a5-4821ad1f0b7c | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
controller-uid: 627c2525-d188-4288-80a5-4821ad1f0b7c | |
job-name: rook-ceph-purge-osd | |
spec: | |
containers: | |
- args: | |
- ceph | |
- osd | |
- remove | |
- --osd-ids | |
- "1" | |
env: | |
- name: POD_NAMESPACE | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: metadata.namespace | |
- name: ROOK_MON_ENDPOINTS | |
valueFrom: | |
configMapKeyRef: | |
key: data | |
name: rook-ceph-mon-endpoints | |
- name: ROOK_CEPH_USERNAME | |
valueFrom: | |
secretKeyRef: | |
key: ceph-username | |
name: rook-ceph-mon | |
- name: ROOK_CEPH_SECRET | |
valueFrom: | |
secretKeyRef: | |
key: ceph-secret | |
name: rook-ceph-mon | |
- name: ROOK_CONFIG_DIR | |
value: /var/lib/rook | |
- name: ROOK_CEPH_CONFIG_OVERRIDE | |
value: /etc/rook/config/override.conf | |
- name: ROOK_FSID | |
valueFrom: | |
secretKeyRef: | |
key: fsid | |
name: rook-ceph-mon | |
- name: ROOK_LOG_LEVEL | |
value: DEBUG | |
image: rook/ceph:master | |
imagePullPolicy: IfNotPresent | |
name: osd-removal | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/lib/rook | |
name: rook-config | |
- mountPath: /etc/ceph | |
name: ceph-conf-emptydir | |
dnsPolicy: ClusterFirst | |
restartPolicy: Never | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: rook-ceph-system | |
serviceAccountName: rook-ceph-system | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- emptyDir: {} | |
name: rook-config | |
- emptyDir: {} | |
name: ceph-conf-emptydir | |
status: | |
completionTime: "2020-10-13T09:06:32Z" | |
conditions: | |
- lastProbeTime: "2020-10-13T09:06:32Z" | |
lastTransitionTime: "2020-10-13T09:06:32Z" | |
status: "True" | |
type: Complete | |
startTime: "2020-10-13T09:06:23Z" | |
succeeded: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment