Skip to main content

An urwid-based interface for watching `cilium monitor` events across your cluster

Project description

Cilium Microscope Logo

Cilium Microscope

Cilium microscope allows you to see cilium monitor output from all your cilium nodes. This allows you to have one simple to use command to interact with your cilium nodes within k8s cluster.

Running microscope in your Kubernetes cluster

kubectl create -f https://raw.githubusercontent.com/cilium/microscope/master/docs/microscope.yaml will create a pod in your kube-system namespace to which you can connect to run microscope with kubectl exec -it -n kube-system microscope sh. This will also create RBAC objects which microscope needs in order to do its work.

Alternatively, you can use kubectl run -i --tty microscope --image cilium/microscope --restart=Never -- sh. This won’t work if you have RBAC enabled in your cluster.

In any case you will end up with a shell inside microscope pod. microscope -h inside this shell will show microscope help.

Running microscope locally

To run microscope locally, you need to have Python 3.5 or newer installed. Using virtualenv is recommended, but not necessary.

microscope is available as a package in PyPI, so all you need to do is run pip install cilium-microscope. microscope executable should be available in your path.

Alternatively you can run make to build self-contained Python archive which will container all dependencies and requires only Python to run.

The archive will be located in dist/microscope.pyz, and should be executable directly.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cilium-microscope, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cilium-microscope-1.1.1.tar.gz (13.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page