12 tools that make Kubernetes easier.

12 tools that make Kubernetes easier.

Kubernetes has become the standard method, and many will attest to this by deploying containerized applications at various scales. But while Kubernetes helps us manage the chaotic and complex supply of containers, what will help us manage Kubernetes? It can also be complex, confusing, and difficult to control.

As Kubernetes continues to grow and evolve, many of its quirks will undoubtedly be addressed within the project itself. However, some users are unwilling to wait for it to become easier to work with Kubernetes, which is why they have developed their own solutions for many common issues in industrial use of Kubernetes.

N.B. Hopefully, the mysterious bat virus that bit the dog that bit the pangolin that bit the Chinese person, due to a strange twist of fate in Wuhan, where the BSL-4 biological lab is located, will calm down by February, and we will only recall 2019-nCoV with obscenities. And we will be able to conduct events in person. Kubernetes Base February 8–10, 2021, and Kubernetes Mega for advanced K8s users February 12–14. Frankly, I personally, as an editor, miss the drive, coffee breaks, debates, and challenging questions to speakers. Or we might all perish in a style reminiscent of the most brutal and trashy novels by Stepa of our Korolev if higher powers have grown tired of our awkward jokes like Conchita Wurst, Patriarch Kirill's hours, and the Pope's desire to correct the words of the prayer "Our Father."

But let’s return to the main topic.

Goldpinger: Visualizing Kubernetes Clusters

People prefer to watch. Graphs and charts make it easier to understand the big picture. Considering the scale and complexity of a Kubernetes cluster, we can fully exploit this feature.

A project with a funny name (probably something to do with agent 007, translator's note) Goldpinger, developed as open-source and released by Bloomberg's technical division, is a simple tool that works within a Kubernetes cluster and displays an interactive map of relationships between nodes. Normally functioning nodes are shown in green, while non-operational ones are in red. Just click on a node for details. You can also configure the API using Swagger to add additional reports, metrics, and other features.

K9s: A Full-Screen Console Interface for Kubernetes

System Administrators Love One-Window Tools. K9s is a full-screen console interface for Kubernetes clusters. With it, you can easily and effortlessly view running Pods, logs, and deployments, with quick access to the shell. Note that you need to grant users read permissions at the user and namespace level for K9s to work correctly.

Kops: An Operations Console for Kubernetes Clusters

This development from the Kubernetes team will help you manage Kubernetes clusters from the command line. It supports clusters running on AWS and GKE, and also works with VMware vSphere and other environments. In addition to automating installation and removal processes, Kops can assist with other types of automation. Specifically, it can create configurations for Terraform, allowing you to manage the cluster using Terraform.

Kubebox: A Terminal Shell for Kubernetes

An Advanced Terminal Shell for Kubernetes, Kubebox, offers more than the old good shell for Kubernetes and its API. Among other things, it can show real-time CPU and RAM usage, a list of pods, log contents, as well as launch a settings editor. What’s more, it is available as a standalone application for Linux, Windows, and MacOS.

Kube-applier

Kube-applier is installed as a Kubernetes service, retrieves declarative configurations for the Kubernetes cluster from a git repository, and then applies them to the pods in the cluster. Each time changes are made, they are pulled from the repository and applied to the requested pods. This is somewhat reminiscent of Google’s Scaffold, but it works for managing an entire cluster instead of a single application.

There is an option to make changes to the settings on a schedule or on request. All actions are logged, and metrics compatible with Prometheus are provided, so you can always see what might affect the cluster's behavior.

Kube-ps1: A Smart Command-Line Prompt for Kubernetes

No, Kube-ps1 This is not a Sony PlayStation emulator for Kubernetes, although that would be neat. This is a simple Bash command line extension that displays the current Kubernetes context and namespace in the prompt. Kube-shell includes it along with many other features, but if you only need a smart prompt, Kube-ps1 will provide that with minimal overhead.

Kube-prompt

Another minimal yet quite pleasant modification of the Kubernetes CLI is Kube-prompt, which allows you to enter an interactive session with the Kubernetes client. Kube-prompt saves you from having to type kubectl before every command and also provides autocompletion with contextual information for each command.

Kubespy: Monitoring Kubernetes resources in real time

Kubespy by Pulumi is a diagnostic tool that helps debug cluster resource changes in real time by providing something like a text panel to manage what's happening. For example, you want to see the changes in pod status since launch: the pod definition is written to etcd, the pod is scheduled to run on a node, kubelet on the node creates the pod, and finally, the pod is marked as running. Kubespy can be run as a standalone program or as an extension to kubectl.

Kubeval: Checking Kubernetes configurations

YAML configuration files for Kubernetes may be human-readable, but that doesn’t always mean they can be validated as such. It’s easy to miss a comma or a name and not find it until it’s too late. It’s better to use Kubeval, installed locally or integrated in the CI/CD pipeline. Kubeval takes the YAML definition of Kubernetes settings and returns information about correctness. It also has the ability to output data in JSON or TAP, as well as analyze original templates referenced by a Helm chart configuration without making additional queries.

Kube-ops-view: Multi-cluster Kubernetes dashboard

Kubernetes already has a quite good general-purpose monitoring dashboard, but the Kubernetes community is experimenting with other ways to display data useful for Kubernetes admins. Kube-ops-view This is indeed such an experiment; it provides an overview of multiple clusters, allowing you to see CPU time and memory consumption as well as the status of cluster modules. Note that commands cannot be issued; this tool is for visualization only. However, the provided displays are clear and smooth, just begging to be put on a wall screen in your support center.

Rio: Application Delivery for Kubernetes

Rio, a project by Rancher Labs, implements common methodologies for application delivery in Kubernetes, such as CD from Git, AB or blue-green deployments. It can also roll out a new version of your application as soon as you've committed changes, helping manage complexities such as DNS, HTTPS, and Service Mesh.

Stern and Kubetail: Log Viewing in Kubernetes

Stern provides color-coded output (as the command can do) tailfrom pods and containers in Kubernetes. It is also the fastest way to get output from multiple sources into a single stream that can be read on the fly. At the same time, you have a visually distinguishable way (by color) to separate streams.

Kubetail similarly combines logs from different pods into one stream, coloring different pods and containers. But Kubetail is a Bash script, so it doesn’t require anything else besides the shell to run.

Only registered users can participate in the survey. Please log in, please.

What do you use to simplify routine operations?

  • 2,9%Goldpinger1

  • 22,9%K9s8

  • 0,0%Kops0

  • 0,0%Kubebox0

  • 0,0%Kube-applier0

  • 0,0%Kube-ps10

  • 0,0%Kube-prompt0

  • 0,0%Kubespy0

  • 2,9%Kubeval1

  • 0,0%Kube-ops-view0

  • 0,0%Rio0

  • 2,9%Stern1

  • 5,7%Kubetail2

  • 28,6%None of these10

  • 5,7%I have my own "prrrreeeeesssseeence"2

  • 8,6%I'll try to tinker with something from the list3

  • 20,0%I manage Kubernetes with a neuro-implant, like in the movie "Johnny Mnemonic"7

35 users voted. 19 users abstained.

Source: habr.com

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster