All Projects → codefresh-io → kube-watch

codefresh-io / kube-watch

Licence: other
Simple tool to get webhooks on Kubernetes cluster events

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to kube-watch

kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (+4.76%)
Mutual labels:  cluster, kubernetes-cluster, k8s
K8s Digitalocean Terraform
Deploy latest Kubernetes cluster on DigitalOcean using Terraform
Stars: ✭ 33 (+57.14%)
Mutual labels:  cluster, kubernetes-cluster, k8s
k8s-istio-demo
Demo showing the capabilities of Istio
Stars: ✭ 22 (+4.76%)
Mutual labels:  cluster, kubernetes-cluster, k8s
Kube Aliases
Kubernetes Aliases and Bash Functions
Stars: ✭ 40 (+90.48%)
Mutual labels:  cluster, namespace, k8s
Ansible Role K3s
Ansible role for installing k3s as either a standalone server or HA cluster.
Stars: ✭ 132 (+528.57%)
Mutual labels:  cluster, kubernetes-cluster, k8s
Kubernetes Gpu Guide
This guide should help fellow researchers and hobbyists to easily automate and accelerate there deep leaning training with their own Kubernetes GPU cluster.
Stars: ✭ 740 (+3423.81%)
Mutual labels:  cluster, kubernetes-cluster
kubeswitch
visually select kubernetes context/namespace from tree
Stars: ✭ 15 (-28.57%)
Mutual labels:  namespace, k8s
Temps
λ A selfhostable serverless function runtime. Inspired by zeit now.
Stars: ✭ 15 (-28.57%)
Mutual labels:  cluster, webhook
Php K8s
PHP K8s is a PHP handler for the Kubernetes Cluster API, helping you handling the individual Kubernetes resources directly from PHP, like viewing, creating, updating or deleting resources.
Stars: ✭ 111 (+428.57%)
Mutual labels:  cluster, k8s
Kube No Trouble
Easily check your cluster for use of deprecated APIs
Stars: ✭ 280 (+1233.33%)
Mutual labels:  cluster, k8s
Ksync
Sync files between your local system and a kubernetes cluster.
Stars: ✭ 1,005 (+4685.71%)
Mutual labels:  cluster, kubernetes-cluster
Ansible Rpi K8s Cluster
Deploy Raspberry Pi Kubernetes cluster using Ansible
Stars: ✭ 131 (+523.81%)
Mutual labels:  cluster, kubernetes-cluster
Scalecube Services
ScaleCube Services is a high throughput, low latency reactive microservices library built to scale. it features: API-Gateways, service-discovery, service-load-balancing, the architecture supports plug-and-play service communication modules and features. built to provide performance and low-latency real-time stream-processing. its open and designed to accommodate changes. (no sidecar in a form of broker or any kind)
Stars: ✭ 482 (+2195.24%)
Mutual labels:  cluster, k8s
Victoriametrics
VictoriaMetrics: fast, cost-effective monitoring solution and time series database
Stars: ✭ 5,558 (+26366.67%)
Mutual labels:  cluster, k8s
Turing Pi Cluster
Turing Pi cluster configuration for Raspberry Pi Compute Modules
Stars: ✭ 233 (+1009.52%)
Mutual labels:  cluster, k8s
Kubernetes Pfsense Controller
Integrate Kubernetes and pfSense
Stars: ✭ 100 (+376.19%)
Mutual labels:  cluster, k8s
Gardener
Kubernetes-native system managing the full lifecycle of conformant Kubernetes clusters as a service on Alicloud, AWS, Azure, GCP, OpenStack, EquinixMetal, vSphere, MetalStack, and Kubevirt with minimal TCO.
Stars: ✭ 2,093 (+9866.67%)
Mutual labels:  cluster, k8s
Lokomotive
Lokomotive is a 100% open-source, easy to use and secure Kubernetes distribution from the volks at Kinvolk
Stars: ✭ 233 (+1009.52%)
Mutual labels:  cluster, k8s
Fabrikate
Making GitOps with Kubernetes easier one component at a time
Stars: ✭ 263 (+1152.38%)
Mutual labels:  cluster, kubernetes-cluster
K8s Tew
Kubernetes - The Easier Way
Stars: ✭ 269 (+1180.95%)
Mutual labels:  cluster, k8s

This project was deprecated: use IRIS

Codefresh build status

Kube watch

Simple tool that watch on events from your Kubernetes cluster and push them as webhooks

Install

go get github.com/codefresh-io/kube-watch

Run

Get you test hebhook url from https://webhook.site Run kube-watch run --url {url} to start watching on events across all namespaces from you current-context in ~/.kube/config

More functionallity

kube watch run --help

   --kube-config value        (default: "$HOME/.kube/config")
   --url value                Url where to sent the hook
   --slack-channel-url value  Sent event to slack channel url
   --watch-type value         Type of event to watch on (Warning, Normal) (default: "ALL")
   --watch-kind value         Kind of K8S resource to watch on (Pod, Service). Alias not supported (default: "ALL")

Run in docker container

docker run -v ~/.kube/config:/config codefresh/kubewatch run --url {url} --kube-config /config

Install kube-watch in your cluster

Run kube-watch install will apply new deployment in the default namespace of cluster in current-context. Optional to pass any flag same as kube-watch run and they will be applied The applied deployment looks like:

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  labels:
    app: kube-watch
  name: kube-watch
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kube-watch
  template:
    metadata:
      labels:
        app: kube-watch
    spec:
      containers:
      - args:
        - run
        - --in-cluster
        # And all flags passed to `kube-watch run` command
        image: codefresh/kubewatch:master
        imagePullPolicy: Always
        name: kube-watch

Todo:

  • Tests!
  • Supoort install on different namespaces
  • Add update/uninstall commands to update the image and remove the deployment
  • Support more integrations
  • Support more complexity
  • Support secret to be added in request header
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].