-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add cluster e2e for cri-containerd. #5370
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### job-env | ||
# This list should match the list in kubernetes-pull-build-test-e2e-gce. | ||
NUM_NODES=4 | ||
# For now explicitly test etcd v2 mode in this suite. | ||
STORAGE_BACKEND=etcd2 | ||
TEST_ETCD_IMAGE=2.2.1 | ||
TEST_ETCD_VERSION=2.2.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (do you still wanna test against old etcd?, up to you) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that all tests are still using this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah the e2e-gce uses this which I'm not sure why, anyway There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At least |
||
|
||
# Enable the PodSecurityPolicy in tests. | ||
ENABLE_POD_SECURITY_POLICY=true | ||
|
||
# Envs for cri-containerd. | ||
KUBE_MASTER_EXTRA_METADATA=user-data=/go/src/github.com/kubernetes-incubator/cri-containerd/test/e2e/master.yaml,cri-containerd-configure-sh=/go/src/github.com/kubernetes-incubator/cri-containerd/test/configure.sh | ||
KUBE_NODE_EXTRA_METADATA=user-data=/go/src/github.com/kubernetes-incubator/cri-containerd/test/e2e/node.yaml,cri-containerd-configure-sh=/go/src/github.com/kubernetes-incubator/cri-containerd/test/configure.sh | ||
KUBE_CONTAINER_RUNTIME=remote | ||
KUBE_CONTAINER_RUNTIME_ENDPOINT=/var/run/cri-containerd.sock | ||
KUBE_LOAD_IMAGE_COMMAND=/home/cri-containerd/usr/local/bin/cri-containerd load | ||
NETWORK_POLICY_PROVIDER=calico | ||
# TODO(random-liu): Enable this after kubernetes/kubernetes#55141 is fixed. | ||
PREPULL_E2E_IMAGES=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think after
--extract
cwd will become/workspace/kubernetes
, before that it's inside the repo. Is this still correct?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--extract=ci/latest
will hit https://github.com/kubernetes/test-infra/blob/master/kubetest/main.go#L368-L372There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you wanna merge and watch the actual behavior I'm also fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
extract=ci/latest
required for e2e test?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok :-)