故障描述:
Jenkins是在K8S集群中部署的,Jenkins使用的各种资源以及全部创建了,但是Jenkins的Pod依旧无法启动,一直处于Pending状态。
排查思路:
1)首先查看处于Pending状态的原因,观察Pod的详细信息,获取关键信息。
Warning FailedMount 34s (x3 over 98s) kubelet (combined from similar events): MountVolume.SetUp failed for volume "pvc-3ed2c605-b7da-4266-a882-4527ed949c34" : mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: --description=Kubernetes transient mount for /var/lib/kubelet/pods/a794f97d-7e67-47f5-9ab2-05f6352b9352/volumes/kubernetes.io~nfs/pvc-3ed2c605-b7da-4266-a882-4527ed949c34 --scope -- mount -t nfs 192.168.16.105:/data/k8s/storageclass/kube-system-prometheus-data-prometheus-0-pvc-3ed2c605-b7da-4266-a882-4527ed949c34 /var/lib/kubelet/pods/a794f97d-7e67-47f5-9ab2-05f6352b9352/volumes/k