This is a Lens extension for the Capsule Operator which provides advanced multi-tennancy and policy control on your Kubernetes cluster.
This guide shows how to install the extension either from from pre-built release or source.
- Lens minimum 5.3.0 should first be installed on your workstation.
- Follow the Capsule Getting Started guide to understand how to install the Capsule Operator in your Kubernetes cluster.
- Optionally, install the Capsule Proxy for an enhanced user experience for your tenant users.
Lens extension for Capsule provides the tarball-file that can be manually downloaded and installed. Alternatively, you can copy the download URL of the release artifact to paste it in the Manage Lens Extensions page.
- Download your desired version from GitHub release page. Alternatively, just copy the download URL of the release artefact.
- Open Lens application and select Lens menu, and then click Extensions item, or press Shift + Command + E to open the Manage Lens Extensions page.
- Specify the path of the extension package
.tar
,.tgz
or the download URL and click Install. - If everything is fine, you'll see the
@clastix/capsule-lens-extension
extension listed under Installed Extensions. Click Enable to enable it. - Close the Manage Lens Extensions page and verify that the Capsule menu item shows up in the main Lens menu.
- Clone this repo.
make build && make install
to build the extension and create a symlink.- Enable the extension in Lens Extensions as above.
- Install the extension by following the steps above.
make dev
to start webpack process in watch mode.- Press Ctrl+R in Lens to reload the extension after making changes.
With Capsule extension for Lens, a cluster administrator can easly manage from a single pane of glass all resources of a Kubernetes cluster, including all the Tenants created through the Capsule Operator. Please, refer to the documentation about how Capsule can help to address multi-tanancy and policy control on your Kubernetes cluster.
List all tenants:
See the deatils of each tenant and change it through the embedded Lens editor:
Check the resources usage and quota at both the tenant and namespace level:
If you installed the Capsule Proxy, each tenant user can see only the namespaces he has access: