netris-controller
by Netris Inc.
Helm chartv2.8.2App 4.6.0.2
A Helm chart for netris-controller
About this chart
Netris Controller Helm Chart
- Installs the automatic NetOps platform Netris Controller
Prerequisites
- Kubernetes 1.12+
- Helm 3.1+
- PV provisioner support in the underlying infrastructure
Get Repo Info
Add the Netris Helm repository:
helm repo add netrisai https://netrisai.github.io/charts
helm repo update
Installing the Chart
In order to install the Helm chart, you must follow these steps:
Create the namespace for netris-controller:
kubectl create namespace netris-controller
Install helm chart with netris-controller
helm install netris-controller netrisai/netris-controller \
--namespace netris-controller \
--set ingress.hosts={my.domain.com}
Uninstalling the Chart
To uninstall/delete the netris-controller helm release:
helm uninstall netris-controller
Configuration
The following table lists the configurable parameters of the netris-controller chart and their default values.
Common parameters
| Parameter | Description | Default |
|---|---|---|
nameOverride | String to partially override common.names.fullname template with a string (will prepend the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template with a string | "" |
serviceAccount.create | Create a serviceAccount for the deployment | true |
serviceAccount.name | Use the serviceAccount with the specified name | "" |
serviceAccount.annotations | Annotations to add to the service account | {} |
podAnnotations | Pod annotations | {} |
podSecurityContext | Pod Security Context | {} |
securityContext | Containers security context | {} |
resources | CPU/memory resource requests/limits | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Node tolerations for pod assignment | [] |
affinity | Node affinity for pod assignment | {} |
Netris-Controller common parameters
| Parameter | Description | Default |
|---|---|---|
netris.webLogin | Netris Controller GUI default login | netris |
netris.webPassword | Netris Controller GUI default password | newNet0ps |
Netris-Controller ingress resources parameters
| Parameter | Description | Default |
|---|---|---|
ingress.enabled | Enables Ingress | true |
ingress.annotations | Ingress annotations (values are templated) | {} |
ingress.labels | Custom labels | {} |
ingress.path | Ingress accepted path | / |
ingress.pathType | Ingress type of path | Prefix |
ingress.hosts | Ingress accepted hostnames | ["chart-example.local"] |
ingress.tls | Ingress TLS configuration | [] |
Netris-Controller web-service-backend parameters
| Parameter | Description | Default |
|---|---|---|
web-service-backend.replicaCount | Number of replicas in web-service-backend deployment | 1 |
web-service-backend.image.repository | Image repository | netrisai/controller-web-service-backend |
web-service-backend.image.tag | Image tag. Overrides the image tag whose default is the chart appVersion | "4.6.0-008" |
web-service-backend.image.pullPolicy | Image pull policy | IfNotPresent |
web-service-backend.imagePullSecrets | Reference to one or more secrets to be used when pulling images | [] |
web-service-backend.service.type | Kubernetes service type | ClusterIP |
web-service-backend.service.port | Kubernetes port where service is expose | 80 |
web-service-backend.service.portName | Name of the port on the service | http |
web-service-backend.autoscaling.enabled | Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics | false |
web-service-backend.autoscaling.minReplicas | Default min replicas for autoscaling | 1 |
web-service-backend.autoscaling.maxReplicas | Default max replicas for autoscaling | 100 |
web-service-backend.autoscaling.targetCPUUtilizationPercentage | The desired target CPU utilization for autoscaling | 80 |
web-service-backend.nodeOptions | A space-separated list of Node.js command-line options | --max-old-space-size=8192 |
Netris-Controller web-service-frontend parameters
| Parameter | Description | Default |
|---|---|---|
web-service-frontend.replicaCount | Number of replicas in web-service-frontend deployment | 1 |
web-service-frontend.image.repository | Image repository | netrisai/controller-web-service-frontend |
web-service-frontend.image.tag | Image tag. Overrides the image tag whose default is the chart appVersion | "4.6.0-013" |
web-service-frontend.image.pullPolicy | Image pull policy | IfNotPresent |
web-service-frontend.imagePullSecrets | Reference to one or more secrets to be used when pulling images | [] |
web-service-frontend.service.type | Kubernetes service type | ClusterIP |
web-service-frontend.service.port | Kubernetes port where service is expose | 80 |
web-service-frontend.service.portName | Name of the port on the service | http |
web-service-frontend.autoscaling.enabled | Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics | false |
web-service-frontend.autoscaling.minReplicas | Default min replicas for autoscaling | 1 |
web-service-frontend.autoscaling.maxReplicas | Default max replicas for autoscaling | 100 |
web-service-frontend.autoscaling.targetCPUUtilizationPercentage | The desired target CPU utilization for autoscaling | 80 |
Netris-Controller grpc parameters
| Parameter | Description | Default |
|---|---|---|
grpc.replicaCount | Number of replicas in grpc deployment | 1 |
grpc.image.repository | Image repository | netrisai/controller-grpc |
grpc.image.tag | Image tag. Overrides the image tag whose default is the chart appVersion | "4.6.0.007" |
grpc.image.pullPolicy | Image pull policy | IfNotPresent |
grpc.imagePullSecrets | Reference to one or more secrets to be used when pulling images | [] |
grpc.service.type | Kubernetes service type | ClusterIP |
grpc.service.port | Kubernetes port where service is expose | 443 |
grpc.service.portName | Name of the port on the service |
Deploy netris-controller with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has netris-controller 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 chartnetris-controller is pinned at v2.8.2 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