docs(chore): Manual IP config tabs merge (part 2)

The external IP for DMS `Service` is a simpler configuration than the Load Balancer one. Shift it to be presented first.
This commit is contained in:
polarathene 2024-03-10 21:53:07 +13:00
parent 239dc3edcf
commit c1a9a7fd6a
1 changed files with 27 additions and 27 deletions

View File

@ -364,6 +364,33 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr
**Example**
=== "External-IP Service"
The DMS `Service` is configured with an "[external IP][Kubernetes-network-external-ip]" manually. Append your externally reachable IP address to `spec.externalIPs`.
```yaml
---
apiVersion: v1
kind: Service
metadata:
name: mailserver
labels:
app: mailserver
spec:
selector:
app: mailserver
ports:
- name: smtp
port: 25
targetPort: smtp
# ...
externalIPs:
- 10.20.30.40
```
=== "Load-Balancer"
The config differs depending on your choice of load balancer. This example uses [MetalLB][metallb-web].
@ -406,33 +433,6 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr
ipAddressPools: [ mailserver ]
```
=== "External-IP Service"
The DMS `Service` is configured with an "[external IP][Kubernetes-network-external-ip]" manually. Append your externally reachable IP address to `spec.externalIPs`.
```yaml
---
apiVersion: v1
kind: Service
metadata:
name: mailserver
labels:
app: mailserver
spec:
selector:
app: mailserver
ports:
- name: smtp
port: 25
targetPort: smtp
# ...
externalIPs:
- 10.20.30.40
```
=== "Host network"
???+ abstract "Advantages / Disadvantages"