Comments (3)
Hi @IceManGreen,
The issue is that both your lb and liqo gateway pods try to bind to the same port. If you change it in the values file, it is reflected on the pod and service.
You have two possible solutions:
- use node port services
- run the installation with the flag
--set "gateway.service.type=LoadBalancer,gateway.config.listeningPort=5873"
and then edit your service to listen the port 5871
We will fix this in the next release by avoiding the usage of host ports and host networks.
from liqo.
Thank you, it works indeed !
For anyone looking for a temporary solution for the LoadBalancer, what I did exactly is :
liqoctl install k3s --cluster-name domain-1 \
--api-server-url <url> \
--set "gateway.service.type=LoadBalancer,gateway.config.listeningPort=5873" \
(Like @aleoli said)
Then edit the LoadBalancer Daemonset with kubectl edit daemonset/svclb-liqo-gateway-2fe6dd49 -n kube-system
(or according to the name of your daemonset) with :
# ...
spec:
template:
spec:
containers:
- env:
- name: SRC_PORT
# HERE >
value: "5871"
- name: SRC_RANGES
value: 0.0.0.0/0
- name: DEST_PROTO
value: UDP
- name: DEST_PORT
value: "5873"
- name: DEST_IPS
value: 10.43.232.220
image: rancher/klipper-lb:v0.4.5
imagePullPolicy: IfNotPresent
# HERE (to avoid confusions) >
name: lb-udp-5871
ports:
# HERE (all the ports) >
- containerPort: 5871
hostPort: 5871
name: lb-udp-5871
protocol: UDP
Apply the modifications and watch the installation end with success :)
from liqo.
Perfect, closing this issue
from liqo.
Related Issues (20)
- Liqo installation Problem HOT 14
- Peering connection dropped HOT 3
- [Feature] - Allow setting hostNetwork: true
- [Feature] IPv6 Support
- Metrics from VirtualKubelet are not being gathered HOT 4
- Cannot set the gateway IPv4 on multiple nodes HOT 3
- k3s --enable-metrics HOT 1
- [Feature] New Authentication Module HOT 4
- Fail to start a distributed DB using unidirectional out-of-band peering HOT 4
- TLS Certificate Verification Error During Liqo Peering Setup HOT 4
- Pod stuck in Pending state in Consumer cluster HOT 2
- Does Liqo support cephfs pvc offloading?
- Unable to install v0.10.2 on AWS EKS
- k8s install liqo and not peer cluster
- Liqo Controller, Metrics Agent, Virtual Kubelet resource usage is too much
- Initial terminal dimensions for kubectl exec are not set correctly for offloaded pods
- Network error when peering vSphere Tanzu Kubernetes clusters
- run setup.sh is not success HOT 5
- Pod offload on 1 cluster only
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liqo.