feat: Add nginx-load-balancer example with LoadBalancer service and automatic IPv6 assignment
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx-load-balancer-service
|
||||
labels:
|
||||
app: nginx-load-balancer
|
||||
annotations:
|
||||
description: "LoadBalancer service for nginx-load-balancer deployment with automatic IPv6 assignment"
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
||||
ipFamilyPolicy: RequireDualStack
|
||||
selector:
|
||||
app: nginx-load-balancer
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
Reference in New Issue
Block a user