freeradius
by SVTECH-NMAA
FreeRADIUS is a modular, high performance free RADIUS suite developed and distributed under the GNU General Public License, version 2, and is free for download and use.
About this chart
Helm chart for FreeRADIUS
FreeRADIUS is a modular, high performance free RADIUS suite developed and distributed under the GNU General Public License, version 2, and is free for download and use.
This chart is not maintained by the upstream project and any issues with the chart should be raised here
TL;DR
$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release startechnica/freeradius
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release on my-release namespace:
$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release startechnica/freeradius --namespace my-release --create-namespace
These commands deploy FreeRADIUS on the Kubernetes cluster in the default configuration.
Tip: List all releases using
helm list -A
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release --namespace my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override freeradius.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override freeradius.fullname template | "" |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Extra objects to deploy (value evaluated as a template) | [] |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
FreeRADIUS parameters
| Name | Description | Value |
|---|---|---|
image.registry | FreeRADIUS image registry | docker.io |
image.repository | FreeRADIUS image repository | startechnica/freeradius |
image.tag | FreeRADIUS image tag (immutable tags are recommended) | 1.21.5-debian-10-r3 |
image.pullPolicy | FreeRADIUS image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Set to true if you would like to see extra information on logs | false |
hostAliases | Deployment pod host aliases | [] |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | Extra environment variables to be set on FreeRADIUS containers | [] |
extraEnvVarsCM | ConfigMap with extra environment variables | "" |
extraEnvVarsSecret | Secret with extra environment variables | "" |
FreeRADIUS deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of FreeRADIUS replicas to deploy | 1 |
podLabels | Additional labels for FreeRADIUS pods | {} |
podAnnotations | Annotations for FreeRADIUS pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment. Evaluated as a template. | {} |
tolerations | Tolerations for pod assignment. Evaluated as a template. | {} |
priorityClassName | Priority class name | "" |
podSecurityContext.enabled | Enabled FreeRADIUS pods' Security Context | false |
podSecurityContext.fsGroup | Set FreeRADIUS pod's Security Context fsGroup | 1001 |
podSecurityContext.sysctls | sysctl settings of the FreeRADIUS pods | [] |
containerSecurityContext.enabled | Enabled FreeRADIUS containers' Security Context | false |
containerSecurityContext.runAsUser | Set FreeRADIUS container's Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | Set FreeRADIUS container's Security Context runAsNonRoot | true |
containerPorts.http | Sets http port inside FreeRADIUS container | 8080 |
containerPorts.https | Sets https port inside FreeRADIUS container | "" |
resources.limits | The resources limits for the FreeRADIUS container | {} |
resources.requests | The requested resources for the FreeRADIUS container | {} |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 30 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe | true |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 5 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 3 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 3 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
customLivenessProbe | Override default liveness probe | {} |
customReadinessProbe | Override default readiness probe | {} |
autoscaling.enabled | Enable autoscaling for FreeRADIUS deployment | false |
autoscaling.minReplicas | Minimum number of replicas to scale back | "" |
autoscaling.maxReplicas | Maximum number of replicas to scale out | "" |
autoscaling.targetCPU | Target CPU utilization percentage | "" |
autoscaling.targetMemory | Target Memory utilization percentage | "" |
extraVolumes | Array to add extra volumes | [] |
extraVolumeMounts | Array to add extra mount | [] |
serviceAccount.create | Enable creation of ServiceAccount for freeradius pod | false |
serviceAccount.name | The name of the ServiceAccount to use. | "" |
serviceAccount.annotations | Annotations for service account. Evaluated as a template. | {} |
serviceAccount.autoMount | Auto-mount the service account token in the pod | false |
sidecars | Sidecar parameters | [] |
sidecarSingleProcessNamespace | Enable sharing the process namespace with sidecars | false |
initContainers | Extra init containers | [] |
pdb.create | Created a PodDisruptionBudget | false |
pdb.minAvailable | Min number of pods that must still be available after the eviction | 1 |
pdb.maxUnavailable | Max number of pods that can be unavailable after the eviction | 0 |
Custom FreeRADIUS application parameters
| Name | Description | Value |
|---|---|---|
modsEnabled.enabled | Get the server static content from a Git repository | true |
sitesEnabled.status.port | Git image registry | 18121 |
sitesEnabled.status.secret | Git image repository | adminsecret |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
$ helm install my-release \
--set imagePullPolicy=Always \
startechnica/freeradius
The above command sets the imagePullPolicy to Always.
Alternatively, a YAML file that specifies the values for the paramet
Deploy freeradius with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has freeradius 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 chartfreeradius is pinned at v0.2.11 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