Skip to content

Commit

Permalink
Merge branch 'loxilb-io:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
backguynn authored Nov 16, 2023
2 parents 896b8e8 + 7467b0c commit 7739e4f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.RHEL
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ RUN microdnf upgrade -y && \

LABEL name="kube-loxilb" \
vendor="loxilb.io" \
version="v0.8.3" \
release="v0.8.3" \
summary="implementl loxilb LoadBalancerClass for kubernetes" \
version="v0.9.0" \
release="v0.9.0" \
summary="Implementation of loxilb LoadBalancerClass for kubernetes" \
description="loxilb LoadBalancerClass" \
maintainer="backguyn@netlox.io"

Expand Down
40 changes: 40 additions & 0 deletions manifest/workloads/sctp-lb-secips.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: v1
kind: Service
metadata:
name: sctp-lb-secips
annotations:
loxilb.io/lbmode: "fullnat"
loxilb.io/secondaryIPs: "1.1.1.1,2.2.2.2"
spec:
loadBalancerClass: loxilb.io/loxilb
selector:
what: sctp-lb-secips
ports:
- port: 56004
targetPort: 9999
protocol: SCTP
type: LoadBalancer
---
apiVersion: v1
kind: Pod
metadata:
name: sctp-secips-test
labels:
what: sctp-lb-secips
spec:
containers:
- name: sctp-test
image: ghcr.io/loxilb-io/alpine-socat:latest
command: [ "sh", "-c"]
args:
- while true; do
socat -v -T2 sctp-l:9999,reuseaddr,fork system:"echo 'server1'; cat";
sleep 20;
done;
ports:
- containerPort: 9999
env:
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP

0 comments on commit 7739e4f

Please sign in to comment.