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
Generate strong auth key
export mystrongauthkey=$(date |base64 | md5sum | base64 | head -c 32)
Install helm chart with netris-controller
helm install netris-controller netrisai/netris-controller \
--namespace netris-controller \
--set app.ingress.hosts={my.domain.com} \
--set netris.authKey=$mystrongauthkey
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 |
---|---|---|
|
String to partially override common.names.fullname template with a string (will prepend the release name) |
|
|
String to fully override common.names.fullname template with a string |
|
|
Create a serviceAccount for the deployment |
|
|
Use the serviceAccount with the specified name |
|
|
Annotations to add to the service account |
|
|
Pod annotations |
|
|
Pod Security Context |
|
|
Containers security context |
|
|
CPU/memory resource requests/limits |
|
|
Node labels for pod assignment |
|
|
Node tolerations for pod assignment |
|
|
Node affinity for pod assignment |
|
Netris-Controller common parameters¶
Parameter |
Description |
Default |
---|---|---|
|
Netris Controller GUI default login |
|
|
Netris Controller GUI default password |
|
|
Netris Controller agents authentication key |
|
Netris-Controller app parameters¶
Parameter |
Description |
Default |
---|---|---|
|
Number of replicas in app deployment |
|
|
Image repository |
|
|
Image tag. Overrides the image tag whose default is the chart appVersion |
|
|
Image pull policy |
|
|
Reference to one or more secrets to be used when pulling images |
|
|
Kubernetes service type |
|
|
Kubernetes port where service is expose |
|
|
Name of the port on the service |
|
|
Enables Ingress |
|
|
Ingress annotations (values are templated) |
|
|
Custom labels |
|
|
Ingress accepted path |
|
|
Ingress type of path |
|
|
Ingress accepted hostnames |
|
|
Ingress TLS configuration |
|
|
Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics |
|
|
Default min replicas for autoscaling |
|
|
Default max replicas for autoscaling |
|
|
The desired target CPU utilization for autoscaling |
|
Netris-Controller grpc parameters¶
Parameter |
Description |
Default |
---|---|---|
|
Number of replicas in grpc deployment |
|
|
Image repository |
|
|
Image tag. Overrides the image tag whose default is the chart appVersion |
|
|
Image pull policy |
|
|
Reference to one or more secrets to be used when pulling images |
|
|
Kubernetes service type |
|
|
Kubernetes port where service is expose |
|
|
Name of the port on the service |
|
|
Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics |
|
|
Default min replicas for autoscaling |
|
|
Default max replicas for autoscaling |
|
|
The desired target CPU utilization for autoscaling |
|
Netris-Controller telescope parameters¶
Parameter |
Description |
Default |
---|---|---|
|
Number of replicas in telescope deployment |
|
|
Image repository |
|
|
Image tag. Overrides the image tag whose default is the chart appVersion |
|
|
Image pull policy |
|
|
Reference to one or more secrets to be used when pulling images |
|
|
Kubernetes service type |
|
|
Kubernetes port where service is expose |
|
|
Name of the port on the service |
|
|
Kubernetes secure port where service is expose |
|
|
Name of the secure port on the service |
|
|
Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics |
|
|
Default min replicas for autoscaling |
|
|
Default max replicas for autoscaling |
|
|
The desired target CPU utilization for autoscaling |
|
Netris-Controller k8s-watcher parameters¶
Parameter |
Description |
Default |
---|---|---|
|
Number of replicas in k8s-watcher deployment |
|
|
Image repository |
|
|
Image tag. Overrides the image tag whose default is the chart appVersion |
|
|
Image pull policy |
|
|
Reference to one or more secrets to be used when pulling images |
|
|
Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics |
|
|
Default min replicas for autoscaling |
|
|
Default max replicas for autoscaling |
|
|
The desired target CPU utilization for autoscaling |
|
Netris-Controller telescope-notifier parameters¶
Parameter |
Description |
Default |
---|---|---|
|
Number of replicas in telescope-notifier deployment |
|
|
Image repository |
|
|
Image tag. Overrides the image tag whose default is the chart appVersion |
|
|
Image pull policy |
|
|
Reference to one or more secrets to be used when pulling images |
|
|
Option to turn autoscaling on for app and specify params for HPA. Autoscaling needs metrics-server to access cpu metrics |
|
|
Default min replicas for autoscaling |
|
|
Default max replicas for autoscaling |
|
|
The desired target CPU utilization for autoscaling |
|
Mariadb parameters¶
Using default values from
Parameter |
Description |
Default |
---|---|---|
|
MariaDB image name. We extended bitnami’s mariadb image with own plugin |
|
|
MariaDB image tag. (only 10.1 is supported) |
|
|
ConfigMap with the initdb scripts. |
|
|
Name for a database to create |
|
|
Name for a user to create |
|
|
Password for the new user |
|
|
Password for the root user |
|
Auth from existing secret not supported at the momment
Mongodb parameters¶
Using default values from
Parameter |
Description |
Default |
---|---|---|
|
Use StatefulSet instead of Deployment when deploying standalone |
|
|
ConfigMap with the initdb scripts. |
|
|
Name for a database to create |
|
|
Name for a user to create |
|
|
Password for the new user |
|
|
Password for the root user |
|
Auth from existing secret not supported at the momment
Redis parameters¶
Using default values from
Parameter |
Description |
Default |
---|---|---|
|
Use master-slave topology |
|
|
Use password |
|
Auth not supported at the momment
Smtp parameters¶
Using default values from
Parameter |
Description |
Default |
---|---|---|
|
Disable IPv6 |
|
|
Relay networks. Change if your CNI use other subnets |
|
HAproxy parameters¶
Using default values from
Parameter |
Description |
Default |
---|---|---|
|
Enable HAProxy. Used for exposing netris agents ports from single loadbalancer ip. Disable if you can’t have type:LoadBalancer service in cluster |
|
|
Kubernetes service type |
|
Usage¶
Specify each parameter using the –set key=value[,key=value] argument to helm install. For example,
helm install netris-controller netrisai/netris-controller \
--namespace netris-controller \
--set app.ingress.hosts={my.domain.com} \
--set netris.authKey=$mystrongauthkey \
--set mariadb.auth.rootPassword=my-root-password \
--set mariadb.auth.password=my-password \
--set mongodb.auth.rootPassword=my-root-password \
--set mongodb.auth.password=my-password
The above command sets netris-controller application ingress host to my.domain.com
and sets generated netris.authKey. Additionally, it sets MariaDB and MongoDB root account password to my-root-password
and user account password to my-password
.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install netris-controller netrisai/netris-controller --namespace netris-controller -f values.yaml
After installation use EXTERNAL-IP
of haproxy service as --controller
parameter in netris-setup
kubectl get svc -nnetris-controller |grep haproxy
and $mystrongauthkey
as --auth
parameter in netris-setup
echo $mystrongauthkey
Also you can see overrides values from helm get values
helm get values netris-controller