|
| 1 | +# Kusion Chart |
| 2 | + |
| 3 | +   [](https://artifacthub.io/packages/helm/kusionstack/kusion) |
| 4 | + |
| 5 | +A Helm chart for deploying Kusion - An Intent-Driven Platform Orchestrator |
| 6 | + |
| 7 | +**Homepage:** <https://github.com/KusionStack/kusion> |
| 8 | + |
| 9 | +## Maintainers |
| 10 | + |
| 11 | +| Name | Email | Url | |
| 12 | +| ---- | ------ | --- | |
| 13 | +| kusionstack | <kusionstack@gmail.com> | <https://kusionstack.io/docs> | |
| 14 | + |
| 15 | +## Source Code |
| 16 | + |
| 17 | +* <https://github.com/KusionStack/kusion> |
| 18 | + |
| 19 | +## Prerequisites |
| 20 | + |
| 21 | +- Helm v3+ |
| 22 | + |
| 23 | +## Installing the Chart |
| 24 | + |
| 25 | +First, add the Kusion chart repo to your local repository. |
| 26 | + |
| 27 | +```shell |
| 28 | +helm repo add kusionstack https://kusionstack.github.io/charts |
| 29 | +helm repo update |
| 30 | +``` |
| 31 | + |
| 32 | +Then you can use the following command to install the latest version of Kusion. |
| 33 | + |
| 34 | +```shell |
| 35 | +helm install kusion-release kusionstack/kusion |
| 36 | +``` |
| 37 | + |
| 38 | +> Note that installing this chart directly means it will use the [default template values](./values.yaml) for Kusion. |
| 39 | +
|
| 40 | +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. |
| 41 | + |
| 42 | +All configurable parameters of the Kusion chart are detailed [here](#chart-parameters). |
| 43 | + |
| 44 | +```shell |
| 45 | +helm install kusion-release kusionstack/kusion --set server.port=8080 --set mysql.enabled=true --set mysql.database=kusionDB |
| 46 | +``` |
| 47 | + |
| 48 | +## Chart Parameters |
| 49 | + |
| 50 | +The following table lists the configurable parameters of the chart and their default values. |
| 51 | + |
| 52 | +### General Parameters |
| 53 | + |
| 54 | +| Key | Type | Default | Description | |
| 55 | +|-----|------|---------|-------------| |
| 56 | +| namespace | string | `"kusion"` | Which namespace to be deployed | |
| 57 | +| namespaceEnabled | bool | `true` | Whether to generate namespace | |
| 58 | +| registryProxy | string | `""` | Image registry proxy will be the prefix as all component images | |
| 59 | + |
| 60 | +### Global Parameters |
| 61 | + |
| 62 | +| Key | Type | Default | Description | |
| 63 | +|-----|------|---------|-------------| |
| 64 | + |
| 65 | +### Kusion Server |
| 66 | + |
| 67 | +The Kusion Server Component is the main backend server that provides the core functionality and REST APIs. |
| 68 | + |
| 69 | +| Key | Type | Default | Description | |
| 70 | +|-----|------|---------|-------------| |
| 71 | +| server.args.authEnabled | bool | `false` | Whether to enable authentication | |
| 72 | +| server.args.authKeyType | string | `"RSA"` | Authentication key type | |
| 73 | +| server.args.authWhitelist | list | `[]` | Authentication whitelist | |
| 74 | +| server.args.autoMigrate | bool | `true` | Whether to enable automatic migration | |
| 75 | +| server.args.dbHost | string | `""` | Database host | |
| 76 | +| server.args.dbName | string | `""` | Database name | |
| 77 | +| server.args.dbPassword | string | `""` | Database password | |
| 78 | +| server.args.dbPort | int | `3306` | Database port | |
| 79 | +| server.args.dbUser | string | `""` | Database user | |
| 80 | +| server.args.defaultSourceRemote | string | `""` | Default source URL | |
| 81 | +| server.args.logFilePath | string | `"/logs/kusion.log"` | Logging | |
| 82 | +| server.args.maxAsyncBuffer | int | `100` | Maximum number of buffer zones during concurrent async executions including generate, preview, apply and destroy | |
| 83 | +| server.args.maxAsyncConcurrent | int | `1` | Maximum number of concurrent async executions including generate, preview, apply and destroy | |
| 84 | +| server.args.maxConcurrent | int | `10` | Maximum number of concurrent executions including preview, apply and destroy | |
| 85 | +| server.args.migrateFile | string | `""` | Migration file path | |
| 86 | +| server.env | list | `[]` | Additional environment variables for the server | |
| 87 | +| server.image.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy | |
| 88 | +| server.image.repo | string | `"kusionstack/kusion"` | Repository for Kusion server image | |
| 89 | +| server.image.tag | string | `"latest"` | Tag for Kusion server image. Defaults to the chart's appVersion if not specified | |
| 90 | +| server.name | string | `"kusion-server"` | Component name for kusion server | |
| 91 | +| server.port | int | `80` | Port for kusion server | |
| 92 | +| server.replicas | int | `1` | The number of kusion server pods to run | |
| 93 | +| server.resources | object | `{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | Resource limits and requests for the kusion server pods | |
| 94 | +| server.serviceType | string | `"ClusterIP"` | Service type for the kusion server. The available type values list as ["ClusterIP"、"NodePort"、"LoadBalancer"]. | |
| 95 | + |
| 96 | +### MySQL Database |
| 97 | + |
| 98 | +The MySQL database is used to store Kusion's persistent data. |
| 99 | + |
| 100 | +| Key | Type | Default | Description | |
| 101 | +|-----|------|---------|-------------| |
| 102 | +| mysql.database | string | `"kusionDB"` | MySQL database name | |
| 103 | +| mysql.enabled | bool | `true` | Whether to enable MySQL deployment | |
| 104 | +| mysql.image.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy | |
| 105 | +| mysql.image.repo | string | `"mysql"` | Repository for MySQL image | |
| 106 | +| mysql.image.tag | string | `"8.0"` | Specific tag for MySQL image | |
| 107 | +| mysql.name | string | `"mysql"` | Component name for MySQL | |
| 108 | +| mysql.password | string | `""` | MySQL password | |
| 109 | +| mysql.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes for MySQL PVC | |
| 110 | +| mysql.persistence.size | string | `"10Gi"` | Size of MySQL persistent volume | |
| 111 | +| mysql.persistence.storageClass | string | `""` | Storage class for MySQL PVC | |
| 112 | +| mysql.port | int | `3306` | Port for MySQL | |
| 113 | +| mysql.replicas | int | `1` | The number of MySQL pods to run | |
| 114 | +| mysql.resources | object | `{"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"512Mi"}}` | Resource limits and requests for MySQL pods | |
| 115 | +| mysql.rootPassword | string | `""` | MySQL root password | |
| 116 | +| mysql.user | string | `"kusion"` | MySQL user | |
| 117 | + |
| 118 | +---------------------------------------------- |
| 119 | +Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) |
0 commit comments