aws-samples / comfyui-on-eks

ComfyUI on AWS
MIT No Attribution
113 stars 21 forks source link

Unable to continue with install: ServiceAccount "s3-csi-driver-sa" in namespace "kube-system" exists #2

Closed ande28em closed 8 months ago

ande28em commented 8 months ago

When following instructions to install aws-mountpoint-s3-csi-driver I'm getting the following error after executing: Input:

helm upgrade --install aws-mountpoint-s3-csi-driver \
    --namespace kube-system \
    aws-mountpoint-s3-csi-driver/aws-mountpoint-s3-csi-driver

Output:

Release "aws-mountpoint-s3-csi-driver" does not exist. Installing it now.
Error: Unable to continue with install: ServiceAccount "s3-csi-driver-sa" in namespace "kube-system" 
exists and cannot be imported into the current release: invalid ownership metadata;
label validation error: key "app.kubernetes.io/managed-by" must equal "Helm": current value is "eksctl";
annotation validation error: missing key "meta.helm.sh/release-name": must be set to "aws-mountpoint-s3-csi-driver";
annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "kube-system"
Shellmode commented 8 months ago

Thanks for response, I also noticed the problem recently

For now, you can run following cmd to install the addon

eksctl create addon --name aws-mountpoint-s3-csi-driver --cluster Comfyui-Cluster --service-account-role-arn arn:aws:iam::111122223333:role/AmazonEKS_S3_CSI_DriverRole --force

change --service-account-role-arn to your own

Refer to https://docs.aws.amazon.com/eks/latest/userguide/s3-csi.html

I may revise the document later.

Shellmode commented 8 months ago

I've revised the doc, please refer to 6.5.4 Deploy EKS S3 CSI Driver.