我部署了 6 个容器并在 AWS EKS 上运行。但是,运行一段时间后,日志显示“2 个节点超出磁盘空间”的错误。我试图删除容器并重建。一些错误不断发生。有人有解决方案吗?
kubectl delete pod $image_name –namespace=xxx
kubectl describe pod $name --namespace=xxx
kubectl describe pod $image_name --namespace=xxX
Name: image_name
Namespace: xxx
Node: <none>
Labels: app=label
Annotations: <none>
Status: Pending
IP:
Controlled By: ReplicationController/label
Containers:
label-container:
Image: image_name
Port: 8084/TCP
Host Port: 0/TCP
Environment:
SPRING_PROFILES_ACTIVE: uatsilver
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-kv27l (ro)
Conditions:
Type Status
PodScheduled False
Volumes:
default-token-kv27l:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-kv27l
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 10s (x7 over 41s) default-scheduler 0/3 nodes are available: 1 Insufficient pods, 2 node(s) were not ready, 2 node(s) were out of disk space.