Skip to content

Commit

Permalink
Merge pull request #46 from aws-ia/neuron-helm-chart
Browse files Browse the repository at this point in the history
feat: Use official neuron helm chart
  • Loading branch information
askulkarni2 authored Oct 30, 2024
2 parents eab6319 + e6f4e87 commit 06c7fe9
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 315 deletions.
6 changes: 3 additions & 3 deletions aws-neuron-device-plugin.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
resource "helm_release" "aws_neuron_device_plugin" {
count = var.enable_aws_neuron_device_plugin ? 1 : 0

name = try(var.aws_neuron_device_plugin_helm_config["name"], "neuron-device-plugin")
name = try(var.aws_neuron_device_plugin_helm_config["name"], "neuron-helm-chart")
repository = try(var.aws_neuron_device_plugin_helm_config["repository"], null)
chart = try(var.aws_neuron_device_plugin_helm_config["chart"], "${path.module}/helm-charts/neuron-device-plugin")
version = try(var.aws_neuron_device_plugin_helm_config["version"], "0.1.0")
chart = try(var.aws_neuron_device_plugin_helm_config["chart"], "oci://public.ecr.aws/neuron/neuron-helm-chart")
version = try(var.aws_neuron_device_plugin_helm_config["version"], "1.0.0")
timeout = try(var.aws_neuron_device_plugin_helm_config["timeout"], 300)
values = try(var.aws_neuron_device_plugin_helm_config["values"], null)
create_namespace = try(var.aws_neuron_device_plugin_helm_config["create_namespace"], false)
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/karpenter-resources/templates/node-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
{{- with .Values.nodePool.disruption.budgets }}
budgets:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
limits:
cpu: {{ .Values.nodePool.limits.cpu }}
memory: {{ .Values.nodePool.limits.memory }}
Expand Down
23 changes: 0 additions & 23 deletions helm-charts/neuron-device-plugin/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions helm-charts/neuron-device-plugin/Chart.yaml

This file was deleted.

68 changes: 0 additions & 68 deletions helm-charts/neuron-device-plugin/templates/_helpers.tpl

This file was deleted.

19 changes: 0 additions & 19 deletions helm-charts/neuron-device-plugin/templates/clusterrole.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions helm-charts/neuron-device-plugin/templates/clusterrolebinding.yaml

This file was deleted.

77 changes: 0 additions & 77 deletions helm-charts/neuron-device-plugin/templates/daemonset.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions helm-charts/neuron-device-plugin/templates/serviceaccount.yaml

This file was deleted.

91 changes: 0 additions & 91 deletions helm-charts/neuron-device-plugin/values.yaml

This file was deleted.

0 comments on commit 06c7fe9

Please sign in to comment.