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

wip: wait for Default Service Account #7209

Closed
wants to merge 6 commits into from

Conversation

medyagh
Copy link
Member

@medyagh medyagh commented Mar 24, 2020

This Pr will break
minikube start --wait

but the following will still work
minikube start --wait=true (waits for 2 as the current default behavior(
minikube start --wait=false
minikube start --wait=all (waits for 3 components)
minikube start --wait=apiserver,system_pods,default_sa (waits for these 3)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Mar 24, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 24, 2020
@afbjorklund
Copy link
Collaborator

I suppose you could add a separate flag --wait-components, if you worry about backwards compat ?

@medyagh
Copy link
Member Author

medyagh commented Mar 24, 2020

I suppose you could add a separate flag --wait-components, if you worry about backwards compat ?

I thought about that, but the thing is, I dont want the default behiavor to include waiting for default service account (that is not needed for 90% of ppl) and adds ups to 30s to start time.

if I had made a components flag, then if I keep the old flag, the True would need to do all of it ?

@medyagh medyagh changed the title wait for Default Service Account wip: wait for Default Service Account Mar 24, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 24, 2020
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 26, 2020
@k8s-ci-robot
Copy link
Contributor

@medyagh: PR needs rebase.

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.

@tstromberg
Copy link
Contributor

It's unclear to me what this breaks if anything?

What do you think of a tiered approach so that folks don't have to worry about new components that are added?

minikube start --wait=false: wait for nothing, same as today
minikube start --wait=responses -- default: no behavioral change from today
minikube start --wait=all -- wait for everything

minikube start --wait=true -- alias for "all" for backwards compatibility

@medyagh
Copy link
Member Author

medyagh commented Apr 2, 2020

It's unclear to me what this breaks if anything?

What do you think of a tiered approach so that folks don't have to worry about new components that are added?

minikube start --wait=false: wait for nothing, same as today
minikube start --wait=responses -- default: no behavioral change from today
minikube start --wait=all -- wait for everything

minikube start --wait=true -- alias for "all" for backwards compatibility

sounds like a good idea !
redoing this PR here --wait, wait for more components #7375

@medyagh medyagh closed this Apr 2, 2020
@medyagh medyagh deleted the default_sa branch May 2, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants