fixed LB-IPAM example application
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user