You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -22,7 +22,13 @@ Kusion - An Intent-Driven Platform Orchestrator
22
22
23
23
## Installing the Chart
24
24
25
-
> Note: A valid kubeconfig configuration is required for Kusion to function properly. You must either use the installation script, provide your own kubeconfig in values.yaml, or set it through the --set parameter
25
+
> **Important:** Kusion requires a valid kubeconfig configuration to function properly. You can provide it via:
26
+
> - Installation script (recommended)
27
+
> - Custom values.yaml file
28
+
> - Helm --set parameter
29
+
30
+
> **Note:** Default kubeconfig path is `/var/run/secrets/kubernetes.io/kubeconfigs/`
31
+
> To use a different path, set `kubeconfig.kubeConfigVolumeMountPath` to your desired path.
26
32
27
33
To install Kusion, you have the following options:
28
34
@@ -46,9 +52,9 @@ Edit the [values file](values.yaml) to add your kubeconfig content
46
52
# Replace the content below with your actual kubeconfig
You may also have to set your specific configurations if it is deployed into a production cluster, or you want to customize the chart configuration, such as `port`, `replicas`, `database` etc.
Copy file name to clipboardExpand all lines: charts/kusion/README.md.gotmpl
+15-9
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,13 @@
16
16
17
17
## Installing the Chart
18
18
19
-
> Note: A valid kubeconfig configuration is required for Kusion to function properly. You must either use the installation script, provide your own kubeconfig in values.yaml, or set it through the --set parameter
19
+
> **Important:** Kusion requires a valid kubeconfig configuration to function properly. You can provide it via:
20
+
> - Installation script (recommended)
21
+
> - Custom values.yaml file
22
+
> - Helm --set parameter
23
+
24
+
> **Note:** Default kubeconfig path is `/var/run/secrets/kubernetes.io/kubeconfigs/`
25
+
> To use a different path, set `kubeconfig.kubeConfigVolumeMountPath` to your desired path.
20
26
21
27
To install Kusion, you have the following options:
22
28
@@ -40,9 +46,9 @@ Edit the [values file](values.yaml) to add your kubeconfig content
40
46
# Replace the content below with your actual kubeconfig
You may also have to set your specific configurations if it is deployed into a production cluster, or you want to customize the chart configuration, such as `port`, `replicas`, `database` etc.
-d '{"name":"kam","url":"oci://ghcr.io/kusionstack/kam","description":"The kam module represents a Kusion opinionated abstraction of the core concepts during application delivery.","doc":"https://www.kusionstack.io/docs/reference/modules/developer-schemas/app-configuration"}'
40
40
41
-
curl -X PUT "${KUSION_SERVER_ENDPOINT}/api/v1/modules/kam" \
41
+
echo "Registering service module..."
42
+
curl -X POST "http://${KUSION_SERVER_ENDPOINT}/api/v1/modules" \
42
43
-H "Content-Type: application/json" \
43
-
-d '{"name":"kam","description":"The kam module represents a Kusion opinionated abstraction of the core concepts during application delivery."}';
44
+
-d '{"name":"service","url":"oci://ghcr.io/kusionstack/service","description":"The service module represents a kind of workload profile that describes how to run your application code.","doc":"https://www.kusionstack.io/docs/reference/modules/developer-schemas/workload/service"}'
44
45
45
-
curl -X PUT "${KUSION_SERVER_ENDPOINT}/api/v1/modules/kam" \
46
+
echo "Registering network module..."
47
+
curl -X POST "http://${KUSION_SERVER_ENDPOINT}/api/v1/modules" \
curl -X PUT "${KUSION_SERVER_ENDPOINT}/api/v1/modules/network" \
76
-
-H "Content-Type: application/json" \
77
-
-d '{"name":"network","description":"The network module represents a network accessory of workload, typically containing exposed ports and a load balancer."}';
78
-
79
-
curl -X PUT "${KUSION_SERVER_ENDPOINT}/api/v1/modules/network" \
-d '{"name":"network","url":"oci://ghcr.io/kusionstack/network","description":"The network module represents a network accessory of workload, typically containing exposed ports and a load balancer.","doc":"https://www.kusionstack.io/docs/reference/modules/developer-schemas/network"}'
0 commit comments