- Upgraded to - Talos v1.11 (newest) - Kubernetes v1.34 - Added test application for LB-IPAM - Fixed IPv4 stack: - BGP advertisement of Services (ClusterIP, ExternalIP and LoadBalancerIP) - Fixed CoreDNS (integration between Talos HostDNS and Cilium BPF) Co-authored-by: Marcel Straub <m@straubs.eu> Reviewed-on: #11
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: load-balancer-example
|
|
name: hello-world
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: load-balancer-example
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: load-balancer-example
|
|
spec:
|
|
containers:
|
|
- image: gcr.io/google-samples/hello-app:2.0
|
|
name: hello-world
|
|
ports:
|
|
- 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: hello-world-service
|
|
namespace: default
|
|
labels:
|
|
app.kubernetes.io/name: load-balancer-example
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: load-balancer-example
|
|
type: LoadBalancer
|
|
loadBalancerClass: io.cilium/bgp-control-plane
|
|
# ipFamilyPolicy: RequireDualStack
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: http-web-svc
|