# Standalone Installation The `capsule-proxy` can be deployed in standalone mode, e.g. running as a pod bridging any Kubernetes client to the `kube-apiserver`. Use this way to provide access to client-side command line tools like `kubectl` or even client-side dashboards. You can use an Ingress Controller to expose the `capsule-proxy` endpoint in SSL passthrough, or,depending on your environment, you can expose it with either a `NodePort`, or a `LoadBalancer` service. As further alternatives, use `HostPort` or `HostNetwork` mode. ``` +-----------+ +-----------+ +-----------+ kubectl ------>|:443 |--------->|:9001 |-------->|:6443 | +-----------+ +-----------+ +-----------+ ingress-controller capsule-proxy kube-apiserver (ssl-passthrough) ``` ## Configure Capsule Make sure to have a working instance of the Capsule Operator in your Kubernetes cluster before to attempt to use `capsule-proxy`. Please, refer to the Capsule Operator [documentation](../operator/overview.md) for instructions. You should also have one or more tenants defined, e.g. `oil` and `gas` and they are assigned to the user `alice`. As cluster admin, check there are the tenants: ``` $ kubectl get tenants NAME NAMESPACE QUOTA NAMESPACE COUNT OWNER NAME OWNER KIND AGE foo 3 1 joe User 4d gas 3 0 alice User 1d oil 9 0 alice User 1d ``` ## Install Capsule Proxy Create a secret in the target namespace containing the SSL certificate which `capsule-proxy` will use. ``` $ kubectl -n capsule-system create secret tls capsule-proxy --cert=tls.cert --key=tls.key ``` Then use the Helm Chart to install the `capsule-proxy` in such namespace: ```bash $ cat <