Skip to content

Commit

Permalink
chore: save
Browse files Browse the repository at this point in the history
  • Loading branch information
qingtong committed May 14, 2024
1 parent 55557f9 commit 9c5199e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/from-docker-to-cloud-native-02/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ LoadBalancer Service 是对 NodePort Service 的优化。NodePort Service 不支

LoadBalancer 将 Service 放置到 Node 之前,确保外部发送的请求能够被转发到健康的节点上,此时项目流程就变成了这样:

![image](./images/LoadBalancer-service.png)
![image](./images/loadBalancer-service.png)

相比于 NodePort Service,只需要将`type` 改成 `LoadBalancer`。
```yaml
Expand Down Expand Up @@ -466,7 +466,6 @@ minikube addons enable ingress
```



## Deployment

Deployment 为 Pod 和 ReplicaSet(副本集) 提供声明式创建和更新能力。
Expand Down

0 comments on commit 9c5199e

Please sign in to comment.