Skip to content

Commit

Permalink
Merge pull request kubernetes#6306 from xmudrii/stable-migration-1
Browse files Browse the repository at this point in the history
eks-prow-build: switch some components to the stable node group
  • Loading branch information
k8s-ci-robot authored Jan 24, 2024
2 parents 2399fad + e2fcf1d commit 5198d99
Show file tree
Hide file tree
Showing 7 changed files with 148 additions and 107 deletions.
212 changes: 106 additions & 106 deletions infra/aws/terraform/prow-build-cluster/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,17 @@ resource "kubernetes_manifest" "deployment_kube_system_cluster_autoscaler" {
]
},
]
"tolerations" = [
{
key = "node-group"
operator = "Equal"
value = "stable"
effect = "NoSchedule"
}
]
"nodeSelector" = {
"node-group" = "stable"
}
"priorityClassName" = "system-cluster-critical"
"securityContext" = {
"fsGroup" = 65534
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,17 @@ resource "kubernetes_manifest" "deployment_kube_system_metrics_server" {
]
},
]
"tolerations" = [
{
key = "node-group"
operator = "Equal"
value = "stable"
effect = "NoSchedule"
}
]
"nodeSelector" = {
"kubernetes.io/os" = "linux"
"node-group" = "stable"
}
"priorityClassName" = "system-cluster-critical"
"serviceAccountName" = "metrics-server"
Expand Down
2 changes: 1 addition & 1 deletion infra/aws/terraform/prow-build-cluster/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.19"
version = "~> 5.20"
}
kubernetes = {
source = "hashicorp/kubernetes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ spec:
limits:
cpu: 2000m
memory: 4Gi
tolerations:
- key: node-group
operator: Equal
value: stable
effect: NoSchedule
nodeSelector:
node-group: stable
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ spec:
limits:
cpu: 2000m
memory: 4Gi
tolerations:
- key: node-group
operator: Equal
value: stable
effect: NoSchedule
nodeSelector:
node-group: stable
volumes:
- name: boskos-config
configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ spec:
limits:
cpu: 2000m
memory: 4Gi
tolerations:
- key: node-group
operator: Equal
value: stable
effect: NoSchedule
nodeSelector:
node-group: stable

0 comments on commit 5198d99

Please sign in to comment.