|
| 1 | +# Hello World Helm Chart |
| 2 | + |
| 3 | +This is a simple Hello World Helm chart that demonstrates basic Helm functionality. |
| 4 | +It deploys an Nginx container that serves a simple webpage. |
| 5 | + |
| 6 | +## Prerequisites |
| 7 | + |
| 8 | +- Kubernetes 1.19+ |
| 9 | +- Helm 3.2.0+ |
| 10 | + |
| 11 | +## Installing the Chart |
| 12 | + |
| 13 | +To install the chart with the release name `my-hello`: |
| 14 | + |
| 15 | +```bash |
| 16 | +helm install my-hello ./hello-world |
| 17 | +``` |
| 18 | + |
| 19 | +## Uninstalling the Chart |
| 20 | + |
| 21 | +To uninstall/delete the `my-hello` release: |
| 22 | + |
| 23 | +```bash |
| 24 | +helm uninstall my-hello |
| 25 | +``` |
| 26 | + |
| 27 | +## Configuration |
| 28 | + |
| 29 | +The following table lists the configurable parameters of the hello-world chart and their default values. |
| 30 | + |
| 31 | +| Parameter | Description | Default | |
| 32 | +|-----------------------|----------------------------------|------------------------| |
| 33 | +| `replicaCount` | Number of replicas | `1` | |
| 34 | +| `image.repository` | Container image repository | `nginx` | |
| 35 | +| `image.tag` | Container image tag | `stable` | |
| 36 | +| `image.pullPolicy` | Container image pull policy | `IfNotPresent` | |
| 37 | +| `service.type` | Kubernetes Service type | `ClusterIP` | |
| 38 | +| `service.port` | Service port | `80` | |
| 39 | +| `message` | Message to display | `Hello, World from Helm!` | |
| 40 | +| `resources` | CPU/Memory resource requests/limits | See `values.yaml` | |
| 41 | +| `nodeSelector` | Node labels for pod assignment | `{}` | |
| 42 | +| `tolerations` | Tolerations for pod assignment | `[]` | |
| 43 | +| `affinity` | Affinity for pod assignment | `{}` | |
| 44 | + |
| 45 | +## Testing Your MCP Helm Server |
| 46 | + |
| 47 | +You can use this chart to test your MCP Helm server with commands like: |
| 48 | + |
| 49 | +```bash |
| 50 | +# Using the hello-world chart |
| 51 | +python -m mcp_helm_server --chart-dir ./hello-world |
| 52 | +``` |
| 53 | + |
| 54 | +This will start the MCP Helm server with the hello-world chart directory. You can then use the server to: |
| 55 | + |
| 56 | +1. Show chart details: `helm_show` |
| 57 | +2. Create a template: `helm_template` |
| 58 | +3. Lint the chart: `helm_lint` |
| 59 | +4. Package the chart: `helm_package` |
| 60 | +5. Install the chart: `helm_install` |
| 61 | +6. And other operations provided by the MCP Helm server |
0 commit comments