News for hackers. Stuff that matters.
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by ricoberger on Sunday February 23, 2020 @05:30PM (#22399999)
kubenav is a mobile and desktop app to help you manage Kubernetes clusters. The app provides an overview of all your workloads and resources running in your clusters, including the current status. The details view of your workloads contains all the necessary logs and events to debug your clusters in case of problems. You can also edit and delete resources within the app.

The app is developed using Ionic Framework[0] and Capacitor[1]. The most parts of the app are implemented using React and TypeScript. For the Kubernetes API requests the app uses Go mobile[2].

[0] - https://ionicframework.com

[1] - https://capacitor.ionicframework.com

[2] - https://github.com/golang/go/wiki/Mobile

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by kissgyorgy on Tuesday February 25, 2020 @04:51AM (#22411994)
When you apply "infrastructure as code", you should not be able to change manifests from a mobile phone without using git.
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by johnjungles on Tuesday February 25, 2020 @05:24AM (#22412116)
Do you mean gitops? I thought infrastructure as code was to make sure your entire cloud environment is code so you can reliability reproduce it. Either way, they’re both concepts to strive for and tools market it this way, but the ideas have been around for a long time.

I use kuber for my sandbox clusters to try out new ideas or trouble shoot on the go. I think mobile debugging tools are pretty cool tools. Especially for SRE’s. I used to carry around a foldable keyboard and be able to shell into pods to debug things.

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by kissgyorgy on Tuesday February 25, 2020 @07:03AM (#22412466)
There is no point for production code which is not in Git. As a toy/sandbox, sure this would be handy, but I wouldn't use it for a testing or staging cluster.
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by johnjungles on Tuesday February 25, 2020 @08:30AM (#22413002)
Why not for testing/staging?

Also gitops tools have sync so if you change something it’ll auto generate a commit with its current state. No sure if you know about it but you should check it out! Staging environments don’t want to be too far off from production but at the same time, it can and should be used to test things, so that production deployments are predictable.

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by blackandblue on Tuesday February 25, 2020 @06:44AM (#22412388)
> sandbox clusters

i mean yes. i am of the same sentiment as the original commenter. you don't wanna be messing with production clusters from your mobile phone.

getting alerted and monitoring is fine though. i am very curious about all this...

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by johnjungles on Tuesday February 25, 2020 @08:32AM (#22413012)
Yep this is why I said sandbox clusters.

Alerts and monitoring, along with logs is very helpful especially for SRE’s. If you’re on your way to a computer, it helps to get the gears turning

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by ricoberger on Tuesday February 25, 2020 @07:34AM (#22412620)
We are also using GitOps to manage our Kubernetes clusters. I'm using the edit feature for some playground clusters. For production clusters I think the editing of manifests can be forbidden via RBAC which results in an error message for the user, when he tries to use this feature.
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by elcano on Tuesday February 25, 2020 @08:28AM (#22412987)
I wonder why the Android version of this app needs permission to: 1. Take pictures and videos 2. Record audio 3. Get precise GPS location, or any location at all.
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by moltar on Tuesday February 25, 2020 @10:23AM (#22413856)
Probably just default settings for some framework. But great question!
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by ricoberger on Tuesday February 25, 2020 @01:56PM (#22416025)
You are right. These are the default settings from Capacitor[0].

Thanks for the hint, I will look through them and remove some of them.

[0] - https://capacitor.ionicframework.com/docs/android/configurat...

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by aliswe on Saturday February 22, 2020 @02:02AM (#22389797)
This looks nice, but I hope the devs don't need access to this kind of low level administration.

Also, how come GitHub disallows zoom for mobile? ...

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by denvrede on Tuesday February 25, 2020 @05:57AM (#22412226)
You should support the external authenticators like aws-iam-authenticator for authentication.
Re:Show HN: Kubenav – An open source mobile app to manage Ku... by ricoberger on Tuesday February 25, 2020 @07:38AM (#22412650)
For the mobile version support for EKS and GKE was added in the latest version. For the next version, I plan to add support for AKS.

To avoid this for the desktop version, kubenav uses the Kubeconfig file from `~/.kube/config` in the next version[0]. Therefor all cloud providers should be supported on desktop.

[0] - https://github.com/kubenav/kubenav/pull/25

Re:Show HN: Kubenav – An open source mobile app to manage Ku... by SeriousM on Saturday February 22, 2020 @11:25AM (#22391778)
Finally a management portal that is swift! not that laggy kubernetes dashboard...