karpor

by KusionStack

Helm chartv0.7.8App 0.6.4Verified publisher

A modern kubernetes visualization tool (Karpor).

About this chart

Karpor Chart

A modern kubernetes visualization tool (Karpor).

Homepage: https://github.com/KusionStack/karpor

Maintainers

NameEmailUrl
kusionstack[email protected]https://kusionstack.io/karpor

Source Code

Prerequisites

  • Helm v3+

Installing the Chart

First, add the karpor chart repo to your local repository.

helm repo add kusionstack https://kusionstack.github.io/charts
helm repo update

Then you can use the following command to install the latest version of Karpor.

helm install karpor-release kusionstack/karpor

Note that installing this chart directly means it will use the default template values for Karpor.

You may have to set your specific configurations if it is deployed into a production cluster, or you want to customize the chart configuration, such as resources, replicas, port etc.

All configurable parameters of the Karpor chart are detailed here.

helm install karpor-release kusionstack/karpor --set server.replicas=3 --set syncer.port=7654

Chart Parameters

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

General Parameters

KeyTypeDefaultDescription
namespacestring"karpor"Which namespace to be deployed.
namespaceEnabledbooltrueWhether to generate namespace.
registryProxystring""Image registry proxy will be the prefix as all component image.

Global Parameters

KeyTypeDefaultDescription
global.image.imagePullPolicystring"IfNotPresent"Image pull policy to be applied to all Karpor components.

Karpor Server

The Karpor Server Component is main backend server. It itself is an apiserver, which also provides /rest-api to serve Dashboard.

KeyTypeDefaultDescription
server.aiobject{"authToken":"","backend":"openai","baseUrl":"","model":"gpt-3.5-turbo","proxy":{"enabled":false,"httpProxy":"","httpsProxy":"","noProxy":""},"temperature":1,"topP":1}AI configuration section. The AI analysis feature requires that [authToken, baseUrl] be assigned values.
server.ai.authTokenstring""Authentication token for accessing the AI service.
server.ai.backendstring"openai"Backend service or platform that the AI model is hosted on. Available options: - "openai": OpenAI API (default)- "azureopenai": Azure OpenAI Service - "huggingface": Hugging Face API- "deepseek": DeepSeek API If the backend you are using is compatible with OpenAI, then there is no need to make any changes here.
server.ai.baseUrlstring""Base URL of the AI service. e.g., "https://api.openai.com/v1".
server.ai.modelstring"gpt-3.5-turbo"Name or identifier of the AI model to be used. e.g., "gpt-3.5-turbo".
server.ai.proxyobject{"enabled":false,"httpProxy":"","httpsProxy":"","noProxy":""}Proxy configuration for AI service connections
server.ai.proxy.enabledboolfalseEnable proxy settings for AI service connections. When false, proxy settings will be ignored.
server.ai.proxy.httpProxystring""HTTP proxy URL for AI service connections (e.g., "http://proxy.example.com:8080")
server.ai.proxy.httpsProxystring""HTTPS proxy URL for AI service connections (e.g., "https://proxy.example.com:8080")
server.ai.proxy.noProxystring""No proxy configuration for AI service connections (e.g., "localhost,127.0.0.1,example.com")
server.ai.temperaturefloat1Temperature parameter for the AI model. This controls the randomness of the output, where a higher value (e.g., 1.0) makes the output more random, and a lower value (e.g., 0.0) makes it more deterministic.
server.ai.topPfloat1Top-p (nucleus sampling) parameter for the AI model. This controls Controls the probability mass to consider for sampling, where a higher value leads to greater diversity in the generated content (typically ranging from 0 to 1)
server.enableRbacboolfalseEnable RBAC authorization if set to true.
server.image.repostring"kusionstack/karpor"Repository for Karpor server image.
server.image.tagstring""Tag for Karpor server image. Defaults to the chart's appVersion if not specified.
server.namestring"karpor-server"Component name for karpor server.
server.portint7443Port for karpor server.
server.replicasint1The number of karpor server pods to run.
server.resourcesobject{"limits":{"cpu":"500m","ephemeral-storage":"10Gi","memory":"1Gi"},"requests":{"cpu":"250m","ephemeral-storage":"2Gi","memory":"256Mi"}}Resource limits and requests for the karpor server pods.
server.serviceTypestring"ClusterIP"Service type for the karpor server. The available type values list as ["ClusterIP"、"NodePort"、"LoadBalancer"].

