KubeKanvas Documentation

Your bridge between the KubeKanvas visual Kubernetes IDE and your clusters.

kubekanvas fetch-helm-chart

Download an auto-generated Helm chart for a KubeKanvas project. This is useful when you want to inspect the generated chart, feed it into a CI/CD pipeline, or deploy manually using Helm CLI.

Usage

kubekanvas fetch-helm-chart <projectId>

Arguments

ArgumentDescriptionRequired
projectIdThe numeric ID of the KubeKanvas project to fetch the Helm chart forYes

How It Works

  1. Authenticates with the KubeKanvas server
  2. Calls the Helm chart generation endpoint for the specified project
  3. The server converts the visual project design into Kubernetes YAML templates, generatesChart.yaml andvalues.yaml, and packages everything as a ZIP
  4. The ZIP file is downloaded and saved to the current directory

Example

kubekanvas fetch-helm-chart 42
$ kubekanvas fetch-helm-chart 42 πŸ“¦ Helm chart saved as: helm-chart-42-1704067200000.zip

Output File

The chart is saved as helm-chart-{projectId}-{timestamp}.zip in the current working directory. The ZIP contains a standard Helm chart structure:

helm-chart-42-1704067200000.zip β”œβ”€β”€ Chart.yaml β”œβ”€β”€ values.yaml └── templates/ β”œβ”€β”€ deployment.yaml β”œβ”€β”€ service.yaml β”œβ”€β”€ ingress.yaml β”œβ”€β”€ configmap.yaml └── ...

You can install this chart manually with Helm:

helm install my-release helm-chart-42-1704067200000.zip --namespace my-namespace --create-namespace
Tip:

You can find the project ID in the KubeKanvas IDE URL when viewing a project, or via the project settings panel.