This repository has been archived by the owner on Oct 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
NFS client ,test-pod.yaml not running. #964
Comments
the nfs provisioner is error for: error retrieving resource lock default/jerry.com-kubernetes: endpoints "jerry.com-kubernetes" is forbidden: User "system:serviceaccount:default:nfs-client-provisioner" cannot get endpoints in the namespace "default |
@ramene ohh,thank u very much. I'm find this error and fix it.This mistake is due to my carelessness. Look my rbac config find the rbac and sc is not the same namespace. In the dashboard the Deployment log is find it. |
Thanks @cuisongliu - I've found that using the helm chart does work, something I'd missed earlier; as noted here: #953 NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE
default pod/efs-provisioner-5fb5866dcc-rk9fw 1/1 Running 0 3m 192.168.122.52 ip-192-168-118-34.us-west-2.compute.internal
kube-system pod/aws-node-cj4hr 1/1 Running 1 4h 192.168.118.34 ip-192-168-118-34.us-west-2.compute.internal
kube-system pod/aws-node-f8gpf 1/1 Running 1 4h 192.168.165.92 ip-192-168-165-92.us-west-2.compute.internal
kube-system pod/aws-node-jw6z2 1/1 Running 1 4h 192.168.225.164 ip-192-168-225-164.us-west-2.compute.internal
kube-system pod/kube-dns-7cc87d595-t8c85 3/3 Running 0 4h 192.168.194.94 ip-192-168-225-164.us-west-2.compute.internal
kube-system pod/kube-proxy-dv64j 1/1 Running 0 4h 192.168.165.92 ip-192-168-165-92.us-west-2.compute.internal
kube-system pod/kube-proxy-jnx6d 1/1 Running 0 4h 192.168.118.34 ip-192-168-118-34.us-west-2.compute.internal
kube-system pod/kube-proxy-vnsfk 1/1 Running 0 4h 192.168.225.164 ip-192-168-225-164.us-west-2.compute.internal
kube-system pod/tiller-deploy-895d57dd9-lmp7b 1/1 Running 0 3h 192.168.168.154 ip-192-168-165-92.us-west-2.compute.internal
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
default service/kubernetes ClusterIP 10.100.0.1 <none> 443/TCP 4h <none>
kube-system service/kube-dns ClusterIP 10.100.0.10 <none> 53/UDP,53/TCP 4h k8s-app=kube-dns
kube-system service/tiller-deploy ClusterIP 10.100.16.59 <none> 44134/TCP 3h app=helm,name=tiller
NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
default persistentvolumeclaim/my-efs-vol-1 Bound pvc-7df61fb1-af48-11e8-af17-020501b6d6ac 1Mi RWX efs 8s You have the create the PVC separately... after running the helm chart
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
the 172.16.3.254 is my nfs server.But,the pvc(test-claim) is Pending,and the pod tall me "pod has unbound PersistentVolumeClaims (repeated 6 times)"
I need create the PV ?And the param " mountPath: /persistentvolumes " means i need to create the Folder the name is '/persistentvolumes' in my nfs server and mount to nfs ?
The text was updated successfully, but these errors were encountered: