-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Question] extra args for minikube oci driver #13892
Comments
/kind support |
Hi @zhan9san, we are always open to open to improving the minikube user experience. In this case, it looks like having multiple persistent settings would be helpful, rather than entering numerous flags on Have you tried looking at the minikube config mechanism? With a minikube config, you can make many changes that will persist when starting minikube. |
Hi @klaases Thanks for your attention. Sorry for no making myself understood. Let me highlight the key point. If we use
Besides, |
In the original libmachine design, the flags were per driver and not global like in minikube. So it was a side effect of forking and including the drivers, possibly also the cli lib used. |
Hi @zhan9san, we currently allow for arguments and the configuration files. However, if we modify an While this may add some convenience, we also find that it may add complexity.
I agree that having a large number of arguments can become unwieldily, and it makes sense to work on ways to more highly organize them. |
Thanks for your update. Please allow me to recap the issue. I know the The key point is for how to implement new features in Minikube. Assume features list in the first column is not supported in Minikube. Let us compare how Minikube implement them with As we can see, if
Hope I express myself clearly. |
This is both a pro and a con, less "typing" of arguments also means more chance of breakage by not checking them. It is similar to a programming language, where you have named parameters ("args") and pass in dictionaries ("kwargs") |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
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. |
What Happened?
There are many
xxx driver only
inminikube start --help
.For
docker
andpodman
drivers, could we unified them in one args, like--extra-args
, and then pass this args toCreateContainerNode
function as below.minikube/pkg/drivers/kic/oci/oci.go
Lines 156 to 180 in 03b5bb7
If we do so, some features can be easier implemented without code change, e.g.
--extra-args
--extra-args
--ip
tominikube start
--subnet
tominikube start
#12315 #13730 #13766--ports=[]
tominikube start
I am not sure
extra-args
is a better design, and some validations may be lost.Let me know what you think.
Attach the log file
None
Operating System
Other
Driver
Docker
The text was updated successfully, but these errors were encountered: