Add zero down time deployment and osi model

This commit is contained in:
2018-04-12 15:26:14 +10:00
parent fd08383ba9
commit d91655b924
3 changed files with 16 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 387 KiB

+3
View File
@@ -53,6 +53,9 @@
- 172.16.0.0 172.31.255.255
- 192.168.0.0 192.168.255.255
## OSI Model( 7 layers network)
![OSI Models](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/assets/images/osi-model.png)
# tools
- git
- cherrypick
+13
View File
@@ -3,6 +3,8 @@
## Orchestration
### Rancher
Easy to use, just drag and drop things.
### Kubernetes
- Pod
@@ -51,6 +53,17 @@
Links:
* [Kubernetes NodePort vs LoadBalancer vs Ingress? When should I use what?](https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0)
#### Zero down time deployment
Set strategy type to `RollingUpdate` instead of `Recreate`
```yaml
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 50%
maxSurge: 1
```
## Benefits
- escape the app dependency matrix