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

Feature request: Docker image #107

Closed
mzac opened this issue Jun 17, 2020 · 4 comments · Fixed by #110
Closed

Feature request: Docker image #107

mzac opened this issue Jun 17, 2020 · 4 comments · Fixed by #110
Labels
enhancement New feature or request

Comments

@mzac
Copy link
Contributor

mzac commented Jun 17, 2020

I see in the development notes that you can run the app locally in a browser, would it be possible to build a docker image of this that could then be deployed inside a Kubernetes cluster and then access through a service?

If so, there might need to be an enhancement to allow authentication and where to store the kubernetes config file.

@ricoberger
Copy link
Member

Hi @mzac, yes it should be possible to build a Docker image for kubenav. Some questions from my side:

  1. Do you want to install kubenav in one cluster and manage multiple clusters or should kubenav be installed in each cluster and only this cluster should be available via kubenav?
  2. Is authentication requirement or can the authentication handled via Ingress?

@ricoberger ricoberger added the enhancement New feature or request label Jun 17, 2020
@mzac
Copy link
Contributor Author

mzac commented Jun 18, 2020

@ricoberger

  1. I think you could have both options. Maybe if no kubeconfig has been specified there could be a bind to the local cluster that would let you manage it? The latest version of Portainer does something like this.
  2. I wouldn't say that the authentication would be a requirement, you could always put it behind a nginx proxy for example that would handle the authentication. Might be good if we came up with a document or an example with say a config map for nginx that would do that.

@ricoberger
Copy link
Member

Hi @mzac, a Docker image is now available at Docker Hub. A tag is pushed for every master commit and release.

I also added an example, to deploy kubenav to Kubernetes: https://github.com/kubenav/kubenav/tree/master/utils/kubernetes

Any further suggestions and improvements are welcome. If you want to improve the example or add an Ingress example feel free to create a PR 🙂

@mzac
Copy link
Contributor Author

mzac commented Jun 20, 2020

Thanks I’ll give it a try as soon as I can!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants