Kube tool in less than 3 min: Kubernator

存储架构 2018-06-12 阅读原文

Today we are exploring an alternative dashboard for Kubernetes. It is less focused on drawing cluster and workloads status, but its main purpose is to ease bearing with all these large YAML files that compose our clusters.

First of all, kudos to smp.io for creating this (and many others) awesome tool.

Quick links

Kubernator UI

Kubernator shows in a clean, code-focused UI all objects in your cluster, including custom resource definitions (CRDs). They are classified by namespace and object type. In the editing area, you can edit YAML code, delete the object and also create a new one. As you can see in the screenshot, the editor is prepared to make suggestions, show changes and many more features that will delight every admin.

It also includes a RBAC viewer , with a schema of the relations between all roles and bindings:

RBAC viewer

I prefer not to expand more on the use of this tool as its own documentation is very easy and visual.

All right, let’s deploy it! As with other tools, I have made a Helm chart to auto-deploy it in your cluster. It is available at GitHub: https://github.com/nachomillangarcia/helm-chart-kubernator

helm install --name kubernator --set ingress.externalDnsName= .

One caveat of Kubernator is that it is a client-side-only app. It connects directly with Kubernetes API. This means that with the normal deployment, you can only use it by executing kubectl proxy , no possibility for using an ingress.

I’ve made a workaround in the Helm chart to solve this, adding a container with kubectl to the pod and some ingress rules to redirect the queries to the API to that container.

So this chart includes deployment and service definitions, and also an ingress and RBAC objects to allow access from outside. It is very important to protect the ingress endpoint; you can always disable this feature (check README for instructions).

Kubernator has changed the way I bear with managing tons of YAML definitions everyday, I hope it helps you too. Enjoy!

ITNEXT

责编内容by:ITNEXT阅读原文】。感谢您的支持!

您可能感兴趣的

Going Hybrid with Kubernetes on Google Cloud Platf... Recently, we announced a strategic partnership with Nutanix to help remove friction from hybrid cloud deployments for e...
容器化RDS|调度策略 导语 前文 《数据库容器化|未来已来》 我们介绍了基于Kubernetes实现的下一代私有 RDS。其中,调度策略是具体实现时至关重要的一环,它关系到RDS 集群的服务质量和部署密度。那么,RDS 需要怎样的调度策略呢?本文通过数据库...
A Look Back at Kubernetes with Microsoft’s Brendan... On today’s episode of The New Stack Makers podcast, TNS founder and editor-in-chief Alex Williams sat down w...
Kubernetes监控系列一:Kubernetes监控开源工具的基本介绍以及使用Sysdig进行监... 【编者的话】原文连接 here ,作者Kubernetes监控系列一共有四篇文章,此篇是该系列的首篇文章,主要介绍了一些Kubernetes监控的开源工具,并着重介绍了Sysdig这个监控工具。 在GitHub上有超过21000颗星...
kubelet 分析源码:启动流程 kubelet 简介 我在 之前的文章介绍过 kubelet 的功能 ,简言之,kubelet 保证它所在节点的 pod 能够正常工作。它的核心工作是监听 apiserver,一旦发现当前节点的 pod 配置发生变化,就根据最新...