fixed LB-IPAM example application

This commit is contained in:
Marcel Straub
2025-09-13 23:08:27 +02:00
parent db6cc4b9a8
commit 31ade3ad23

View File

@@ -18,27 +18,32 @@ spec:
- image: gcr.io/google-samples/hello-app:2.0
name: hello-world
ports:
- containerPort: 8080
- containerPort: 8080
name: http-web-svc
securityContext:
seccompProfile:
type: "RuntimeDefault"
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
runAsUser: 1000
capabilities:
drop: ["ALL"]
---
apiVersion: v1
kind: Service
metadata:
name: my-service
name: hello-world-service
namespace: default
labels:
color: test
app.kubernetes.io/name: load-balancer-example
spec:
selector:
app: hello-world
app.kubernetes.io/name: load-balancer-example
type: LoadBalancer
loadBalancerClass: io.cilium/bgp-control-plane
# ipFamilyPolicy: RequireDualStack
ports:
- port: 8080
- protocol: TCP
port: 80
targetPort: http-web-svc