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

Kops - migrate more periodic jobs to community-owned prow clusters #32260

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions config/jobs/kubernetes/kops/build_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,7 @@ def shorten(version):
# Exit criteria: Remove when https://github.com/kubernetes/kops/issues/16276 is fixed
results.append(
build_test(name_override='kops-aws-upgrade-bug16276-calico',
build_cluster='k8s-infra-kops-prow-build',
cluster_name='bug16276-calico.k8s.local',
distro='u2204',
networking='calico',
Expand All @@ -1581,6 +1582,7 @@ def shorten(version):
# Exit criteria: Remove when https://github.com/kubernetes/kops/issues/16276 is fixed
results.append(
build_test(name_override='kops-aws-upgrade-bug16276-cilium',
build_cluster='k8s-infra-kops-prow-build',
cluster_name='bug16276-cilium.k8s.local',
distro='u2204',
networking='cilium',
Expand Down
2 changes: 1 addition & 1 deletion config/jobs/kubernetes/kops/kops-periodics-distros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=cilium --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=cilium --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt \
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
--test=kops \
Expand Down
144 changes: 72 additions & 72 deletions config/jobs/kubernetes/kops/kops-periodics-grid.yaml

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions config/jobs/kubernetes/kops/kops-periodics-misc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=cilium --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=cilium --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci-updown-green.txt \
--kubernetes-version=https://dl.k8s.io/release/stable-1.28.txt \
--test=kops \
Expand Down Expand Up @@ -2317,7 +2317,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.nodeProblemDetector.enabled=true --set=spec.packages=nfs-utils --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.nodeProblemDetector.enabled=true --set=spec.packages=nfs-utils --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
Expand Down Expand Up @@ -2519,7 +2519,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.packages=nfs-utils --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.packages=nfs-utils --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
Expand Down Expand Up @@ -2655,7 +2655,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
Expand Down Expand Up @@ -2723,7 +2723,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=amazonvpc --node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=amazonvpc --node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--cluster-name="kubernetes-e2e-al2023-aws-conformance-aws-cni.k8s.local" \
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci.txt \
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
Expand Down Expand Up @@ -2790,7 +2790,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=amazonvpc --node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=amazonvpc --node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--cluster-name="kubernetes-e2e-al2023-aws-conformance-aws-cni-canary.k8s.local" \
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
Expand Down Expand Up @@ -2859,7 +2859,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=cilium --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeProxy.enabled=false --set=spec.networking.cilium.enableNodePort=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=cilium --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeProxy.enabled=false --set=spec.networking.cilium.enableNodePort=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--cluster-name="kubernetes-e2e-al2023-aws-conformance-cilium.k8s.local" \
--kops-version-marker=https://storage.googleapis.com/k8s-staging-kops/kops/releases/markers/master/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
Expand Down Expand Up @@ -3064,7 +3064,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
Expand Down Expand Up @@ -3201,7 +3201,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --node-volume-size=100 --set=spec.packages=nfs-utils --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --node-volume-size=100 --set=spec.packages=nfs-utils --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
--test=kops \
Expand Down Expand Up @@ -3269,7 +3269,7 @@ periodics:
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --set=spec.kubeAPIServer.runtimeConfig=api/all=true --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=kubenet --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --set=spec.kubeAPIServer.runtimeConfig=api/all=true --discovery-store=s3://k8s-kops-prow/discovery" \
--kubernetes-feature-gates=AllAlpha,-InTreePluginGCEUnregister,DisableCloudProviders,DisableKubeletCloudCredentialProviders \
--kops-version-marker=https://storage.googleapis.com/kops-ci/bin/latest-ci.txt \
--kubernetes-version=https://storage.googleapis.com/k8s-release-dev/ci/latest.txt \
Expand Down
8 changes: 6 additions & 2 deletions config/jobs/kubernetes/kops/kops-periodics-scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ periodics:

# {"cloud": "aws", "distro": "u2204", "k8s_version": "ci", "kops_channel": "alpha", "kops_version": "latest", "networking": "amazonvpc"}
- name: e2e-kops-aws-scale-amazonvpc
cluster: default
cluster: k8s-infra-kops-prow-build
cron: '37 0-23/24 * * *'
labels:
preset-service-account: "true"
Expand Down Expand Up @@ -36,7 +36,11 @@ periodics:
- name: CLUSTER_NAME
value: "e2e-f21a47a3cd-b6b27.test-cncf-aws.k8s.io"
- name: KOPS_STATE_STORE
value: "s3://k8s-kops-prow"
value: "s3://k8s-kops-ci-prow-state-store"
- name: KOPS_DNS_DOMAIN
value: "tests-kops-aws.k8s.io"
- name: DISCOVERY_STORE
value: "s3://k8s-kops-ci-prow"
- name: KUBE_SSH_USER
value: "ubuntu"
- name: KOPS_IRSA
Expand Down
24 changes: 16 additions & 8 deletions config/jobs/kubernetes/kops/kops-periodics-upgrades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2974,12 +2974,11 @@ periodics:

# {"cloud": "aws", "distro": "u2204", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "calico"}
- name: e2e-kops-aws-upgrade-bug16276-calico
cluster: default
cluster: k8s-infra-kops-prow-build
cron: '16 3-23/8 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
preset-dind-enabled: "true"
max_concurrency: 1
decorate: true
Expand All @@ -2992,6 +2991,7 @@ periodics:
workdir: true
path_alias: k8s.io/kops
spec:
serviceAccountName: prowjob-default-sa
containers:
- command:
- runner.sh
Expand All @@ -3006,14 +3006,18 @@ periodics:
value: "latest"
- name: K8S_VERSION_B
value: "v1.28.0"
- name: KOPS_STATE_STORE
value: "s3://k8s-kops-ci-prow-state-store"
- name: KOPS_DNS_DOMAIN
value: "tests-kops-aws.k8s.io"
- name: DISCOVERY_STORE
value: "s3://k8s-kops-ci-prow"
- name: CLOUD_PROVIDER
value: "aws"
- name: CLUSTER_NAME
value: "bug16276-calico.k8s.local"
- name: KUBE_SSH_USER
value: "ubuntu"
- name: KOPS_STATE_STORE
value: "s3://k8s-kops-prow"
- name: KOPS_IRSA
value: "true"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240311-b09cdeb92c-master
Expand All @@ -3040,12 +3044,11 @@ periodics:

# {"cloud": "aws", "distro": "u2204", "k8s_version": "stable", "kops_channel": "alpha", "kops_version": "latest", "networking": "cilium"}
- name: e2e-kops-aws-upgrade-bug16276-cilium
cluster: default
cluster: k8s-infra-kops-prow-build
cron: '58 1-23/8 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
preset-dind-enabled: "true"
max_concurrency: 1
decorate: true
Expand All @@ -3058,6 +3061,7 @@ periodics:
workdir: true
path_alias: k8s.io/kops
spec:
serviceAccountName: prowjob-default-sa
containers:
- command:
- runner.sh
Expand All @@ -3072,14 +3076,18 @@ periodics:
value: "latest"
- name: K8S_VERSION_B
value: "v1.28.0"
- name: KOPS_STATE_STORE
value: "s3://k8s-kops-ci-prow-state-store"
- name: KOPS_DNS_DOMAIN
value: "tests-kops-aws.k8s.io"
- name: DISCOVERY_STORE
value: "s3://k8s-kops-ci-prow"
- name: CLOUD_PROVIDER
value: "aws"
- name: CLUSTER_NAME
value: "bug16276-cilium.k8s.local"
- name: KUBE_SSH_USER
value: "ubuntu"
- name: KOPS_STATE_STORE
value: "s3://k8s-kops-prow"
- name: KOPS_IRSA
value: "true"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240311-b09cdeb92c-master
Expand Down
2 changes: 1 addition & 1 deletion config/jobs/kubernetes/kops/kops-presubmits-distros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ presubmits:
-v 2 \
--up --build --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=calico --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=calico --discovery-store=s3://k8s-kops-prow/discovery" \
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
--kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
--test=kops \
Expand Down
2 changes: 1 addition & 1 deletion config/jobs/kubernetes/kops/kops-presubmits-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ presubmits:
-v 2 \
--up --build --down \
--cloud-provider=aws \
--create-args="--image='137112412989/al2023-ami-2023.3.20240304.0-kernel-6.1-x86_64' --channel=alpha --networking=amazonvpc --node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--create-args="--image='137112412989/al2023-ami-2023.3.20240312.0-kernel-6.1-x86_64' --channel=alpha --networking=amazonvpc --node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery" \
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
--kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
--test=kops \
Expand Down