canis-major

by FIWARE Foundation

Helm chartv0.3.0App 1.5.15

A Helm chart for running canis major on kubernetes.

About this chart

canis-major

A Helm chart for running canis major on kubernetes.

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

Kubernetes: >= 1.19-0

RepositoryNameVersion
https://fiware.github.io/helm-chartscommon0.1.2

Values

KeyTypeDefaultDescription
additonalEnvVarslist[]a list of additional env vars to be set, check the canis-major docu for all available options
autoscaling.enabledboolfalse
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
deployment.additionalAnnotationsobject{}additional annotations for the deployment, if required
deployment.additionalLabelsobject{}additional labels for the deployment, if required
deployment.affinityobject{}affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
deployment.defaultAccountobject{"enabled":true,"privateKey":""}configuration for the default account to be used in case no wallet information is provided
deployment.defaultAccount.enabledbooltrueshould a default account be used
deployment.ethereumobject{"contractAddress":"0x476059cd57800db8eb88f67c2aa38a6fcf8251e0","dltAddress":"http://15.236.0.91:22000","enabled":true,"gas":3000000,"gasPrice":0}configuration to be used when connecting with an ethereum compatible blockchain
deployment.ethereum.contractAddressstring"0x476059cd57800db8eb88f67c2aa38a6fcf8251e0"address of the contract to be used
deployment.ethereum.dltAddressstring"http://15.236.0.91:22000"address of a blockchain node
deployment.ethereum.enabledbooltrueshould canis-major connect to an ethereum blockchain
deployment.ethereum.gasint3000000gas to be used for the transactions
deployment.ethereum.gasPriceint0price of the gas
deployment.healthPortint9090port to request health information at
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"quay.io/fiware/canis-major"canis-major image name ref: https://quay.io/repository/fiware/canis-major
deployment.image.tagstring"1.5.15"tag of the image to be used
deployment.livenessProbe.failureThresholdint3
deployment.livenessProbe.initialDelaySecondsint30
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
deployment.ngsiobject{"path":"ngsi-ld/v1","tenant":"default","url":"http://ngsi-ld-broker:1026"}configuration for connecting the ngsi-ld api
deployment.ngsi.pathstring"ngsi-ld/v1"path to be used as base
deployment.ngsi.tenantstring"default"tenant to be used with the api
deployment.ngsi.urlstring"http://ngsi-ld-broker:1026"url that ngsi-ld is available at
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
deployment.priorityClassNamestring""priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
deployment.readinessProbe.failureThresholdint3
deployment.readinessProbe.initialDelaySecondsint31
deployment.readinessProbe.periodSecondsint10
deployment.readinessProbe.successThresholdint1
deployment.readinessProbe.timeoutSecondsint30
deployment.replicaCountint1initial number of target replications, can be different if autoscaling is enabled
deployment.revisionHistoryLimitint3number of old replicas to be retained
deployment.tolerationslist[]tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
deployment.topologySpreadConstraintslist[]topology spread constraints template ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
deployment.updateStrategy.rollingUpdateobject{"maxSurge":1,"maxUnavailable":0}new pods will be added gradually
deployment.updateStrategy.rollingUpdate.maxSurgeint1number of pods that can be created above the desired amount while updating
deployment.updateStrategy.rollingUpdate.maxUnavailableint0number of pods that can be unavailable while updating
deployment.updateStrategy.typestring"RollingUpdate"type of the update
fullnameOverridestring""option to override the fullname config in the _helpers.tpl
ingress.annotationsobject{}annotations to be added to the ingress
ingress.enabledboolfalseshould there be an ingress to connect canis-major with the public internet
ingress.hostslist[]all hosts to be provided
ingress.tlslist[]configure the ingress' tls
nameOverridestring""option to override the name config in the _helpers.tpl
portint8080port that the canis-major container uses
prometheus.enabledbooltrueshould prometheus scrape be enabled
prometheus.pathstring"/prometheus"path for prometheus scrape
prometheus.portint9090port prometheus scrape is available at
route.annotationsobject{}annotations to be added to the route
route.certificateobject{}
route.enabledboolfalse
route.tlsobject{}tls configuration for the route
service.annotationsobject{}additional annotations, if required
service.portint8080port to be used by the service
service.typestring"ClusterIP"service type
serviceAccountobject{"create":false}if a canis-major specific service account should be used, it can be configured here ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
serviceAccount.createboolfalsespecifies if the account should be created

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy canis-major with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has canis-major 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 chartcanis-major is pinned at v0.3.0 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