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

gefragt vor einem Jahr904 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen