Created
October 13, 2020 18:47
-
-
Save xenolinux/7366801b27db19a5852e2a40dc8e0d26 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 ocs-osd-removal-0 -o yaml | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
annotations: | |
template.alpha.openshift.io/wait-for-ready: "true" | |
creationTimestamp: "2020-10-13T18:32:08Z" | |
labels: | |
app: ceph-toolbox-job-0 | |
managedFields: | |
- apiVersion: batch/v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:metadata: | |
f:annotations: | |
.: {} | |
f:template.alpha.openshift.io/wait-for-ready: {} | |
f:labels: | |
.: {} | |
f:app: {} | |
f:spec: | |
f:backoffLimit: {} | |
f:completions: {} | |
f:parallelism: {} | |
f:template: | |
f:spec: | |
f:containers: | |
k:{"name":"operator"}: | |
.: {} | |
f:command: {} | |
f:env: | |
.: {} | |
k:{"name":"POD_NAMESPACE"}: | |
.: {} | |
f:name: {} | |
f:value: {} | |
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: {} | |
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-13T18:32:08Z" | |
- apiVersion: batch/v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:status: | |
f:conditions: | |
.: {} | |
k:{"type":"Failed"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:message: {} | |
f:reason: {} | |
f:status: {} | |
f:type: {} | |
f:failed: {} | |
f:startTime: {} | |
manager: kube-controller-manager | |
operation: Update | |
time: "2020-10-13T18:34:55Z" | |
name: ocs-osd-removal-0 | |
namespace: openshift-storage | |
resourceVersion: "296685" | |
selfLink: /apis/batch/v1/namespaces/openshift-storage/jobs/ocs-osd-removal-0 | |
uid: fa264785-3d8e-4af9-b312-4a31a546fc8e | |
spec: | |
backoffLimit: 6 | |
completions: 1 | |
parallelism: 1 | |
selector: | |
matchLabels: | |
controller-uid: fa264785-3d8e-4af9-b312-4a31a546fc8e | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
controller-uid: fa264785-3d8e-4af9-b312-4a31a546fc8e | |
job-name: ocs-osd-removal-0 | |
spec: | |
containers: | |
- command: | |
- ceph | |
- osd | |
- remove | |
- --osd-ids=0 | |
- --namespace=openshift-storage | |
env: | |
- name: ROOK_MON_ENDPOINTS | |
valueFrom: | |
configMapKeyRef: | |
key: data | |
name: rook-ceph-mon-endpoints | |
- name: POD_NAMESPACE | |
value: openshift-storage | |
- 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_FSID | |
valueFrom: | |
secretKeyRef: | |
key: fsid | |
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_LOG_LEVEL | |
value: DEBUG | |
image: rook/ceph:v1.4.0.283.g4df2549 | |
imagePullPolicy: IfNotPresent | |
name: operator | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- 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: ceph-conf-emptydir | |
- emptyDir: {} | |
name: rook-config | |
status: | |
conditions: | |
- lastProbeTime: "2020-10-13T18:34:55Z" | |
lastTransitionTime: "2020-10-13T18:34:55Z" | |
message: Job has reached the specified backoff limit | |
reason: BackoffLimitExceeded | |
status: "True" | |
type: Failed | |
failed: 4 | |
startTime: "2020-10-13T18:32:08Z" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment