botkube
cobra
Our great sponsors
botkube | cobra | |
---|---|---|
26 | 129 | |
2,035 | 35,891 | |
1.8% | - | |
9.3 | 7.8 | |
4 days ago | 6 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
botkube
-
Open Source monitoring k8s
I think a great tool that you can use for your projects is Botkube, it can be used to view your reports and provides updates in chat platforms including slack, discord and Microsoft teams.
-
Build a GitHub Issues Reporter for failing Kubernetes Apps with Botkube Plugins
š” Tip To make the code-snippets more readable, I skipped the error handling. However, it will be useful if you will add error handling for the final implementation. You can check the full gh source-code for the reference.
-
Botkube v0.17.0 Release Notes
Botkube v0.17.0 is here, and it's huge! We've introduced a plugin system for sources and executors along with the first plugin for Helm. Botkube is the most modern ChatOps tool for Kubernetes!
-
Getting Started with the New Botkube Slack App
The new Botkube Slack app provides more great interactive features and better security when compared to the legacy Botkube Slack app. We announced the new socket mode Slack app in the Botkube v0.14.0 release notes. The new Slack app has some specific requirements and a new installation process, so let's have a look at how to get started with the most modern ChatOps tool for Kubernetes!. You can also use the Botkube installation documentation to get started, but this post is to give you more context about the changes to the new app and some caveats to watch out for.
-
Botkube v0.16.0 Release Notes
The latest version of Botkube is here, v0.16.0. Like peanut butter and chocolate, we've brought together two great parts of Botkube to make your life working with Kubernetes even tastier easier. Botkube is the most modern ChatOps tool for Kubernetes!
-
Botkube v0.14 ReleaseĀ Notes
We have fixed several bugs in BotKube that were reported to us by users. We also spent some time refactoring code and increasing test coverage to improve the quality of BotKube. You can see the list of bug fixes in the changelog.
-
Botkube v0.15.0 ReleaseĀ notes
We have an exciting early release of Botkube, just in time for KubeCon! We've been working as fast as we can to get some great new features ready to release. Here's v0.15.0 of Botkube, the most modern ChatOps tool for Kubernetes!
-
Botkube v0.13 ReleaseĀ Notes
BotKube, welcome to Kubeshop! We're happy to have the most modern ChatOps tool for Kubernetes join the team.
-
Run kubectl commands without typing actual commands
Hi all, we just released Botkube 0.15 with which Slack users can now run kubectl commands without typing actual commands at the bot (just @botkube k) as well as grep-like filtering of the commandsā output. Here is a demo:
-
Botkube 0.14 released (and it won't spam you anymore)
Hey, not yet - currently we do support Slack, Discord, Mattermost and Teams. Here's the issue you can watch for the updates around Telegram support: https://github.com/kubeshop/botkube/issues/50.
cobra
-
The power of the CLI with Golang and Cobra CLI
We can use the flag with --date or -date, Go already does the automatic check. We can make our entire boilerplate with this approach, but let's make it a little easier and use the Cobra CLI package.
-
Build your own curl in Golang
In this tutorial, we'll walk through the process of creating a simple command-line tool similar to curl using Go and Cobra, a CLI library for Go.
-
Scripts should be written using the project main language
I use https://github.com/spf13/cobra religiously for this kind of thing - it handles all the annoying corner cases of parsing flags, and also has an intuitive notion of subcommands (with basic usage/help text generated) for picking which task you want to run with positional arguments.
-
Command Line Interface Guidelines
We recently chose cobra[1] to create a cli application. It comes with so many best practices already packaged like autocompletions, help texts etc. etc.
[1]: https://github.com/spf13/cobra
-
What 3rd-party libraries do you use often/all the time?
github.com/spf13/cobra
- O poder do CLI com Golang e Cobra CLI
-
How to read Cobra command line flag
I looked at the docs: https://cobra.dev/ ... and there are only examples on how to add new flags.
-
Dockerizing Golang CLI Tool - A Step-by-Step Guide
For installing Cobra-CLI you can go to Cobraor run go install github.com/spf13/cobra-cli@latest in the terminal.
-
Packaging Go for Arch Linux Tutorial
In my build phase, I compile the source to create a k3sup binary and I also run the binary to generate shell script completions. Give kudos to this functionality which comes from spf13/cobra Go library for CLIs.
-
Add License Headers to Your Code Files
NWA is a command-line tool built on cobra. Here's an overview of NWA's commands:
What are some alternatives?
kubernetes-event-exporter - Export Kubernetes events to multiple destinations with routing and filtering
urfave/cli - A simple, fast, and fun package for building command line apps in Go
spark-operator - Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
cli - CLI - A package for building command line app with go
argo-events - Event-driven Automation Framework for Kubernetes
kingpin - CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser
skipper - An HTTP router and reverse proxy for service composition, including use cases like Kubernetes Ingress
kong - Kong is a command-line parser for Go
kube-state-metrics - Add-on agent to generate and expose cluster-level metrics.
go-flags - go command line option parser
k8tz - Kubernetes admission controller and a CLI tool to inject timezones into Pods and CronJobs
mitchellh/cli - A Go library for implementing command-line interfaces.