stunner-gateway-operator
STUNner Kubernetes Gateway Operator
About this chart
STUNner
The Helm chart of STUNner: A Kubernetes media gateway for WebRTC.
Note
The official documentation for the STUNner installation methods is in the repository of STUNner. For further information, see the documentation.
Installation
This chart is the recommended way to deploy the STUNner ecosystem into your cluster.
The below will install the stable version of STUNner. In particular, the this will install only the STUNner control plane, i.e., the gateway operator and the authentication service, the dataplane will be automatically provisioned by the operator when needed (but see below). We recommend to use the stunner-system namespace to keep the full STUNner control plane in a single scope.
helm install stunner-gateway-operator stunner/stunner-gateway-operator --create-namespace \
--namespace=stunner-system
And that's all: you don't need to install the dataplane separately, this is handled automatically by the operator. The stunnerd pods created by the operator can be customized using the Dataplane custom resource: you can specify the stunnerd container image version, provision resources per each stunnerd pod, deploy into the host network namespace, etc.; see the documentation here.
Parameters
STUNner Gateway operator
| Name | Description | Value |
|---|---|---|
stunnerGatewayOperator.enabled | If enabled, the operator will be installed. | true |
stunnerGatewayOperator.deployment.name | Name of the deployment for the operator. | stunner-gateway-operator |
stunnerGatewayOperator.deployment.podLabels | Labels for the deployment pods. | {} |
stunnerGatewayOperator.deployment.tolerations | Tolerations for pod assignment. | [] |
stunnerGatewayOperator.deployment.nodeSelector | Node labels for pod assignment. | {} |
stunnerGatewayOperator.deployment.imagePullSecrets | Image pull secrets for the image. | [] |
stunnerGatewayOperator.deployment.container | Container configuration values. | |
stunnerGatewayOperator.deployment.container.manager | Configuration values for the STUNner Gateway Operator container. | |
stunnerGatewayOperator.deployment.container.manager.image.name | The name of the image to use. | docker.io/l7mp/stunner-gateway-operator |
stunnerGatewayOperator.deployment.container.manager.image.pullPolicy | The pull policy for the image. | IfNotPresent |
stunnerGatewayOperator.deployment.container.manager.image.tag | The tag for the image. | 1.0.0 |
stunnerGatewayOperator.deployment.container.manager.resources.limits.cpu | CPU limits for the container. | 1000m |
stunnerGatewayOperator.deployment.container.manager.resources.limits.memory | Memory limits for the container. | 512Mi |
stunnerGatewayOperator.deployment.container.manager.resources.requests.cpu | CPU requests for the container. | 250m |
stunnerGatewayOperator.deployment.container.manager.resources.requests.memory | Memory requests for the container. | 128Mi |
stunnerGatewayOperator.deployment.container.manager.args | Arguments for the container. | [] |
Dataplane
Default dataplane configuration for the operator to use. See more here.
| Name | Description | Value |
|---|---|---|
stunnerGatewayOperator.dataplane.mode | Mode to use for the deployment of the dataplane. Can be either managed or legacy. Read about the modes here. | managed |
stunnerGatewayOperator.dataplane.spec.replicas | The replica number of the dataplane to be deployed. | 1 |
stunnerGatewayOperator.dataplane.spec.image.name | The name of the image to use for the dataplane. | docker.io/l7mp/stunnerd |
stunnerGatewayOperator.dataplane.spec.image.pullPolicy | The pull policy for the image. | IfNotPresent |
stunnerGatewayOperator.dataplane.spec.image.tag | The tag for the image. | 1.0.0 |
stunnerGatewayOperator.dataplane.spec.imagePullSecrets | Image pull secrets for the image. | [] |
stunnerGatewayOperator.dataplane.spec.command | The command for the image to run on startup. | [] |
stunnerGatewayOperator.dataplane.spec.args | The arguments for the image to use with the command. | [] |
stunnerGatewayOperator.dataplane.spec.env | Environment variables to set for the image. | [] |
stunnerGatewayOperator.dataplane.spec.resources.limits.cpu | CPU limits for the container. | 2 |
stunnerGatewayOperator.dataplane.spec.resources.limits.memory | Memory limits for the container. | 512Mi |
stunnerGatewayOperator.dataplane.spec.resources.requests.cpu | CPU requests for the container. | 500m |
stunnerGatewayOperator.dataplane.spec.resources.requests.memory | Memory requests for the container. | 128Mi |
stunnerGatewayOperator.dataplane.spec.terminationGracePeriodSeconds | Period in seconds to use for graceful shutdown. | 3600 |
stunnerGatewayOperator.dataplane.spec.enableMetricsEndpoint | Enable metrics endpoint in the deployed stunner instance. | false |
stunnerGatewayOperator.dataplane.spec.hostNetwork | Enable host networking in the deployed stunner instance. | false |
stunnerGatewayOperator.dataplane.spec.labels | Labels to be applied to the deployed stunner instance. | {} |
stunnerGatewayOperator.dataplane.spec.annotations | Annotations to be applied to the deployed stunner instance. | {} |
stunnerGatewayOperator.dataplane.spec.affinity | Affinity settings for the deployed stunner instance. | {} |
stunnerGatewayOperator.dataplane.spec.securityContext | Security context for the deployed stunner instance. | {} |
stunnerGatewayOperator.dataplane.spec.containerSecurityContext | Security context for the container. | {} |
stunnerGatewayOperator.dataplane.spec.tolerations | Tolerations for pod assignment. | [] |
STUNner Authentication Service
Default configuration for the authentication service to be deployed. See more the authentication in STUNner here.
| Name | Description | Value |
|---|---|---|
stunnerAuthService.enabled | If enabled, the authentication service will be deployed. | true |
stunnerAuthService.deployment.podLabels | Labels for the auth service pods. | {} |
stunnerAuthService.deployment.tolerations | Tolerations for pod assignment. | [] |
stunnerAuthService.deployment.replicas | Replicas for the auth-service deployment. | 1 |
stunnerAuthService.deployment.nodeSelector | Node labels for pod assignment. | |
stunnerAuthService.deployment.imagePullSecrets | Image pull secrets for the auth service image. | [] |
stunnerAuthService.deployment.container.authService.securityContext | Security context for the auth-service pod. | {} |
stunnerAuthService.deployment.container.authService.image.name | The name of the image to use. | docker.io/l7mp/stunner-auth-server |
stunnerAuthService.deployment.container.authService.image.pullPolicy | The pull policy for the image. | IfNotPresent |
stunnerAuthService.deployment.container.authService.image.tag | The tag for the image. | 1.0.0 |
stunnerAuthService.deployment.container.authService.resources.limits.cpu | CPU limits for the container. | 200m |
stunnerAuthService.deployment.container.authService.resources.limits.memory | Memory limits for the container. | 128Mi |
| `stunnerAuthService.deployment.container.authService.reso |
Deploy stunner-gateway-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has stunner-gateway-operator 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 chartstunner-gateway-operator is pinned at v1.1.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