kubeapps

by joaquinito2051

Helm chartv10.3.5App 2.5.1

Kubeapps is a web-based UI for launching and managing applications on Kubernetes. It allows users to deploy trusted applications and operators to control users access to the cluster.

About this chart

Kubeapps packaged by Bitnami

Kubeapps is a web-based UI for launching and managing applications on Kubernetes. It allows users to deploy trusted applications and operators to control users access to the cluster.

Overview of Kubeapps

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
kubectl create namespace kubeapps
helm install kubeapps --namespace kubeapps bitnami-azure/kubeapps

Check out the getting started to start deploying apps with Kubeapps.

Introduction

This chart bootstraps a Kubeapps deployment on a Kubernetes cluster using the Helm package manager.

With Kubeapps you can:

Note: Kubeapps 2.0 and onwards supports Helm 3 only. While only the Helm 3 API is supported, in most cases, charts made for Helm 2 will still work.

It also packages the Bitnami PostgreSQL chart, which is required for bootstrapping a deployment for the database requirements of the Kubeapps application.

Prerequisites

  • Kubernetes 1.16+ (tested with both bare-metal and managed clusters, including EKS, AKS, GKE and Tanzu Kubernetes Grid, as well as dev clusters, such as Kind, Minikube and Docker for Desktop Kubernetes)
  • Helm 3.0.2+
  • Administrative access to the cluster to create Custom Resource Definitions (CRDs)
  • PV provisioner support in the underlying infrastructure (required for PostgreSQL database)

Installing the Chart

To install the chart with the release name kubeapps:

helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
kubectl create namespace kubeapps
helm install kubeapps --namespace kubeapps bitnami-azure/kubeapps

The command deploys Kubeapps on the Kubernetes cluster in the kubeapps namespace. The Parameters section lists the parameters that can be configured during installation.

Caveat: Only one Kubeapps installation is supported per namespace

Once you have installed Kubeapps follow the Getting Started Guide for additional information on how to access and use Kubeapps.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]
enableIPv6Enable IPv6 configurationfalse
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

Traffic Exposure Parameters

NameDescriptionValue
ingress.enabledEnable ingress record generation for Kubeappsfalse
ingress.apiVersionForce Ingress API version (automatically detected if not set)""
ingress.hostnameDefault host for the ingress recordkubeapps.local
ingress.pathDefault path for the ingress record/
ingress.pathTypeIngress path typeImplementationSpecific
ingress.annotationsAdditional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.{}
ingress.tlsEnable TLS configuration for the host defined at ingress.hostname parameterfalse
ingress.selfSignedCreate a TLS secret for this ingress record using self-signed certificates generated by Helmfalse
ingress.extraHostsAn array with additional hostname(s) to be covered with the ingress record[]
ingress.extraPathsAn array with additional arbitrary paths that may need to be added to the ingress under the main host[]
ingress.extraTlsTLS configuration for additional hostname(s) to be covered with this ingress record[]
ingress.secretsCustom TLS certificates as secrets[]
ingress.ingressClassNameIngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)""
ingress.extraRulesAdditional rules to be covered with this ingress record[]

Kubeapps packaging options

NameDescriptionValue
packaging.helm.enabledEnable the standard Helm packaging.true
packaging.carvel.enabledEnable support for the Carvel (kapp-controller) packaging.false
packaging.flux.enabledEnable support for Flux (v2) packaging.false

Frontend parameters

NameDescriptionValue
frontend.image.registryNGINX image registrydocker.io
frontend.image.repositoryNGINX image repositorybitnami/nginx
frontend.image.tagNGINX image tag (immutable tags are recommended)1.23.1-debian-11-r10
frontend.image.digestNGINX image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
frontend.image.pullPolicyNGINX image pull policyIfNotPresent
frontend.image.pullSecretsNGINX image pull secrets[]
frontend.image.debugEnable image debug modefalse
frontend.proxypassAccessTokenAsBearerUse access_token as the Bearer when talking to the k8s api serverfalse
frontend.proxypassExtraSetHeaderSet an additional proxy header for all requests proxied via NGINX""
frontend.largeClientHeaderBuffersSet large_client_header_buffers in NGINX config4 32k
frontend.replicaCountNumber of frontend replicas to deploy2
frontend.updateStrategy.typeFrontend deployment strategy type.RollingUpdate
frontend.resources.limits.cpuThe CPU limits for the NGINX container250m
frontend.resources.limits.memoryThe memory limits for the NGINX container128Mi
frontend.resources.requests.cpuThe requested CPU for the NGINX container25m
frontend.resources.requests.memoryThe requested memory for the NGINX container32Mi
frontend.extraEnvVarsArray with extra environment variables to add to the NGINX container[]
frontend.extraEnvVarsCMName of existing ConfigMap containing extra env vars for the NGINX container""
frontend.extraEnvVarsSecretName of existing Secret containing extra env vars for the NGINX container""
frontend.containerPorts.httpNGINX HTTP container port8080
frontend.podSecurityContext.enabledEnabled frontend pods' Security Contexttrue
frontend.podSecurityContext.fsGroupSet frontend pod's Security Context fsGroup1001
frontend.containerSecurityContext.enabled

Deploy kubeapps with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubeapps 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 chartkubeapps is pinned at v10.3.5 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