All Projects → cilium → microscope

cilium / microscope

Licence: Apache-2.0 License
[DEPRECATED: See https://github.com/cilium/hubble/] Gather monitor data data from all cilium nodes in your cluster

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

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.

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].