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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