Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraInstinct14 authored Jun 14, 2023
1 parent 49bef89 commit c9f7312
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,22 @@ kubectl get pods -A | grep kube-loxilb


6. Finally to create service LB, we can use and apply the following template yaml
(<b>Note</b> - Check *loadBalancerClass* annotation) :
(<b>Note</b> - Check *loadBalancerClass* and other *loxilb* specific annotation) :
```
apiVersion: v1
kind: Service
metadata:
name: iperf-service
annotations:
# If there is a need to do liveness check from loxilb
loxilb.io/liveness: "yes"
# Specify LB mode - one of default, onearm or fullnat
loxilb.io/lbmode: "default"
# Specify loxilb IPAM mode - one of ipv4, ipv6 or ipv6to4
loxilb.io/ipam: "ipv4"
# Specify number of secondary networks for multi-homing
# Only valid for SCTP currently
# loxilb.io/num-secondary-networks: "2
spec:
loadBalancerClass: loxilb.io/loxilb
selector:
Expand Down

0 comments on commit c9f7312

Please sign in to comment.