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

How to put Apps in specific namespaces? #139

Open
anjuls opened this issue Sep 9, 2020 · 4 comments
Open

How to put Apps in specific namespaces? #139

anjuls opened this issue Sep 9, 2020 · 4 comments

Comments

@anjuls
Copy link

anjuls commented Sep 9, 2020

The issue I am seeing is that kalm is very opinionated. It doesn't give me option to provide namespace. For each app, a new namespace is created.

Also, How can I browse existing applications, deployments on my cluster through kalm?

@kalmhq kalmhq deleted a comment from tstyle11 Sep 9, 2020
@infrar
Copy link
Contributor

infrar commented Sep 9, 2020

Yes Kalm indeed makes a rather opinionated decision in that each app gets a distinct namespace. When we made this decision, we realized it will probably turn a subset of users off. But we've found enough upside in practice (etc.. getting apps up and running quicker, reducing boilerplate, keeping the UI simple) that we want to try going down this route a bit longer.

In an earlier version of Kalm, we had apps and namespaces as separate concepts, and you can have a namespace containing multiple apps. But most people who used Kalm simply created 1 namespace to hold 1 app, or was confused as just put everything in the default namespace. The extra layer of abstraction simply caused more confusion than it was worth.

Are there specific ways you'd like to use namespaces that gets blocked by this app=namespace convention? Really appreciate the feedback!

@infrar
Copy link
Contributor

infrar commented Sep 9, 2020

Regarding browsing apps: all apps created via Kalm should be visible in the /applications page. Deployments created outside of Kalm are currently not visible, but we might add basic view support later.

@anjuls
Copy link
Author

anjuls commented Sep 9, 2020

I was thinking that I can use kalm on top of my existing cluster and apps. I feel it is a very basic Kubernetes building block and should be available for selection. From the first impression, kalm seems good for those who don't want to touch their YAMLs.

@evanrich
Copy link

@infrar one possible use case, is to group seperate apps together. For example, I have a "Media" namespace, that contains sonarr, radarr, jackett. I then have a network policy that then only allows traffic in to these pods. For simplicity sake, it's easier to group those 3 pods into 1 namespace, then to have "sonarr" "radarr" "jackett" namespace...etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants