Skip to content

Commit

Permalink
config/jobs: mv some canary jobs to local ssd nodepool
Browse files Browse the repository at this point in the history
Allow us to manuall trigger some presubmits to see what the behaior of
local-ssd-backed ephemeral storage looks like

Specifically for jobs:

- pull-kubernetes-e2e-gce-canary
- pull-kubernetes-integration-go-canary
- pull-kubernetes-e2e-kind-canary
- pull-kubernetes-unit-go-canary
- pull-kubernetes-verify-go-canary
  • Loading branch information
spiffxp committed Sep 27, 2021
1 parent f05db65 commit 4d4660c
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/jobs/kubernetes/sig-cloud-provider/gcp/gcp-gce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ presubmits:
preset-pull-kubernetes-e2e: "true"
preset-pull-kubernetes-e2e-gce: "true"
spec:
# TODO(https://github.com/kubernetes/k8s.io/issues/1187): remove nodeSelector/tolerations once new nodepool confirmed healthy
nodeSelector:
cloud.google.com/gke-ephemeral-storage-local-ssd: "true"
tolerations:
- key: "ephemeral-ssd-experiment"
operator: "Equal"
value: "true"
effect: "NoSchedule"
containers:
- args:
- --root=/go/src
Expand Down
8 changes: 8 additions & 0 deletions config/jobs/kubernetes/sig-testing/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ presubmits:
preset-service-account: "true"
preset-dind-enabled: "true"
spec:
# TODO(https://github.com/kubernetes/k8s.io/issues/1187): remove nodeSelector/tolerations once new nodepool confirmed healthy
nodeSelector:
cloud.google.com/gke-ephemeral-storage-local-ssd: "true"
tolerations:
- key: "ephemeral-ssd-experiment"
operator: "Equal"
value: "true"
effect: "NoSchedule"
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20210927-471c27b6e3-go-canary
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ presubmits:
grace_period: 15m
path_alias: k8s.io/kubernetes
spec:
# TODO(https://github.com/kubernetes/k8s.io/issues/1187): remove nodeSelector/tolerations once new nodepool confirmed healthy
nodeSelector:
cloud.google.com/gke-ephemeral-storage-local-ssd: "true"
tolerations:
- key: "ephemeral-ssd-experiment"
operator: "Equal"
value: "true"
effect: "NoSchedule"
containers:
- image: gcr.io/k8s-staging-test-infra/krte:latest-master
imagePullPolicy: Always # pull latest image for canary testing
Expand Down
8 changes: 8 additions & 0 deletions config/jobs/kubernetes/sig-testing/make-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ presubmits:
skip_report: false
path_alias: k8s.io/kubernetes
spec:
# TODO(https://github.com/kubernetes/k8s.io/issues/1187): remove nodeSelector/tolerations once new nodepool confirmed healthy
nodeSelector:
cloud.google.com/gke-ephemeral-storage-local-ssd: "true"
tolerations:
- key: "ephemeral-ssd-experiment"
operator: "Equal"
value: "true"
effect: "NoSchedule"
# unit tests have no business requiring root or doing privileged operations
securityContext:
runAsUser: 2000
Expand Down
8 changes: 8 additions & 0 deletions config/jobs/kubernetes/sig-testing/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ presubmits:
preset-service-account: "true"
preset-dind-enabled: "true"
spec:
# TODO(https://github.com/kubernetes/k8s.io/issues/1187): remove nodeSelector/tolerations once new nodepool confirmed healthy
nodeSelector:
cloud.google.com/gke-ephemeral-storage-local-ssd: "true"
tolerations:
- key: "ephemeral-ssd-experiment"
operator: "Equal"
value: "true"
effect: "NoSchedule"
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20210927-471c27b6e3-go-canary
imagePullPolicy: Always
Expand Down

0 comments on commit 4d4660c

Please sign in to comment.