mirror of
https://github.com/wahyd4/knowledge.git
synced 2026-08-09 05:06:28 +10:00
Add zero down time deployment and osi model
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 387 KiB |
@@ -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)
|
||||
|
||||

|
||||
# tools
|
||||
- git
|
||||
- cherrypick
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user