osm-edge

by joaquinito2051

Helm chartv1.2.1-ubi8App 1.2.1-ubi8

A Helm chart to install the osm-edge control plane on Kubernetes

About this chart

Open Service Mesh Edge Helm Chart

A Helm chart to install the osm-edge control plane on Kubernetes.

Prerequisites

  • Kubernetes >= 1.19.0-0

Get Repo Info

helm repo add osm https://flomesh-io.github.io/osm-edge
helm repo update

Install Chart

helm install [RELEASE_NAME] osm/osm

The command deploys osm-controller on the Kubernetes cluster in the default configuration.

See configuration below.

See helm install for command documentation.

Uninstall Chart

helm uninstall [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrading Chart

helm upgrade [RELEASE_NAME] [CHART] --install

See helm upgrade for command documentation.

Configuration

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:

helm show values osm/osm

The following table lists the configurable parameters of the osm chart and their default values.

Values

KeyTypeDefaultDescription
contour.contourobject{"image":{"registry":"ghcr.io","repository":"projectcontour/contour","tag":"v1.21.1"}}Contour controller configuration
contour.enabledboolfalseEnables deployment of Contour control plane and gateway
contour.envoyobject{"image":{"registry":"docker.io","repository":"envoyproxy/envoy-distroless","tag":"v1.22.2"}}Contour envoy edge proxy configuration
fsm.enabledboolfalseEnables deployment of fsm control plane and gateway
osm.caBundleSecretNamestring"osm-ca-bundle"The Kubernetes secret name to store CA bundle for the root CA used in OSM
osm.certificateProvider.certKeyBitSizeint2048Certificate key bit size for data plane certificates issued to workloads to communicate over mTLS
osm.certificateProvider.kindstring"tresor"The Certificate manager type: tresor, vault or cert-manager
osm.certificateProvider.serviceCertValidityDurationstring"24h"Service certificate validity duration for certificate issued to workloads to communicate over mTLS
osm.certmanager.issuerGroupstring"cert-manager.io"cert-manager issuer group
osm.certmanager.issuerKindstring"Issuer"cert-manager issuer kind
osm.certmanager.issuerNamestring"osm-ca"cert-manager issuer namecert-manager issuer name
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].keystring"kubernetes.io/os"
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operatorstring"In"
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0]string"linux"
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].keystring"kubernetes.io/arch"
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].operatorstring"In"
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].values[0]string"amd64"
osm.cleanup.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].values[1]string"arm64"
osm.cleanup.nodeSelectorobject{}
osm.cleanup.tolerationslist[]Node tolerations applied to control plane pods. The specified tolerations allow pods to schedule onto nodes with matching taints.
osm.configResyncIntervalstring"0s"Sets the resync interval for regular proxy broadcast updates, set to 0s to not enforce any resync
osm.controlPlaneTolerationslist[]Node tolerations applied to control plane pods. The specified tolerations allow pods to schedule onto nodes with matching taints.
osm.controllerLogLevelstring"info"Controller log verbosity
osm.curlImagestring"quay.io/flomesh/curl-ubi8:7.84.0"Curl image for control plane init container
osm.deployJaegerboolfalseDeploy Jaeger during OSM installation
osm.deployPrometheusboolfalseDeploy Prometheus with OSM installation
osm.enableDebugServerboolfalseEnable the debug HTTP server on OSM controller
osm.enableEgressbooltrueEnable egress in the mesh
osm.enablePermissiveTrafficPolicybooltrueEnable permissive traffic policy mode
osm.enablePrivilegedInitContainerboolfalseRun init container in privileged mode
osm.enableReconcilerboolfalseEnable reconciler for OSM's CRDs and mutating webhook
osm.enforceSingleMeshbooltrueEnforce only deploying one mesh in the cluster
osm.featureFlags.enableAccessCertPolicyboolfalse
osm.featureFlags.enableAccessControlPolicyboolfalseEnables OSM's AccessControl policy API. When enabled, OSM will use the AccessControl API allow access control traffic to mesh backends
osm.featureFlags.enableAsyncProxyServiceMappingboolfalseEnable async proxy-service mapping
osm.featureFlags.enableEgressPolicybooltrueEnable OSM's Egress policy API. When enabled, fine grained control over Egress (external) traffic is enforced
osm.featureFlags.enableIngressBackendPolicybooltrueEnables OSM's IngressBackend policy API. When enabled, OSM will use the IngressBackend API allow ingress traffic to mesh backends
osm.featureFlags.enableMeshRootCertificateboolfalseEnable the MeshRootCertificate to configure the OSM certificate provider
osm.featureFlags.enableRetryPolicyboolfalseEnable Retry Policy for automatic request retries
osm.featureFlags.enableSidecarActiveHealthChecksboolfalseEnable Sidecar active health checks
osm.featureFlags.enableSnapshotCacheModeboolfalseEnables SnapshotCache feature for Sidecar xDS server.
osm.featureFlags.enableWASMStatsboolfalseEnable extra Envoy statistics generated by a custom WASM extension
osm.image.digestobject{"osmBootstrap":"","osmCRDs":"","osmController":"","osmHealthcheck":"","osmInjector":"","osmPreinstall":"","osmSidecarInit":""}Image digest (defaults to latest compatible tag)
osm.image.digest.osmBootstrapstring""osm-boostrap's image digest
osm.image.digest.osmCRDsstring""osm-crds' image digest
osm.image.digest.osmControllerstring""osm-controller's image digest
osm.image.digest.osmHealthcheckstring""osm-healthcheck's image digest
osm.image.digest.osmInjectorstring""osm-injector's image digest
osm.image.digest.osmPreinstallstring""osm-preinstall's image digest
osm.image.digest.osmSidecarInitstring""Sidecar init container's image digest
osm.image.nameobject{"osmBootstrap":"osm-edge-bootstrap-ubi8","osmCRDs":"osm-edge-crds-ubi8","osmController":"osm-edge-controller-ubi8","osmHealthcheck":"osm-edge-healthcheck-ubi8","osmInjector":"osm-edge-injector-ubi8","osmPreinstall":"osm-edge-preinstall-ubi8","osmSidecarInit":"osm-edge-sidecar-init-ubi8"}Image name defaults
osm.image.name.osmBootstrapstring"osm-edge-bootstrap-ubi8"osm-boostrap's image name
osm.image.name.osmCRDsstring"osm-edge-crds-ubi8"osm-crds' image name
osm.image.name.osmControllerstring"osm-edge-controller-ubi8"osm-controller's image name
osm.image.name.osmHealthcheckstring"osm-edge-healthcheck-ubi8"osm-healthcheck's image name
osm.image.name.osmInjectorstring"osm-edge-injector-ubi8"osm-injector's image name
osm.image.name.osmPreinstallstring"osm-edge-preinstall-ubi8"osm-preinstall's image name
osm.image.name.osmSidecarInitstring"osm-edge-sidecar-init-ubi8"Sidecar init container's image name
osm.image.pullPolicystring"IfNotPresent"Container image pull policy for control plane containers
osm.image.registrystring"quay.io/flomesh"Container image registry for control plane images
osm.image.tagstring"1.2.1"Container image tag for control plane images
osm.imagePullSecretslist[]osm-controller image pull secret
osm.inboundPortExclusionListlist[]Specifies a global list of ports to exclude from inbound traffic interception by the sidecar proxy. If specified, must be a list of positive integers.
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].keystring"kubernetes.io/os"
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operatorstring"In"
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0]string"linux"
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].keystring"kubernetes.io/arch"
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].operatorstring"In"
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].values[0]string"amd64"
osm.injector.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].values[1]string"arm64"
osm.injector.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].keystring"app"
osm.injector.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].operatorstring"In"
osm.injector.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].values[0]string"osm-injector"
osm.injector.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.topologyKeystring"kubernetes.io/hostname"
osm.injector.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weightint100
osm.injector.autoScaleobject{"cpu":{"targetAverageUtilization":80},"enable":false,"maxReplicas":5,"memory":{"targetAverageUtilization":80},"minReplicas":1}Auto scale configuration
osm.injector.autoScale.cpu.targetAverageUtilizationint80Average target CPU utilization (%)
osm.injector.autoScale.enableboolfalseEnable Autoscale
osm.injector.autoScale.maxReplicasint5Maximum replicas for autoscale
osm.injector.autoScale.memory.targetAverageUtilizationint80Average target memory utilization (%)
osm.injector.autoScale.minReplicasint1Minimum replicas for autoscale
osm.injector.enablePodDisruptionBudgetboolfalseEnable Pod Disruption Budget
osm.injector.nodeSelectorobject{}
osm.injector.podLabelsobject{}Sidecar injector's pod labels
osm.injector.replicaCountint1Sidecar injector's replica count (ignored when autoscale.enable is true)
osm.injector.resourceobject{"limits":{"cpu":"0.5","memory":"64M"},"requests":{"cpu":"0.3","memory":"64M"}}Sidecar injector's container resource parameters
osm.injector.tolerationslist[]Node tolerations applied to control plane pods. The specified tolerations allow pods to schedule onto nodes with matching taints.
osm.injector.webhookTimeoutSecondsint20Mutating webhook timeout
osm.localProxyModestring"Localhost"Proxy mode for the proxy sidecar. Acceptable values are ['Localhost', 'PodIP']
osm.maxDataPlaneConnectionsint0Sets the max data plane connections allowed for an instance of osm-controller, set to 0 to not enforce limits
osm.meshNamestring"osm"Identifier for the instance of a service mesh within a cluster
osm.networkInterfaceExclusionListlist[]Specifies a global list of network interface names to exclude for inbound and outbound traffic interception by the sidecar proxy.
osm.osmBootstrap.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].keystring"kubernetes.io/os"
osm.osmBootstrap.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operatorstring"In"
osm.osmBootstrap.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0]string"linux"
osm.osmBootstrap.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDurin

Deploy osm-edge with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has osm-edge 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 chartosm-edge is pinned at v1.2.1-ubi8 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