Problem with Amazon EBS CSI Driver Node Driver Registrar after moving to EKS 1.25

0

I installed aws-ebs-csi-driver

eksctl get addon --name aws-ebs-csi-driver --cluster <cluster-name>
NAME			VERSION			STATUS	ISSUES	IAMROLE							UPDATE AVAILABLE
aws-ebs-csi-driver	v1.16.0-eksbuild.1	ACTIVE	0	arn:aws:iam::<numbers>:role/AmazonEKS_EBS_CSI_DriverRole

When I look at the objects it created, the container node-driver-registrar under the pod ebs-csi-node keeps on crashing.

I'am unable to get the logs because I was having another issue below when running kubectl logs command.

Internal error occurred: Authorization error (user=kube-apiserver-kubelet-client, verb=get, resource=nodes, subresource=proxy)

Enter image description here

Enter image description here

已提問 1 年前檢視次數 904 次
1 個回答
0

It seems to be that the permissions are setup incorrectly. Could you try adding this ClusterRoleBinding Resource and test it once.

kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: kubelet-api-admin
subjects:
- kind: User
  name: kubelet-api
  apiGroup: rbac.authorization.k8s.io
roleRef:
  kind: ClusterRole
  name: system:kubelet-api-admin
  apiGroup: rbac.authorization.k8s.io
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南