Comments (7)
I understand the goals of infrastructure teams regarding (naïve) local environments, At the same time, I don't think it's desirable to deviate too much from the behavior of invoking minikube explicitly and via a wrapper like ctlptl
.
My particular local config is meant to match the remote clusters I'm currently working with, which I was surprised that ctlptl
had ignored when creating the cluster. I'm sure you could think of much more exotic configurations (e.g. https://minikube.sigs.k8s.io/docs/handbook/filesync/), but those are arguably more advanced features that you should know you need if you decide the use them
{
"container-runtime": "containerd",
"driver": "kvm2"
}
from ctlptl.
Minikube supports persisting options to a configuration file (e.g. ~/.minikube/config/config.json
) on Linux; however, It appears that ctlptl
does not respect this user configuration. It currently creates minikube clusters based on whatever the minikube installed defaults are
from ctlptl.
@cbcoutinho Thanks for the report!
One of the design goals of this project is to help infra engineers manage a dev environment for their team, see:
https://github.com/tilt-dev/ctlptl#goals
One of the big complaints we see is that a more junior engineer accidentally sets a personal config that makes their team's app run poorly, and doesn't understand why.
So depending on what particular config we're talking about, this may be deliberate. But if there are particular personal configs you think ctlptl should preserve and don't conflict with this design goal, we're open to talking about it.
from ctlptl.
I need this. The ctlptl only allows setting specific flags or --extra-config
, but there are many minikube flags that are important for specific setups. For example --ports
.
Why not accept any command-line flag in the ctlptl configuration?
from ctlptl.
@remram44 we do have an API for accepting minikube flags in the YAML configs, see d59471b, would totally accept a PR to add Ports
it's a little bit more complex than just forwarding flags, since we have to reconcile against what ctlptl is doing, and some flags are incompatible with how ctlptl sets it up.
from ctlptl.
Like I said, this is only for --extra-config
and not any of the numerous other flags, even the harmless (to ctlptl) ones like --ports
from ctlptl.
ya, that's a fair point
from ctlptl.
Related Issues (20)
- Linux install fails HOT 3
- ctlptl does not work when containerd integration is enabled HOT 1
- Modification with `ctlptl docker-desktop set` results in `status code 400` HOT 1
- Support for ingress with kind HOT 1
- Registry support for htpasswd
- Support Kind v0.19.0 HOT 1
- K3D schema upgrade to v1alpha5 Simple. HOT 1
- Support minikube addons HOT 2
- Unable to set up registry with minikube HOT 10
- ctlptl doesn't authenticate requests when creating registry HOT 2
- ctlptl get registries -oname do not return a list of registry names
- ctlptl get registries -oname do return prefixed names HOT 1
- Support MiniKube with different drivers HOT 1
- kind containerd config patch should be updated HOT 2
- K3d config file formating HOT 4
- Registry not reachable with fixed port HOT 2
- ctlptl v0.8.25 has broken cluster config with containerdConfigPatches HOT 3
- should kind be called as a library and not via exec HOT 2
- feat: another container image using ctlptl only HOT 1
- Update kind to 0.22.0 so Kubernetes 1.29 is available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctlptl.