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

preguntada hace un año904 visualizaciones
1 Respuesta
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas