我最近开始接触 kubernetes。我遇到过FailedScheduling <unknown> default-scheduler 0/1 nodes are available: 1 node(s) were unschedulable,但不确定发生了什么。
是否是因为我的节点上没有足够的资源用于新的 pod,我需要增加它?不过,它看起来并没有使用 100% 的内存或 CPU。
这是我的吊舱kubectl describe pods plex-kube-plex-986cc6d98-lwns7 --namespace plex
Name: plex-kube-plex-986cc6d98-lwns7
Namespace: plex
Priority: 0
Node: <none>
Labels: app=kube-plex
pod-template-hash=986cc6d98
release=plex
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: ReplicaSet/plex-kube-plex-986cc6d98
Init Containers:
kube-plex-install:
Image: quay.io/munnerz/kube-plex:latest
Port: <none>
Host Port: <none>
Command:
cp
/kube-plex
/shared/kube-plex
Environment: <none>
Mounts:
/shared from shared (rw)
/var/run/secrets/kubernetes.io/serviceaccount from plex-kube-plex-token-txkbn (ro)
Containers:
plex:
Image: plexinc/pms-docker:1.16.0.1226-7eb2c8f6f
Ports: 32400/TCP, 32400/TCP, …Run Code Online (Sandbox Code Playgroud)