Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eks-cluster-autoscaler
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
terraform-eks
eks-cluster-autoscaler
Commits
d3150011
Commit
d3150011
authored
May 13, 2020
by
Nick White
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved image version to variable
parent
b6a6ad79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
eks-cluster-autoscaler.tf
eks-cluster-autoscaler.tf
+1
-1
variables.tf
variables.tf
+8
-0
No files found.
eks-cluster-autoscaler.tf
View file @
d3150011
...
...
@@ -50,7 +50,7 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
}
container
{
image
=
"
k8s.gcr.io/cluster-autoscaler:v1.3.6
"
image
=
"
${
var
.
cluster_autoscaler_image_region
}
.gcr.io/k8s-artifacts-prod/autoscaling/cluster-autoscaler:v
${
var
.
cluster_autoscaler_version
}
"
name
=
"cluster-autoscaler-container"
image_pull_policy
=
"IfNotPresent"
args
=
[
"./cluster-autoscaler"
,
"--cloud-provider=aws"
,
"--node-group-auto-discovery=asg:tag=k8s.io/cluster-autoscaler/enabled"
,
"--skip-nodes-with-local-storage=false"
,
"--stderrthreshold=info"
,
"--expander=least-waste"
,
"--v=4"
]
...
...
variables.tf
View file @
d3150011
...
...
@@ -7,3 +7,11 @@ variable "envname" {
}
variable
"worker_iam_role_arn"
{}
variable
"cluster_autoscaler_version"
{
default
=
"1.3.6"
}
variable
"cluster_autoscaler_image_region"
{
default
=
"eu"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment