Skip to content

Instantly share code, notes, and snippets.

@JohnBat26
Created November 20, 2020 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnBat26/4700466f401c69ed3000237034f22e28 to your computer and use it in GitHub Desktop.
Save JohnBat26/4700466f401c69ed3000237034f22e28 to your computer and use it in GitHub Desktop.
k3s + helm drupal installation: 0/7 nodes are available: 7 node(s) didn't have free ports for the requested pod ports.
kubectl describe pod svclb-mysite-drupal-9mzk4
Name: svclb-mysite-drupal-9mzk4
Namespace: drupal
Priority: 0
Node: <none>
Labels: app=svclb-mysite-drupal
controller-revision-hash=d7c8d884f
pod-template-generation=1
svccontroller.k3s.cattle.io/svcname=mysite-drupal
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: DaemonSet/svclb-mysite-drupal
Containers:
lb-port-80:
Image: rancher/klipper-lb:v0.1.2
Port: 80/TCP
Host Port: 80/TCP
Environment:
SRC_PORT: 80
DEST_PROTO: TCP
DEST_PORT: 80
DEST_IP: 10.43.16.247
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-kvtgx (ro)
lb-port-443:
Image: rancher/klipper-lb:v0.1.2
Port: 443/TCP
Host Port: 443/TCP
Environment:
SRC_PORT: 443
DEST_PROTO: TCP
DEST_PORT: 443
DEST_IP: 10.43.16.247
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-kvtgx (ro)
Conditions:
Type Status
PodScheduled False
Volumes:
default-token-kvtgx:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-kvtgx
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: CriticalAddonsOnly op=Exists
node-role.kubernetes.io/master:NoSchedule op=Exists
node.kubernetes.io/disk-pressure:NoSchedule op=Exists
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
node.kubernetes.io/not-ready:NoExecute op=Exists
node.kubernetes.io/pid-pressure:NoSchedule op=Exists
node.kubernetes.io/unreachable:NoExecute op=Exists
node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 7m25s default-scheduler 0/7 nodes are available: 7 node(s) didn't have free ports for the requested pod ports.
Warning FailedScheduling 7m24s default-scheduler 0/7 nodes are available: 7 node(s) didn't have free ports for the requested pod ports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment