Add whoami as a second real app (docs/08 hands-on exercise)

This commit is contained in:
2026-09-03 03:52:11 +01:00
parent 574d3032db
commit f5cb20ad6b
5 changed files with 82 additions and 1 deletions
+17
View File
@@ -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