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

[sig-testing] Add ci-kubernetes-e2e-kind-rootless #31085

Merged
merged 1 commit into from
Nov 16, 2023
Merged
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
56 changes: 56 additions & 0 deletions config/jobs/kubernetes/sig-testing/kubernetes-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -582,3 +582,59 @@ periodics:
# this is mostly for building kubernetes
memory: 9Gi
cpu: 7
- interval: 24h
cluster: k8s-infra-prow-build
name: ci-kubernetes-e2e-kind-rootless
annotations:
testgrid-dashboards: sig-testing-kind
testgrid-tab-name: kind-rootless
description: Kubernetes in Rootless Docker (in GCE VM)
# GitHub ID: @AkihiroSuda
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '6'
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
decorate: true
decoration_config:
timeout: 90m
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: master
path_alias: k8s.io/kubernetes
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231015-d38ebb23ab-master
command:
- runner.sh
args:
- /bin/bash
- -c
- |
set -eux
# kindinv: Kubernetes in (Rootless) Docker in (GCE) VM
# See https://github.com/rootless-containers/kubetest2-kindinv
(cd ; GO111MODULE=on go install github.com/rootless-containers/kubetest2-kindinv@master)
Copy link
Member Author

Choose a reason for hiding this comment

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

(I can move the repo to https://github.com/kubernetes-sigs if there is an interest from SIG-testing)

Copy link
Member

Choose a reason for hiding this comment

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

@BenTheElder you are more familiar with this area, I remember there was some discussion some time ago about external projects but I can't find it

Copy link
Member

Choose a reason for hiding this comment

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

though, this is the installer or kubetest2 module, that is different, I think this is ok

exec kubetest2 kindinv \
--gcp-project=k8s-prow-builds \
--gcp-zone=us-west1-b \
--instance-image=ubuntu-os-cloud/ubuntu-2204-lts \
--instance-type=n2-standard-4 \
--kind-rootless \
--build \
--up \
--down \
--test=ginkgo \
-- \
--use-built-binaries \
--focus-regex='\[NodeConformance\]' \
--skip-regex='\[Environment:NotInUserNS\]|\[Slow\]' \
--parallel=8
resources:
limits:
memory: 2Gi
cpu: 2
requests:
memory: 2Gi
cpu: 2