35 lines
663 B
YAML
35 lines
663 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: netbootxyz-loadbalancer
|
|
namespace: netbootxyz
|
|
annotations:
|
|
metallb.universe.tf/loadBalancerIPs: "10.8.11.103"
|
|
spec:
|
|
ports:
|
|
- name: netbootxyz-dhcp-udp
|
|
port: 69
|
|
targetPort: 69
|
|
protocol: UDP
|
|
- name: netbootxyz-nginx-tcp
|
|
port: 80
|
|
targetPort: 80
|
|
protocol: TCP
|
|
selector:
|
|
app: netbootxyz
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: netbootxyz
|
|
namespace: netbootxyz
|
|
spec:
|
|
selector:
|
|
app: netbootxyz
|
|
ports:
|
|
- name: netbootxyz-webpage
|
|
port: 3000
|
|
targetPort: 3000
|
|
type: ClusterIP |