adding in metallb configuration and sample app with auto load balancer working
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: sample-app-service
|
||||
annotations:
|
||||
metallb.universe.tf/address-pool: first-pool
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: nginx
|
||||
|
||||
Reference in New Issue
Block a user