An urwid-based interface for watching `cilium monitor` events across your cluster
Project description
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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cilium-microscope-0.1.10.tar.gz
.
File metadata
- Download URL: cilium-microscope-0.1.10.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3490aac4d4ab4c5c4ed937ee91b9fca2265629f86964b8482fbe9f6f78c5087 |
|
MD5 | 6ff6966dbd6d6e4fb7d1e4daab224e93 |
|
BLAKE2b-256 | 91d719168934dc7605c2442c8055060befb8f9f3b548bcd895824bb28ec16b4e |