Skip to content

Commit

Permalink
Added sample yml for udp echo test
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed May 30, 2023
1 parent eb5158e commit 23418f5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions manifest/udp-echo-svc-lb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: v1
kind: Service
metadata:
name: udp-lb1
annotations:
loxilb.io/liveness: "yes"
loxilb.io/lbmode: "default"
spec:
loadBalancerClass: loxilb.io/loxilb
externalTrafficPolicy: Local
selector:
what: udp-test
ports:
- port: 55003
protocol: UDP
targetPort: 33333
type: LoadBalancer
---
apiVersion: v1
kind: Pod
metadata:
name: udp-test
labels:
what: udp-test
spec:
containers:
- name: udp-test
image: loxilbio/udp-echo
ports:
- containerPort: 33333

0 comments on commit 23418f5

Please sign in to comment.