kind: Pod
apiVersion: v1
metadata:
name: minio-8cd46c8d9-6nqt4
generateName: minio-8cd46c8d9-
namespace: kubesphere-system
selfLink: /api/v1/namespaces/kubesphere-system/pods/minio-8cd46c8d9-6nqt4
uid: a18ecaec-f9ad-4337-8602-f61e6cd7a8cd
resourceVersion: ‘19369428′
creationTimestamp: ‘2019-11-28T08:04:37Z’
labels:
app: minio
pod-template-hash: 8cd46c8d9
release: ks-minio
annotations:
checksum/config: cadb75194921ca14ae01c91438d67a3cf5341519b3ae85527baf27d6a83ee494
checksum/secrets: c0a2180ce5e11287a026c1180e8158171ea73ecd24193f5c715906c5187295e1
ownerReferences:
- apiVersion: apps/v1
kind: ReplicaSet
name: minio-8cd46c8d9
uid: 48d4c4fa-c4e5-4c95-97a1-a79a40eb172c
controller: true
blockOwnerDeletion: true
spec:
volumes:
- name: export
persistentVolumeClaim:
claimName: minio
- name: minio-user
secret:
secretName: minio
defaultMode: 420
- name: minio-config-dir
emptyDir: {}
- name: ks-minio-token-spzpq
secret:
secretName: ks-minio-token-spzpq
defaultMode: 420
containers:
- name: minio
image: ‘minio/minio:RELEASE.2019-08-07T01-59-21Z’
command:
- /bin/sh
- ‘-ce’
- /usr/bin/docker-entrypoint.sh minio -C /root/.minio/ server /data
ports:
- name: service
containerPort: 9000
protocol: TCP
env:
- name: MINIO_ACCESS_KEY
valueFrom:
secretKeyRef:
name: minio
key: accesskey
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
name: minio
key: secretkey
- name: MINIO_BROWSER
value: ‘on’
resources:
requests:
cpu: 250m
memory: 256Mi
volumeMounts:
- name: export
mountPath: /data
- name: minio-config-dir
mountPath: /root/.minio/
- name: ks-minio-token-spzpq
readOnly: true
mountPath: /var/run/secrets/kubernetes.io/serviceaccount
livenessProbe:
httpGet:
path: /minio/health/live
port: service
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 30
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /minio/health/ready
port: service
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
serviceAccountName: ks-minio
serviceAccount: ks-minio
securityContext: {}
schedulerName: default-scheduler
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 300
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 300
priority: 0
enableServiceLinks: true
status:
phase: Pending
conditions:
- type: PodScheduled
status: ‘False’
lastProbeTime: null
lastTransitionTime: ‘2019-11-28T08:04:37Z’
reason: Unschedulable
message: ‘↉ nodes are available: 3 Insufficient cpu.’
qosClass: Burstable
但是资源是满足的