cluster-api icon indicating copy to clipboard operation
cluster-api copied to clipboard

Support different bootstrap/control providers in the E2E test framework

Open richardcase opened this issue 5 years ago • 11 comments

User Story

As a provider developer I would like to write e2e tests that use the CAPI E2E test framework for running e2e tests against a control plane and bootstrap provider that isn't kubeadm.

Detailed Description There are various places in the CAPI E2E test framework where the bootstrap & control planes providers are hardcoded or assumed to be kubeadm. This means you can't use the test framework in E2E tests where there are different control plane or bootstrap providers (e.g. CAPA EKS). A number of examples:

  • [ ] The current implementation of the validateProviders function on the E2EConfig assumes that there is only 1 control plane provider and only 1 bootstrap provider and that there are kubeadm. This stops the use of other providers like the aws-eks ones. See here
  • [ ] The InitManagementClusterAndWatchControllerLogs function assumes kubeadm. The InitManagementClusterAndWatchControllerLogsInput should have fields for Bootstrap & Control Plane providers that can be populated (i.e. from E2EConfig).
  • [ ] The DiscoverAndWaitForControlPlaneInitialized function assumes kubeadm

/kind feature

richardcase avatar Dec 03 '20 14:12 richardcase

/area testing /mileston v0.4.0

fabriziopandini avatar Dec 03 '20 20:12 fabriziopandini

@richardcase happy to know you are planning to use the E2E test framework!

  1. I'm +1 to change this for validating there is at least one bootstrap/controlplane provider
  2. is already implemented in https://github.com/kubernetes-sigs/cluster-api/pull/3708

fabriziopandini avatar Dec 03 '20 20:12 fabriziopandini

Additionally, the DiscoverAndWaitForControlPlaneInitialized function assumes kubeadm

richardcase avatar Dec 04 '20 10:12 richardcase

/help

fabriziopandini avatar Dec 04 '20 10:12 fabriziopandini

@fabriziopandini: This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Dec 04 '20 10:12 k8s-ci-robot

/milestone v0.4.0

fabriziopandini avatar Jan 19 '21 13:01 fabriziopandini

/assign

shysank avatar Feb 04 '21 20:02 shysank

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale

fejta-bot avatar Jun 20 '21 06:06 fejta-bot

/lifecycle frozen

richardcase avatar Jun 20 '21 15:06 richardcase

  1. The DiscoverAndWaitForControlPlaneInitialized function assumes kubeadm has been handled in https://github.com/kubernetes-sigs/cluster-api/pull/4719

shysank avatar Jun 21 '21 16:06 shysank

/triage accepted

fabriziopandini avatar Aug 05 '22 17:08 fabriziopandini

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

  • Confirm that this issue is still relevant with /triage accepted (org members only)
  • Close this issue with /close

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted

k8s-triage-robot avatar Jan 18 '24 22:01 k8s-triage-robot

/priority backlog

fabriziopandini avatar Apr 12 '24 14:04 fabriziopandini

The Cluster API project currently lacks enough active contributors to adequately respond to all issues and PRs.

This issue is still a interesting idea but no one showed up since 2021, we can eventually reconsider if needs arise again + there are folks interested in working on it /close

fabriziopandini avatar Apr 22 '24 13:04 fabriziopandini

@fabriziopandini: Closing this issue.

In response to this:

The Cluster API project currently lacks enough active contributors to adequately respond to all issues and PRs.

This issue is still a interesting idea but no one showed up since 2021, we can eventually reconsider if needs arise again + there are folks interested in working on it /close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Apr 22 '24 13:04 k8s-ci-robot