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:
parent
239dc3edcf
commit
c1a9a7fd6a
|
@ -364,6 +364,33 @@ The major problem with exposing DMS to the outside world in Kubernetes is to [pr
|
||||||
|
|
||||||
**Example**
|
**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"
|
=== "Load-Balancer"
|
||||||
|
|
||||||
The config differs depending on your choice of load balancer. This example uses [MetalLB][metallb-web].
|
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 ]
|
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"
|
=== "Host network"
|
||||||
|
|
||||||
???+ abstract "Advantages / Disadvantages"
|
???+ abstract "Advantages / Disadvantages"
|
||||||
|
|
Loading…
Reference in New Issue