Skip to content

Commit 67711cf

Browse files
committed
Add Kustomize and Helm install to readme
1 parent 0ca7c25 commit 67711cf

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

README.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ that showcases best practices of running microservices in Kubernetes.
55

66
Specifications:
77

8-
* Release automation (Make/TravisCI/CircleCI/Quay.io/Google Cloud Container Builder/Skaffold/Weave Flux)
9-
* Multi-platform Docker image (amd64/arm/arm64/ppc64le/s390x)
108
* Health checks (readiness and liveness)
119
* Graceful shutdown on interrupt signals
1210
* File watcher for secrets and configmaps
@@ -40,13 +38,26 @@ Web API:
4038
* `GET /ws/echo` echos content via websockets `podcli ws ws://localhost:9898/ws/echo`
4139
* `GET /chunked/{seconds}` uses `transfer-encoding` type `chunked` to give a partial response and then waits for the specified period
4240

43-
### Guides
41+
### Install
4442

45-
* [Deploy and upgrade with Helm](docs/1-deploy.md)
46-
* [Horizontal Pod Auto-scaling](docs/2-autoscaling.md)
47-
* [Monitoring and alerting with Prometheus](docs/3-monitoring.md)
48-
* [StatefulSets with local persistent volumes](docs/4-statefulsets.md)
49-
* [Expose Kubernetes services over HTTPS with Ngrok](docs/6-ngrok.md)
50-
* [A/B Testing with Ambassador API Gateway](docs/5-canary.md)
51-
* [Canary Deployments with Istio](docs/7-istio.md)
52-
* [GitHub Actions CI demo](docs/8-gh-actions.md)
43+
Kustomize:
44+
45+
```bash
46+
kubectl apply -k github.com/stefanprodan/podinfo//kustomize
47+
```
48+
49+
Helm:
50+
51+
```bash
52+
helm repo add sp https://stefanprodan.github.io/podinfo
53+
54+
helm upgrade --install --wait frontend \
55+
--namespace test \
56+
--set backend=http://backend-podinfo:9898/echo \
57+
sp/podinfo
58+
59+
helm upgrade --install --wait backend \
60+
--namespace test \
61+
--set hpa.enabled=true \
62+
sp/podinfo
63+
```

0 commit comments

Comments
 (0)