GSA-TTS / datagov-brokerpak-eks

Broker AWS EKS instances using the OSBAPI (eg from cloud.gov)
Other
9 stars 7 forks source link

EBS CSI EKS support #64

Closed nickumia-reisys closed 2 years ago

nickumia-reisys commented 2 years ago

Related to https://github.com/GSA/datagov-deploy/issues/3127

Changes:

New Additions:

nickumia-reisys commented 2 years ago

Instructions on setting up EBS CSI Plugin: https://docs.aws.amazon.com/eks/latest/userguide/managing-ebs-csi.html

nickumia-reisys commented 2 years ago

@mogul We need to enable encryption for the EFS volume. We can't merge this yet!

nickumia-reisys commented 2 years ago

Commenting for reference, https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html image

nickumia-reisys commented 2 years ago

Ughh... I think there are a couple of problems with the tests.. Fargate has the EFS driver installed by default, KiND does not.. Real EKS has the current kubernetes configs applied, KiND does not... Will fix in the morning.

mogul commented 2 years ago

Ughh... I think there are a couple of problems with the tests.. Fargate has the EFS driver installed by default, KiND does not.. Real EKS has the current kubernetes configs applied, KiND does not... Will fix in the morning.

The solr-operator doesn't care how PVs are implemented, only that they are available to make PVCs! So we don't need to set up EFS in KinD, we just need to set up KinD to have a local PV back-end and storageClass of its own available. This is how we do it. 793623b1-daa7-48bf-b939-2247a901dcb0_text

mogul commented 2 years ago

A more in-depth example of implementing PVs in KinD, if we need to go any further than the SO answer linked above...

nickumia-reisys commented 2 years ago

Yay!! 🎈