gke-deploy/core/resource/testing/pod-unready.yaml (69 lines of code) (raw):

apiVersion: v1 kind: Pod metadata: annotations: kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu request for container test-app' creationTimestamp: 2019-06-10T18:44:31Z generateName: test-app-deployment-58c8c7fffc- labels: app: test-app pod-template-hash: 58c8c7fffc name: test-app-deployment-58c8c7fffc-mlnck namespace: default ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: test-app-deployment-58c8c7fffc uid: bb793403-8baf-11e9-8840-42010a8e00dc resourceVersion: "5204232" selfLink: /api/v1/namespaces/default/pods/test-app-deployment-58c8c7fffc-mlnck uid: c8e37074-8baf-11e9-8840-42010a8e00dc spec: containers: - image: gcr.io/cbd-test/test-app:latest imagePullPolicy: Always name: test-app resources: requests: cpu: 100m terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: default-token-lpg8w readOnly: true dnsPolicy: ClusterFirst priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: {} serviceAccount: default serviceAccountName: default terminationGracePeriodSeconds: 30 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 volumes: - name: default-token-lpg8w secret: defaultMode: 420 secretName: default-token-lpg8w status: conditions: - lastProbeTime: 2019-06-10T18:47:23Z lastTransitionTime: 2019-06-10T18:44:31Z message: '0/1 nodes are available: 1 Insufficient cpu.' reason: Unschedulable status: "False" type: PodScheduled phase: Pending qosClass: Burstable