前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >evicted Pod

evicted Pod

作者头像
全栈程序员站长
发布2022-08-27 11:16:14
3300
发布2022-08-27 11:16:14
举报
文章被收录于专栏:全栈程序员必看

大家好,又见面了,我是你们的朋友全栈君。

代码语言:javascript
复制
apiVersion: v1
kind: Pod
metadata:
  annotations:
    checksum/config: 8476fd6406a3cc87e5471154d85fd7c50e6a629acda16989a09a5d90937bb5b0
    cni.projectcalico.org/podIP: 192.168.1.233/32
  creationTimestamp: "2019-09-22T06:26:34Z"
  generateName: test-myapi-ingress-myapi-ingress-controller-84484c48cb-
  labels:
    app.kubernetes.io/instance: test-myapi-ingress
    app.kubernetes.io/name: myapi-ingress-controller
    pod-template-hash: 84484c48cb
  name: test-myapi-ingress-myapi-ingress-controller-84484c48cb-8fxzh
  namespace: default
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: test-myapi-ingress-myapi-ingress-controller-84484c48cb
    uid: 4647f2fb-1b53-11ec-9510-0646080049a1
  resourceVersion: "186692899"
  selfLink: /api/v1/namespaces/default/pods/test-myapi-ingress-myapi-ingress-controller-84484c48cb-8fxzh
  uid: 08b02b3d-1b6e-11ec-9510-0646080049a1
spec:
  containers:
  - command:
    - /ingress-myapi/myapi-ingress-controller
    - ingress
    - --config-path
    - /ingress-myapi/conf/config.yaml
    env:
    - name: POD_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    image: hub.yun.ali.com.cn/test-myapi/myapi-ingress-controller:1.2.0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /healthz
        port: 8080
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    name: myapi-ingress-controller
    ports:
    - containerPort: 8080
      name: http
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /healthz
        port: 8080
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /ingress-myapi/conf
      name: configuration
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: test-myapi-ingress-myapi-ingress-controller-token-wqm56
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  imagePullSecrets:
  - name: default
  nodeName: 192.168.17.41
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: test-myapi-ingress-myapi-ingress-controller
  serviceAccountName: test-myapi-ingress-myapi-ingress-controller
  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:
  - configMap:
      defaultMode: 420
      items:
      - key: config.yaml
        path: config.yaml
      name: test-myapi-ingress-configmap
    name: configuration
  - name: test-myapi-ingress-myapi-ingress-controller-token-wqm56
    secret:
      defaultMode: 420
      secretName: test-myapi-ingress-myapi-ingress-controller-token-wqm56
status:
  message: 'The node was low on resource: ephemeral-storage. Container myapi-ingress-controller
    was using 10727084Ki, which exceeds its request of 0. '
  phase: Failed
  reason: Evicted
  startTime: "2019-09-22T06:26:35Z"

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/145241.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年5月1,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档