Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

gillcaleb
Copy link
Contributor

@gillcaleb gillcaleb commented May 21, 2024

Description

Includes a reference to AWS documentation for EKS Cluster addon names and configuration details.

I'm happy to write a more in-depth description with examples but I wasn't sure of the best place to do so, so I went with the simplest solution. Feel free to let me know if there's a more reasonable place for this to live.

Motivation and Context

Assists operators in more easily discerning the precise addon names to include in their modules.
Closes #3008

Breaking Changes

No

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bryantbiggs
Copy link
Member

I'm curious to know more about why you think this will be helpful to users - specifically, is a doc comment within the source code is providing the necessary value? Conversely, as a user - how am I thinking about finding this information - am I doing a google search or ?

@stavvy-cgill
Copy link
Contributor

stavvy-cgill commented May 21, 2024

Great question. The ultimate aim in my view is to provide the precise names of the addons to be included in the map. In my experience, when first starting to fiddle with addons it's not immediately apparent what the specific map key should be (e.g. Mountpoint for Amazon S3 CSI Driver -> aws-mountpoint-s3-csi-driver)

The line comment on the resource itself was the simplest way I could think to inject the relevant doc into the code base. The challenge with that particular doc is that the actual information (the names of the addons) is embedded in dropdown menus for each addon, so it takes a bit of extra digging to get to the salient info. It's also not apparent from reading that doc that the AWS name mentioned there will be the exact same name that the Terraform ingests (it takes some cross referencing of the existing examples). Granted, this is all of relatively minor concern but including a ref might be a helpful reassurance that the information is contained in the page and translates to the name they should use.

That being said, I'm also more than happy to put in some more robust documentation or examples that obviate the need to seek out external resources to begin with. I'm thinking a brief explanation with an example body along the lines of:

cluster_addons = {
    amazon-cloudwatch-observability = {
      most_recent = true
    }
    aws-ebs-csi-driver = {
      most_recent = true
    }
    aws-efs-csi-driver = {
      most_recent = true
    }
    aws-mountpoint-s3-csi-driver  = {
      most_recent = true
    }
   coredns = {
      most_recent = true
    }
   eks-pod-identity-agent =  = {
      most_recent = true
    }
   kube-proxy = {
      most_recent = true
    }
   snapshot-controller = {
      most_recent = true
    }
   vpc-cni = {
      most_recent = true
    }
  }

If that's of interest to the community I could put together an addons.md in the docs section.

@gillcaleb gillcaleb changed the title docs: include ref to addon naming and config documentation docs: Include ref to addon naming and config documentation May 21, 2024
@bryantbiggs
Copy link
Member

I think for these things, the best source of truth is the API - aws eks describe-addon-versions --query 'addons[*].addonName'

[
    "vpc-cni",
    "upwind-security_upwind-operator",
    "upbound_universal-crossplane",
    "tetrate-io_istio-distro",
    "teleport_teleport",
    "stormforge_optimize-live",
    "splunk_splunk-otel-collector-chart",
    "solo-io_istio-distro",
    "solo-io_gloo-mesh-starter-pack",
    "solarwinds_swo-k8s-collector-addon",
    "snapshot-controller",
    "rafay-systems_rafay-operator",
    "new-relic_kubernetes-operator",
    "netapp_trident-operator",
    "leaksignal_leakagent",
    "kubecost_kubecost",
    "kube-proxy",
    "kong_konnect-ri",
    "kasten_k10",
    "haproxy-technologies_kubernetes-ingress-ee",
    "groundcover_agent",
    "grafana-labs_kubernetes-monitoring",
    "factorhouse_kpow",
    "eks-pod-identity-agent",
    "dynatrace_dynatrace-operator",
    "datree_engine-pro",
    "datadog_operator",
    "cribl_cribledge",
    "coredns",
    "cisco_cisco-cloud-observability-operators",
    "cisco_cisco-cloud-observability-collectors",
    "calyptia_fluent-bit",
    "aws-mountpoint-s3-csi-driver",
    "aws-guardduty-agent",
    "aws-efs-csi-driver",
    "aws-ebs-csi-driver",
    "amazon-cloudwatch-observability",
    "akuity_agent",
    "adot",
    "accuknox_kubearmor"
]

@gillcaleb
Copy link
Contributor Author

gillcaleb commented May 22, 2024

Makes sense. I've refactored it to add this info as an entry to the FAQ. Personally I feel like this would have been helpful info when I was first getting started but if it is deemed to be redundant or of limited value then feel free to close out this PR.

I also removed a reference to deploying Windows nodes in the FAQ which as far as I could tell did not have a corresponding entry.

@bryantbiggs bryantbiggs merged commit f90f15e into terraform-aws-modules:master May 22, 2024
@antonbabenko
Copy link
Member

This PR is included in version 20.12.0 🎉

@FernandoMiguel
Copy link
Contributor

is snapshot-controller something that is recommended to install now?

Copy link

github-actions bot commented Jul 6, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc improvement for cluster_addons

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.