Karpor Syncer

The Karpor Syncer Component is independent server to synchronize cluster resources in real-time.

KeyTypeDefaultDescription
syncer.image.repostring"kusionstack/karpor"Repository for Karpor syncer image.
syncer.image.tagstring""Tag for Karpor syncer image. Defaults to the chart's appVersion if not specified.
syncer.namestring"karpor-syncer"Component name for Karpor syncer.
syncer.portint7443Port for Karpor syncer.
syncer.replicasint1The number of karpor syncer pods to run.
syncer.resourcesobject{"limits":{"cpu":"500m","ephemeral-storage":"10Gi","memory":"1Gi"},"requests":{"cpu":"250m","ephemeral-storage":"2Gi","memory":"256Mi"}}Resource limits and requests for the karpor syncer pods.

ElasticSearch

The ElasticSearch Component to store the synchronized resources and user data.

KeyTypeDefaultDescription
elasticsearch.image.repostring"docker.elastic.co/elasticsearch/elasticsearch"Repository for ElasticSearch image.
elasticsearch.image.tagstring"8.6.2"Specific tag for ElasticSearch image.
elasticsearch.namestring"elasticsearch"Component name for ElasticSearch.
elasticsearch.portint9200Port for ElasticSearch.
elasticsearch.replicasint1The number of ElasticSearch pods to run.
elasticsearch.resourcesobject{"limits":{"cpu":"2","ephemeral-storage":"10Gi","memory":"4Gi"},"requests":{"cpu":"2","ephemeral-storage":"10Gi","memory":"4Gi"}}Resource limits and requests for the karpor elasticsearch pods.

ETCD

The ETCD Component is the storage of Karpor Server as apiserver.

KeyTypeDefaultDescription
etcd.image.repostring"quay.io/coreos/etcd"Repository for ETCD image.
etcd.image.tagstring"v3.5.11"Specific tag for ETCD image.
etcd.namestring"etcd"Component name for ETCD.
etcd.persistence.accessModeslist["ReadWriteOnce"]Volume access mode, ReadWriteOnce means single node read-write access
etcd.persistence.sizestring"10Gi"Size of etcd persistent volume
etcd.portint2379Port for ETCD.
etcd.replicasint1The number of etcd pods to run.
etcd.resourcesobject{"limits":{"cpu":"500m","ephemeral-storage":"10Gi","memory":"1Gi"},"requests":{"cpu":"250m","ephemeral-storage":"2Gi","memory":"256Mi"}}Resource limits and requests for the karpor etcd pods.

Job

This one-time job is used to generate root certificates and some preliminary work.

KeyTypeDefaultDescription
job.image.repostring"kusionstack/karpor"Repository for the Job image.
job.image.tagstring""Tag for Karpor image. Defaults to the chart's appVersion if not specified.

Ingress

An optional Ingress that exposes the Karpor Server. It is disabled by default and uses the networking.k8s.io/v1 Ingress API, so it needs Kubernetes 1.19 or later. The server only serves HTTPS, so tell your ingress controller to use HTTPS for the backend. For example, with ingress-nginx:

helm install karpor-release kusionstack/karpor \
  --set ingress.enabled=true \
  --set ingress.className=nginx \
  --set ingress.hosts[0].host=karpor.example.com \
  --set ingress.hosts[0].paths[0].path=/ \
  --set-string ingress.annotations."nginx\.ingress\.kubernetes\.io/backend-protocol"=HTTPS
KeyTypeDefaultDescription
ingress.annotationsobject{}Annotations for the Ingress. The karpor server only serves HTTPS on server.port, so the ingress controller must talk HTTPS to the backend. For ingress-nginx, set nginx.ingress.kubernetes.io/backend-protocol: "HTTPS".
ingress.classNamestring""Name of the IngressClass to use, e.g. "nginx". Leave empty to use the cluster's default IngressClass.
ingress.enabledboolfalseWhether to create an Ingress for the karpor server. Uses networking.k8s.io/v1, so it needs Kubernetes 1.19+.
ingress.hostslist[{"host":"karpor.example.com","paths":[{"path":"/","pathType":"Prefix"}]}]Host rules for the Ingress. Each host routes its paths to the karpor server service.
ingress.tlslist[]TLS settings for the Ingress, e.g. [{"hosts": ["karpor.example.com"], "secretName": "karpor-tls"}].

Autogenerated from chart metadata using helm-docs

Deploy karpor with OpenTenant

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