Add whoami as a second real app (docs/08 hands-on exercise)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# type: LoadBalancer asks MetalLB for a real, routable address from this
|
||||
# cluster's dedicated BGP service pool — see docs/05-metallb.md. 10.10.60.12
|
||||
# is the next free address in docs/network.md at the time this was added.
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: whoami
|
||||
namespace: whoami
|
||||
annotations:
|
||||
metallb.io/loadBalancerIPs: "10.10.60.12"
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: whoami
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
Reference in New Issue
Block a user