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.

Source Distribution

cilium-microscope-1.1.1.tar.gz (13.8 kB view details)

Uploaded Source

File details

Details for the file cilium-microscope-1.1.1.tar.gz.

File metadata

  • Download URL: cilium-microscope-1.1.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for cilium-microscope-1.1.1.tar.gz
Algorithm Hash digest
SHA256 ae60f535d114a63d087d13d1a380c799dc9e150ff89565143be528095f02c202
MD5 2c4ab2caa7a71afbcafc8ff4e00d5f03
BLAKE2b-256 900ed523ccb03717204d2f54a23a21afe495f85c0fdf895000e9b1a1b9f51332

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page