Build a GitHub Issues Reporter for failing Kubernetes Apps with Botkube Plugins

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • botkube-plugins-template

    Quick start repository for creating Botkube executor and source plugins

  • Now, we need to distribute our plugins. As we mentioned earlier, a plugin repository can be any static file server. The kubeshop/botkube-plugins-template repository comes with two GitHub Actions:

  • botkube

    An app that helps you monitor your Kubernetes cluster, debug critical deployments & gives recommendations for standard practices

  • 💡 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • goreleaser

    Deliver Go binaries as fast and easily as possible

  • It's time to build your plugin. For that purpose, we will use GoReleaser. It simplifies building Go binaries for different architectures. The important thing is to produce the binaries for the architecture of the host platform where Botkube is running. Adjust the goos, goarch, and goarm properties based on this architecture.

  • cobra

    A Commander for modern Go CLI interactions

  • There are a lot of great libraries supporting command parsing. The most popular is probably cobra, but for our use case, we will just use the helper function from our plugin extension package.

  • go-arg

    Struct-based argument parsing in Go

  • Under the hood, the pluginx.ParseCommand method uses go-arg.

  • starter-workflows

    Accelerating new GitHub Actions workflows

  • Now, we need to distribute our plugins. As we mentioned earlier, a plugin repository can be any static file server. The kubeshop/botkube-plugins-template repository comes with two GitHub Actions:

  • cli

    GitHub’s official command line tool

  • GitHub provides a great gh CLI, which we use to submit our issue. To learn more about the CLI syntax, see their manual.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Terminal Music Tracker Mock-Up

    2 projects | /r/golang | 23 Jul 2022
  • The power of the CLI with Golang and Cobra CLI

    9 projects | dev.to | 6 Apr 2024
  • Essential Command Line Tools for Developers

    29 projects | dev.to | 15 Jan 2024
  • O poder do CLI com Golang e Cobra CLI

    9 projects | dev.to | 15 Nov 2023
  • What's a really niche tool you use that you can't live without?

    32 projects | /r/DataHoarder | 9 May 2023