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

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

ParameterDescriptionDefault
nameOverrideString to partially override common.names.fullname template with a string (will prepend the release name)""
fullnameOverrideString to fully override common.names.fullname template with a string""
serviceAccount.createCreate a serviceAccount for the deploymenttrue
serviceAccount.nameUse the serviceAccount with the specified name""
serviceAccount.annotationsAnnotations to add to the service account{}
podAnnotationsPod annotations{}
podSecurityContextPod Security Context{}
securityContextContainers security context{}
resourcesCPU/memory resource requests/limits{}
nodeSelectorNode labels for pod assignment{}
tolerationsNode tolerations for pod assignment[]
affinityNode affinity for pod assignment{}

Netris-Controller common parameters

ParameterDescriptionDefault
netris.webLoginNetris Controller GUI default loginnetris
netris.webPasswordNetris Controller GUI default passwordnewNet0ps

Netris-Controller ingress resources parameters

ParameterDescriptionDefault
ingress.enabledEnables Ingresstrue
ingress.annotationsIngress annotations (values are templated){}
ingress.labelsCustom labels{}
ingress.pathIngress accepted path/
ingress.pathTypeIngress type of pathPrefix
ingress.hostsIngress accepted hostnames["chart-example.local"]
ingress.tlsIngress TLS configuration[]

Netris-Controller web-service-backend parameters

ParameterDescriptionDefault
web-service-backend.replicaCountNumber of replicas in web-service-backend deployment1
web-service-backend.image.repositoryImage repositorynetrisai/controller-web-service-backend
web-service-backend.image.tagImage tag. Overrides the image tag whose default is the chart appVersion"4.6.0-008"
web-service-backend.image.pullPolicyImage pull policyIfNotPresent
web-service-backend.imagePullSecretsReference to one or more secrets to be used when pulling images[]
web-service-backend.service.typeKubernetes service typeClusterIP
web-service-backend.service.portKubernetes port where service is expose80
web-service-backend.service.portNameName of the port on the servicehttp
web-service-backend.autoscaling.enabledOption to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metricsfalse
web-service-backend.autoscaling.minReplicasDefault min replicas for autoscaling1
web-service-backend.autoscaling.maxReplicasDefault max replicas for autoscaling100
web-service-backend.autoscaling.targetCPUUtilizationPercentageThe desired target CPU utilization for autoscaling80
web-service-backend.nodeOptionsA space-separated list of Node.js command-line options--max-old-space-size=8192

Netris-Controller web-service-frontend parameters

ParameterDescriptionDefault
web-service-frontend.replicaCountNumber of replicas in web-service-frontend deployment1
web-service-frontend.image.repositoryImage repositorynetrisai/controller-web-service-frontend
web-service-frontend.image.tagImage tag. Overrides the image tag whose default is the chart appVersion"4.6.0-013"
web-service-frontend.image.pullPolicyImage pull policyIfNotPresent
web-service-frontend.imagePullSecretsReference to one or more secrets to be used when pulling images[]
web-service-frontend.service.typeKubernetes service typeClusterIP
web-service-frontend.service.portKubernetes port where service is expose80
web-service-frontend.service.portNameName of the port on the servicehttp
web-service-frontend.autoscaling.enabledOption to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metricsfalse
web-service-frontend.autoscaling.minReplicasDefault min replicas for autoscaling1
web-service-frontend.autoscaling.maxReplicasDefault max replicas for autoscaling100
web-service-frontend.autoscaling.targetCPUUtilizationPercentageThe desired target CPU utilization for autoscaling80

Netris-Controller grpc parameters

ParameterDescriptionDefault
grpc.replicaCountNumber of replicas in grpc deployment1
grpc.image.repositoryImage repositorynetrisai/controller-grpc
grpc.image.tagImage tag. Overrides the image tag whose default is the chart appVersion"4.6.0.007"
grpc.image.pullPolicyImage pull policyIfNotPresent
grpc.imagePullSecretsReference to one or more secrets to be used when pulling images[]
grpc.service.typeKubernetes service typeClusterIP
grpc.service.portKubernetes port where service is expose443
grpc.service.portNameName 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnetris-controller is pinned at v2.8.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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