大家好,又见面了,我是你们的朋友全栈君。
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"
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/145241.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...