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

Describe and document profile usage #2371

Closed
timoreimann opened this issue Jan 1, 2018 · 12 comments
Closed

Describe and document profile usage #2371

timoreimann opened this issue Jan 1, 2018 · 12 comments
Labels
area/profiles issues related to profile handling good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. r/2019q2 Issue was last reviewed 2019q2

Comments

@timoreimann
Copy link

timoreimann commented Jan 1, 2018

Is this a BUG REPORT or FEATURE REQUEST?: Feature request

Support for multiple profiles was added a while ago. However, it is not clear to me how to use them properly, and documentation does not seem to be available.

My general understanding is that profiles can be used to run multiple environments within a single minikube instance. The use case I have in mind is to have one profile for running traefik integration tests and another one for arbitrary, individual usages. I'd like to be able to switch between these when needed.

Here's a list of things I tried and questions I had but couldn't completely understand:

  • I changed the profile via minikube profile foobar. Apart from the acknowledgement on the shell, however, there is no indication of anything like an environment change. Is anything else happening in the background?
  • If I stop minikube and start it again, I can see that the context changed to the new profile. Is this the way it's supposed to be used, or is there some other workflow I should follow?
  • What happens when I pass the --profile CLI switch? Is this equivalent to running minikube profile <profile> prior to the actual command I want to execute?
  • How do I determine the currently active profile?
  • How do I delete a profile?
  • What information is contained in a profile?
  • How do profiles and VM driver instances (e.g., Virtualbox machines) relate to each other?

Environment:

Minikube version: v0.24.1

  • OS: Mac
  • VM Driver: virtualbox
  • ISO version: minikube-v0.23.6.iso

Anything else do we need to know:

I'd be happy to contribute documentation given someone can provide some feedback to my questions.

Thanks.

@r2d4 r2d4 added the kind/documentation Categorizes issue or PR as related to documentation. label Jan 23, 2018
@r2d4
Copy link
Contributor

r2d4 commented Jan 23, 2018

cc @aaron-prindle

@tommyknows
Copy link

Hi,
This is definitely necessary. I can't seem to find anything about the relationship between vm-drivers and profiles, like:
Are profiles working with every vm-driver?
Right now, vm-driver=none does not seem to work (which kinda makes sense, but is not documented anywhere), and vm-driver=kvm2 does not work (see issue #2274).

@fejta-bot
Copy link

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-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 3, 2018
@timoreimann
Copy link
Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 3, 2018
@fejta-bot
Copy link

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-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 1, 2018
@timoreimann
Copy link
Author

Still seems quite necessary.

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 2, 2018
@tstromberg tstromberg added the area/profiles issues related to profile handling label Sep 19, 2018
@fejta-bot
Copy link

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-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 18, 2018
@gmfx
Copy link

gmfx commented Dec 27, 2018

Still necessary.

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 27, 2018
@tstromberg tstromberg added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Jan 24, 2019
@tstromberg
Copy link
Contributor

tstromberg commented Jan 24, 2019

This would be great. Help wanted!

@gmfx
Copy link

gmfx commented Jan 25, 2019

Happy to chip in. @timoreimann @tstromberg

@ihcsim
Copy link

ihcsim commented Feb 11, 2019

I posted a write-up on what I've learned about profiles here. Let me know if it aligns with your experience. Welcome all feedback and corrections.

@tstromberg tstromberg added the r/2019q2 Issue was last reviewed 2019q2 label May 22, 2019
@tstromberg
Copy link
Contributor

It isn't perfect, but profiles are now documented:

https://minikube.sigs.k8s.io/docs/reference/commands/profile/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/profiles issues related to profile handling good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. r/2019q2 Issue was last reviewed 2019q2
Projects
None yet
Development

No branches or pull requests

8 participants