diff --git a/docs/1-deploy.md b/docs/1-deploy.md index 922fc75..ebfd3a1 100644 --- a/docs/1-deploy.md +++ b/docs/1-deploy.md @@ -1,6 +1,6 @@ # Deploy and upgrade guide -![OpenFaaS](diagrams/deploy.png) +![Deploy](diagrams/deploy.png) ### Setup Helm diff --git a/docs/2-autoscaling.md b/docs/2-autoscaling.md index d475458..b4c4ef3 100644 --- a/docs/2-autoscaling.md +++ b/docs/2-autoscaling.md @@ -1,6 +1,6 @@ # Auto-scaling guide -![OpenFaaS](diagrams/auto-scaling.png) +![HPA](diagrams/auto-scaling.png) ### Deploy Frontend and Backend services diff --git a/docs/4-statefulsets.md b/docs/4-statefulsets.md index a51951e..d5e76da 100644 --- a/docs/4-statefulsets.md +++ b/docs/4-statefulsets.md @@ -2,6 +2,8 @@ Running StatefulSet with with local persistent volumes for bare-metal Kubernetes 1.9 clusters. +![StatefulSets](diagrams/statefulset.png) + ### Cluster provisioning I'm assuming you have three hosts: @@ -43,7 +45,7 @@ Add the `role` label to the worker nodes: ```bash kubectl --kubeconfig ./admin.conf label nodes kube-node-0 role=local-ssd -kubectl --kubeconfig ./admin.conf label nodes kube-node-0 role=local-ssd +kubectl --kubeconfig ./admin.conf label nodes kube-node-1 role=local-ssd ``` ### Persistent volumes provisioning diff --git a/docs/diagrams/statefulset.png b/docs/diagrams/statefulset.png new file mode 100644 index 0000000..7a2de84 Binary files /dev/null and b/docs/diagrams/statefulset.png differ