netris-operator

by Netris Inc.

Helm chartv3.0.2App v4.0.2

A Helm chart for netris-operator

About this chart

Netris-Operator

Netris-operator runs within your Kubernetes cluster as a deployment resource. It utilizes CustomResourceDefinitions to configure netris cloud resources.

Prerequisites

  • Kubernetes 1.16+
  • Helm 3.1+

Installing the Chart

In order to install the Helm chart, you must follow these steps:

Create the namespace for netris-operator:

kubectl create namespace netris-operator

Add the Netris Helm repository:

helm repo add netrisai https://netrisai.github.io/charts

Update your local Helm chart repository cache:

helm repo update

Option 1: Creds from secret

  1. Create credentials secret for netris-operator:
kubectl -n netris-operator create secret generic netris-creds \
  --from-literal=host="http://example.com" \
  --from-literal=login="login" --from-literal=password="pass"
  1. Install helm chart
helm install netris-operator netrisai/netris-operator \
--namespace netris-operator

Option 2: Creds from helm values

  1. Install helm chart with netris controller creds
helm install netris-operator netrisai/netris-operator \
--namespace netris-operator \
--set controller.host="http://example.com" \
--set controller.login="login" \
--set controller.password="pass"

Uninstalling the Chart

To uninstall/delete the netris-operator helm release:

helm uninstall netris-operator

Configuration

The following table lists the configurable parameters of the netris-operator chart and their default values.

Common parameters

ParameterDescriptionDefault
nameOverrideString to partially override common.names.fullname template with a string (will prepend the release name)nil
fullnameOverrideString to fully override common.names.fullname template with a stringnil
rbac.createSpecify if an rbac authorization should be created with the necessarry Rolebindingstrue
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{}
service.typekube-rbac-proxy Service typeClusterIP
service.portkube-rbac-proxy Service port8443
resourcesCPU/memory resource requests/limits{}
nodeSelectorNode labels for pod assignment{}
tolerationsNode tolerations for pod assignment[]
affinityNode affinity for pod assignment{}

Netris-Operator parameters

ParameterDescriptionDefault
imagePullSecretsReference to one or more secrets to be used when pulling images[]
image.repositoryImage repositorynetrisai/netris-operator
image.tagImage tag. Overrides the image tag whose default is the chart appVersion""
image.pullPolicyImage pull policyAlways
controller.hostNetris controller host url (http://example.com)""
controller.loginNetris controller login""
controller.passwordNetris controller password""
controller.insecureAllow insecure server connections when using SSLfalse
controllerCreds.host.secretNameName of existing secret to use for Netris controller host. Ignored if controller.host is setnetris-creds
controllerCreds.host.keyNetris controller host key in existing secret. Ignored if controller.host is sethost
controllerCreds.login.secretNameName of existing secret to use for Netris controller login. Ignored if controller.login is setnetris-creds
controllerCreds.login.keyNetris controller login key in existing secret. Ignored if controller.login is setlogin
controllerCreds.password.secretNameName of existing secret to use for Netris controller password. Ignored if controller.password is setnetris-creds
controllerCreds.password.keyNetris controller password key in existing secret. Ignored if controller.password is setpassword
logLevelLog level of netris-operator. Allowed values: info or debuginfo
requeueIntervalRequeue interval in seconds for the netris-operator15
calicoASNRangeSet Nodes ASN range. Used when Netris-Operator manages Calico CNI4230000000-4239999999
l4lbTenantSet the default Tenant for L4LB resources. If set, a tenant autodetection for L4LB resources will be disabled""
vpcidSet the VPC ID (integer) where to create LB1

Deploy netris-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has netris-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnetris-operator is pinned at v3.0.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