A minimal Helm chart for deploying MkDocs Material documentation sites on Kubernetes.
- Create your documentation directory with
mkdocs.ymlanddocs/folder - Install the chart:
helm install my-docs . --set docs.path=$(pwd)/example- Access your docs:
kubectl port-forward svc/my-docs-mkdocs-helm-chart 8080:8000| Parameter | Description | Example |
|---|---|---|
docs.path |
Path to your documentation directory | /home/user/my-project/docs-root |
| Parameter | Default | Description |
|---|---|---|
replicaCount |
1 |
Number of pod replicas |
image.repository |
squidfunk/mkdocs-material |
Docker image |
image.tag |
Chart appVersion | Image tag |
service.port |
8000 |
Service port |
ingress.enabled |
false |
Enable ingress |
ingress.hosts[0].host |
docs.example.com |
Hostname |
helm install my-docs . \
--set docs.path=/path/to/docs \
--set ingress.enabled=true \
--set ingress.hosts[0].host=docs.mycompany.comdocs:
path: /path/to/your/documentation
ingress:
enabled: true
hosts:
- host: docs.example.com
paths:
- path: /
pathType: Prefixhelm install my-docs . -f values.yamlFeel free to submit issues and pull requests. I'd appreciate feedback!