From b84aaf41ee8070bd2a553aa6d986b94981db8296 Mon Sep 17 00:00:00 2001 From: hiteshmakol1 Date: Fri, 27 Dec 2024 13:29:25 +0530 Subject: [PATCH] Karpenter Helm Chart (#256) * Karpenter Helm Chart - includes prerequisites - IAM_Role, Tagging, AWS_AUth as well * Update values.yaml Updated Values.yaml * Added Dependency Chart, updated values.yaml * Added template folder * Removed extra Files * Incorporated Review Comments --- charts/karpenter/.helmignore | 23 +++++++++++++++++++++++ charts/karpenter/Chart.yaml | 7 +++++++ charts/karpenter/templates/.gitkeep | 0 charts/karpenter/values.yaml | 23 +++++++++++++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 charts/karpenter/.helmignore create mode 100644 charts/karpenter/Chart.yaml create mode 100644 charts/karpenter/templates/.gitkeep create mode 100644 charts/karpenter/values.yaml diff --git a/charts/karpenter/.helmignore b/charts/karpenter/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/charts/karpenter/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/karpenter/Chart.yaml b/charts/karpenter/Chart.yaml new file mode 100644 index 00000000..3914ec08 --- /dev/null +++ b/charts/karpenter/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: ot-karpenter +version: 0.1.0 +dependencies: + - name: karpenter + version: 1.1.1 + repository: oci://public.ecr.aws/karpenter diff --git a/charts/karpenter/templates/.gitkeep b/charts/karpenter/templates/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/charts/karpenter/values.yaml b/charts/karpenter/values.yaml new file mode 100644 index 00000000..04915ef8 --- /dev/null +++ b/charts/karpenter/values.yaml @@ -0,0 +1,23 @@ +# Custom values for your chart +clusterName: "" +awsPartition: "" +awsAccountId: 3849 +karpenterVersion: + +# Karpenter chart overrides +karpenter: + settings: + clusterName: "" + # interruptionQueue: test-demo-cluster + serviceAccount: + annotations: + eks.amazonaws.com/role-arn: arn:aws:iam::3849:role/KarpenterControllerRole-test-demo-cluster + controller: + resources: + requests: + cpu: "1" + memory: "1Gi" + limits: + cpu: "1" + memory: "1Gi" +