Skip to content

Commit

Permalink
loxilb-io/loxilb#877 egress support - updated manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Jan 20, 2025
1 parent 23622cd commit 2d09d86
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions manifest/in-cluster/loxilb-nobgp-egress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: loxilb-lb
namespace: kube-system
spec:
selector:
matchLabels:
app: loxilb-app
template:
metadata:
name: loxilb-lb
labels:
app: loxilb-app
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: loxilb-app
image: "ghcr.io/loxilb-io/loxilb:latest"
imagePullPolicy: Always
command:
- /root/loxilb-io/loxilb/loxilb
args:
- --ipvs-compat
- --clusterinterface=eth1
ports:
- containerPort: 11111
securityContext:
privileged: true
capabilities:
add:
- SYS_ADMIN
---
apiVersion: v1
kind: Service
metadata:
name: loxilb-egress-service
namespace: kube-system
annotations:
loxilb.io/egress: "yes"
loxilb.io/probetype: "none"
loxilb.io/staticIP: "0.0.0.0"
spec:
type: LoadBalancer
loadBalancerClass: loxilb.io/loxilb
selector:
app: loxilb-app
ports:
- name: loxilb-egress
port: 9999
targetPort: 9999
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: loxilb-lb-service
namespace: kube-system
spec:
clusterIP: None
selector:
app: loxilb-app
ports:
- name: loxilb-app
port: 11111
targetPort: 11111
protocol: TCP

0 comments on commit 2d09d86

Please sign in to comment.