Installation Guide
Prerequisites
- Kubernetes 1.24+ or OpenShift 4.x
- Helm 3.x
- Permission to create a Role/RoleBinding in the target namespace (the chart creates them for you)
Installing via Helm
The chart is published to a Helm repository hosted on GitHub Pages.
-
Add the repository:
-
Install the chart:
-
Verify the installation:
Installing from source
Alternatively, install straight from a clone of the repository:
git clone https://github.com/ivseb/smart-proxy.git
cd smart-proxy
helm install smart-proxy ./charts/smart-proxy --namespace smart-proxy --create-namespace
Customizing the deployment
All options are documented in charts/smart-proxy/values.yaml. A ready-to-edit production example (OpenShift Route + persistence) is provided in charts/smart-proxy/values.example.yaml:
helm install smart-proxy ./charts/smart-proxy \
--namespace my-namespace --create-namespace \
-f charts/smart-proxy/values.example.yaml
Common overrides:
| Value | Description | Default |
|---|---|---|
image.tag | Image tag to deploy (pin a release in production). | chart appVersion |
config.logLevel | debug, info or error. | info |
rbac.openshiftRoutes | Grant permissions on OpenShift Routes. Set false on vanilla Kubernetes. | true |
route.enabled | Expose the admin dashboard via an OpenShift Route. | false |
ingress.enabled | Expose the admin dashboard via a Kubernetes Ingress. | false |
persistence.enabled | Use a PersistentVolumeClaim instead of an ephemeral emptyDir. | false |
See the Configuration Reference for the full list of environment variables and annotations.
Local Development (Docker Desktop)
For a full local environment with Smart Proxy and a demo application, use the setup script:
- Ensure Docker Desktop is running with Kubernetes enabled.
-
Run the setup script:
This script will:- Build the Docker image locally.
- Deploy Smart Proxy plus a demo Frontend/Backend/Redis application.
- Configure local Ingress resources.
-
Access the Dashboard:
- Add
127.0.0.1 admin.localto your/etc/hosts. - Visit
http://admin.local.
- Add
Docker Image
The image is published on Docker Hub: