Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate kube-up cluster tests to kops - part one #30686

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 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 @@ -622,6 +622,112 @@ periodics:
testgrid-alert-email: [email protected], [email protected]
description: Uses kubetest to run e2e tests (-Slow|Serial|Disruptive|Flaky|Feature) against a cluster (ubuntu based and uses containerd) created with cluster/kube-up.sh

- interval: 120m
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file isn't the right place to add kOps jobs. they must be with the rest of the kOps jobs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not a kops job, I'm using kops to bootstrap the cluster.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neolit123 see kubernetes/kubernetes#78995 (comment)

we don't want to add support for arm64 to current cluster/kube-up.sh

name: ci-kubernetes-e2e-ubuntu-arm64-gce-containerd-canary
cluster: k8s-infra-prow-build
decorate: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-master
command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
IMAGE=$(gcloud compute images describe-from-family ubuntu-2204-lts --project ubuntu-os-cloud --format='value(selfLink.scope(projects))')
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=gce \
--create-args="--image=${IMAGE} --channel=alpha --zones=us-central1-a --gce-service-account=default --set=spec.containerd.version=1.7.5 --set=spec.containerd.runc.version=1.1.9" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
-- \
--test-args="-test.timeout=70m --minStartupPods=8" \
--test-package-bucket=k8s-release-dev \
--test-package-dir=ci \
--test-package-marker=latest.txt \
--skip-regex="\[Driver:.gcepd\]|\[Driver:.nfs\]|\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]" \
--parallel=30
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 2
memory: 6Gi
annotations:
testgrid-dashboards: google-gce, google-gci #, sig-release-master-blocking
testgrid-tab-name: gce-ubuntu-arm64-master-containerd-canary
testgrid-num-failures-to-alert: '6'
testgrid-alert-email: [email protected] #, [email protected]
description: Uses kubetest2 to run e2e tests (-Slow|Serial|Disruptive|Flaky|Feature) against a cluster (ubuntu based and uses containerd) created with kops

- interval: 120m
name: ci-kubernetes-e2e-ubuntu-arm64-gce-containerd
cluster: k8s-infra-prow-build
decorate: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-master
command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
IMAGE=$(gcloud compute images describe-from-family ubuntu-2204-lts-arm64 --project ubuntu-os-cloud --format='value(selfLink.scope(projects))')
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=gce \
--create-args="--image=${IMAGE} --channel=alpha --zones=us-central1-a --gce-service-account=default --set=spec.cloudControllerManager.image=gcr.io/k8s-staging-cloud-provider-gcp/cloud-controller-manager@sha256:0482201c37dd87810b8d9664c39b98eba4211748d527aa092830f530fa0f8267" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
-- \
--test-args="-test.timeout=70m --minStartupPods=8" \
--test-package-bucket=k8s-release-dev \
--test-package-dir=ci \
--test-package-marker=latest.txt \
--skip-regex="\[Driver:.gcepd\]|\[Driver:.nfs\]|[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]" \
--parallel=30
resources:
limits:
cpu: 2
memory: 6Gi
requests:
cpu: 2
memory: 6Gi
annotations:
testgrid-dashboards: google-gce, google-gci #, sig-release-master-blocking
testgrid-tab-name: gce-ubuntu-arm64-master-containerd
testgrid-num-failures-to-alert: '6'
testgrid-alert-email: [email protected] #, [email protected]
description: Uses kubetest2 to run e2e tests (-Slow|Serial|Disruptive|Flaky|Feature) against a cluster (ubuntu based and uses containerd) created with kops

- interval: 30m
name: ci-kubernetes-e2e-gci-gce-alpha-enabled-default
labels:
Expand Down