opendatacube / datacube-k8s-eks

Deploy a production scale datacube cluster on AWS using EKS
Apache License 2.0
21 stars 14 forks source link

Enable EKS API access config #299

Closed benjimin closed 5 months ago

benjimin commented 5 months ago

EKS supports access configuration via two methods:

This change enables progressive migration of downstream configuration from the old style to the new style.

Why

The use of configmap is headed out of favour:

This change keeps pace with AWS API changes.

This change is motivated to more smoothly facilitate enabling Fargate hosting. (Fargate can be used for critical pods such as cluster autoscaler or karpenter, to protect against deadlocks and outages during node updates.)

Negative effects

Migration is optional, but an arguable downside is ambiguity if partial migrations leave multiple places where access could be configured.

This updates existing clusters in-line with updated AWS defaults (replacing the earlier configmap-only default). As such, it forces a particular setting (preventing complete deprecation of the configmap option) for something that could potentially be updated by clickops instead (that terraform probably would not otherwise override).