Skip to content

Commit

Permalink
Merge pull request #7 from SCT-Engineering/mcmCluster
Browse files Browse the repository at this point in the history
remove cluster-autoscaler
  • Loading branch information
nangu001 committed Jul 30, 2024
2 parents 3526e1c + d72714d commit fb4f29e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ The cluster-autoscaler uses the kuberentes scheduling algorithm to appropriate s


# CHANGELOG

* 0.0.2 -- 2024-07-30
- remove cluster-autoscaler (using karpenter)
* 0.0.1 -- 2024-07-22
- updated version.tf to 0.0.1
- included module.images in depends on helm charts
Expand Down
File renamed without changes.
22 changes: 11 additions & 11 deletions copy_images.tf
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
locals {
autoscaler_key = format("%v#%v", "cluster-autoscaler", var.cluster_autoscaler_tag)
kubectl_key = format("%v#%v", "kubectl", var.kubectl_image_tag)
# autoscaler_key = format("%v#%v", "cluster-autoscaler", var.cluster_autoscaler_tag)
kubectl_key = format("%v#%v", "kubectl", var.kubectl_image_tag)

image_config = [
{
enabled = true
dest_path = null
name = "cluster-autoscaler"
source_image = "autoscaling/cluster-autoscaler"
source_registry = "registry.k8s.io"
source_tag = null
tag = var.cluster_autoscaler_tag
},
# {
# enabled = true
# dest_path = null
# name = "cluster-autoscaler"
# source_image = "autoscaling/cluster-autoscaler"
# source_registry = "registry.k8s.io"
# source_tag = null
# tag = var.cluster_autoscaler_tag
# },
{
enabled = true
dest_path = null
Expand Down
26 changes: 13 additions & 13 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ variable "kubectl_image_tag" {
default = "1.27.14"
}

# helm add repo autoscaler "https://kubernetes.github.io/autoscaler"
# helm search repo -l autoscaler/cluster-autoscaler
variable "cluster_autoscaler_chart_version" {
description = "The helm chart of the cluster-autoscaler most closely matching the Kuberentes version. Review output of `helm add repo autoscaler 'https://kubernetes.github.io/autoscaler'` (if the repo hasn't been added previously) and `helm search repo -l autoscaler/cluster-autoscaler`"
type = string
default = "9.37.0"
}
# # helm add repo autoscaler "https://kubernetes.github.io/autoscaler"
# # helm search repo -l autoscaler/cluster-autoscaler
# variable "cluster_autoscaler_chart_version" {
# description = "The helm chart of the cluster-autoscaler most closely matching the Kuberentes version. Review output of `helm add repo autoscaler 'https://kubernetes.github.io/autoscaler'` (if the repo hasn't been added previously) and `helm search repo -l autoscaler/cluster-autoscaler`"
# type = string
# default = "9.37.0"
# }

# helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag:
variable "cluster_autoscaler_tag" {
description = "Image tag of cluster-autoscaler associated with the cluster_autoscaler_chart_version helm chart. `helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag:`"
type = string
default = "v1.30.0"
}
# # helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag:
# variable "cluster_autoscaler_tag" {
# description = "Image tag of cluster-autoscaler associated with the cluster_autoscaler_chart_version helm chart. `helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag:`"
# type = string
# default = "v1.30.0"
# }
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locals {
_module_name = "tfmod-eks-configuration"
_module_version = "0.0.1"
_module_version = "0.0.2"
}

0 comments on commit fb4f29e

Please sign in to comment.