velero-ui
by OTWLD
A Helm chart for Velero UI
About this chart
Velero UI Helm Chart
A fully realtime lightweight dashboard interface to interact with Velero (vmware-tanzu).
This Chart is for deploying Velero UI, please read the documentation.
Requirements
- Kubernetes:
>= 1.16.0-0
Deploying Velero UI chart
To install the velero-ui chart in the velero-ui namespace:
helm repo add otwld https://helm.otwld.com/
helm repo update
helm install velero-ui otwld/velero-ui --namespace velero-ui
Upgrading Velero UI chart
Make adjustments to your values as needed, then run helm upgrade:
# -- This pulls the latest version of the velero-ui chart from the repo.
helm repo update
helm upgrade velero-ui olwld/velero-ui --namespace velero-ui --values values.yaml
Uninstalling Velero UI chart
To uninstall/delete the velero-ui deployment in the velero-ui namespace:
helm delete velero-ui --namespace velero-ui
Substitute your values if they differ from the examples. See helm delete --help for a full reference on delete parameters and flags.
Health endpoints
The chart uses /health/live and /health/startup for local process checks.
/health/ready checks Kubernetes and Velero before the pod receives traffic.
Helm Values
- See values.yaml to see the Chart's default values.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity for pod assignment |
| autoscaling.enabled | bool | false | Enable autoscaling |
| autoscaling.maxReplicas | int | 100 | Number of maximum replicas |
| autoscaling.minReplicas | int | 1 | Number of minimum replicas |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | CPU usage to target replica |
| configuration.general.grafanaUrl | string | "" | Add an URL to a grafana Dashboard |
| configuration.general.secretPassPhrase.annotations | object | {} | Annotations to add to the secret |
| configuration.general.secretPassPhrase.existingSecret | string | "" | Name of a pre-existing secret (if any) |
| configuration.general.secretPassPhrase.key | string | "pass_phrase" | key in the secret containing the passphrase |
| configuration.general.secretPassPhrase.name | string | "" | Name of the secret to create if useSecret is true and existingSecret is empty |
| configuration.general.secretPassPhrase.useSecret | bool | true | Whether a secret should be used. |
| configuration.general.secretPassPhrase.value | string | "" | Required random JWT signing secret of at least 32 bytes unless existingSecret is configured. if useSecret is true and existingSecret is empty, this value will be stored in secret at first deployment |
| configuration.general.veleroNamespace | string | "velero" | Define the velero namespace By default velero is deployed in "velero" namespace |
| configuration.logLevel | string | "info" | Define the logger level Allowed values: debug, info, error |
| configuration.policies.annotations | object | {} | Annotations to add to the configMap |
| configuration.policies.enabled | bool | false | Whether to enable policies |
| configuration.policies.existingConfigMap | string | "" | Name of a pre-existing configMap (if any) |
| configuration.policies.key | string | "policies.csv" | key in the configMap containing the policies |
| configuration.policies.mountPath | string | "/policies" | Mount path for the configMap |
| configuration.policies.name | string | "" | Name of the configMap to create if useConfigMap is true and existingConfigMap is empty |
| configuration.policies.useConfigMap | bool | true | Whether a configMap should be used. |
| configuration.policies.value | string | "# Please refer to https://velero-ui.docs.otwld.com/ to configure policies\n# g,*,manage,all\n# u,*,manage,all\n" | Value of the policy file, this is a sample policy file if useConfigMap is true and existingSecret is empty, this value will be stored in secret at first deployment |
| env | list | [] | Additional environments variables on the output Deployment definition. Docs: https://velero-ui.docs.otwld.com/getting-started/environment-variables |
| envFrom | list | [] (See [values.yaml]) | envFrom to pass to all deployed Deployments. |
| extraArgs | list | [] | Additional arguments on the output Deployment definition. |
| fullnameOverride | string | "" | String to fully override template |
| httpRoute.annotations | object | {} | Additional annotations for the HTTPRoute resource. |
| httpRoute.enabled | bool | false | Enable Gateway API HTTPRoute resource |
| httpRoute.filters | list | [] | The filters applied to the HTTPRoute rule. |
| httpRoute.hostnames | list | ["velero-ui.local"] | The list of hostnames to be covered with this HTTPRoute record. |
| httpRoute.parentRefs | list | [] | The Gateways this HTTPRoute attaches to. Required when httpRoute.enabled is true. |
| httpRoute.path | string | "/" |
Deploy velero-ui with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has velero-ui on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartvelero-ui is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply