#kubernetes #k8s #hyper

bin+lib scuttlebutt

A Rust interface for kubernetes events

3 unstable releases

Uses old Rust 2015

0.2.0 Apr 26, 2017
0.1.1 Sep 9, 2016
0.1.0 Sep 7, 2016

#36 in #k8s

MIT license

191 lines

scuttlebutt Build Status Coverage Status Software License crates.io

Listen in on all the gossip going on in your kubernetes cluster



Add the following to your Cargo.toml file

scuttlebutt = "0.2"


Central to scuttlebutt is a cluster. Clusters provide an interface for feeding off of kubernetes events via a Receiver.

The default use case is to connect to a kubernetes cluster behind kube-proxy. This interface may be extended to run outside a cluster with a set of kubeconfig credentials in the future.

extern crate scuttlebutt;
use scuttlebutt::{Cluster, Events};

fn main() {
    match Cluster::new().events() {
           Ok(events) => {
               for e in events.into_iter() {
                   println!("{:#?}", e)
           Err(e) => println!("{:#?}", e),

Doug Tangren (softprops) 2016-2017


~176K SLoC