Comments (5)
Hey, so it looks like you can't make http requests to the service from one of the two nodes, right?
Curious that you can connect but cannot do http. Can you please post the output of kubectl get endpoints agola-gateway
? I am curious to see the IP of the pod backing the service. Can you also post the result of trying to curl that pod IP directly?
thanks :)
from kilo.
Hey, so it looks like you can't make http requests to the service from one of the two nodes, right?
Curious that you can connect but cannot do http. Can you please post the output of
kubectl get endpoints agola-gateway
? I am curious to see the IP of the pod backing the service. Can you also post the result of trying to curl that pod IP directly?thanks :)
Thx for reply. sorry for the bad description
- The upper info shows it's Okay when node conns to pod's ip (both: ali-vm1, hw-vm1)
kube-system rbac-manager-79bdb8757d-hdhgq 1/1 Running 1 34h 7.0.0.58 ali-vm1
- the svc of agola-gateway works too.
[root@(β |default:kube-system) t-nat]$ kc get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default agola-gateway NodePort 6.7.9.161 <none> 8000:30002/TCP 3d21h
---
[root@ali-vm1 v070]# nc -vz 6.7.9.161 8000
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 6.7.9.161:8000.
Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds.
[root@ali-vm1 v070]# curl 6.7.9.161:8000
<!DOCTYPE html><html lang=en><head><meta
---
[root@hw-vm1 v070]# nc -vz 6.7.9.161 8000
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 6.7.9.161:8000.
Ncat: 0 bytes sent, 0 bytes received in 0.04 seconds.
[root@hw-vm1 v070]# curl 6.7.9.161:8000
<!DOCTYPE html><html lang=en><head><meta
- but is err to my svc of kubernetes with the ip:port 6.7.8.1:443 (the k3s-server run in ali-vm)
[root@ali-vm1 v070]# curl 6.7.8.1:443 ##this conns ok; (ali-vm1)
Client sent an HTTP request to an HTTPS server.
[root@hw-vm1 v070]# curl 6.7.8.1:443 ##this conns bad; (hw-vm1)
^C
from kilo.
hw-vm1
conns to svc of kubernetes err, just because i run k3s-server in the docker of the machine ali-vm1
2.3.0.2:6443 can't be reached by hw-vm1
:
[root@(β |default:default) t-nat]$ kc describe svc kubernetes
Name: kubernetes
Namespace: default
Labels: component=apiserver
provider=kubernetes
Annotations: <none>
Selector: <none>
Type: ClusterIP
IP: 6.7.8.1
Port: https 443/TCP
TargetPort: 6443/TCP
Endpoints: 2.3.0.2:6443
Session Affinity: None
Events: <none>
I've resolved this by run the k3s-docker with network_mode: "host"
from kilo.
kilo just feets my needs of cluster-nodes in diffrent zone, even diffent cloud-vm provider. thx for the working! @squat
I'm new to this project, even new to wireguard, but when I leaned wireguard with some hours, then install kilo
once it work, that makes me so happy! and I've tried reboot the cluster-node it's works fine too!
The impression of kilo
to me is lite, stable, easyusing, and good features like the circle image. Wonderful Projects!
from kilo.
@huapox I am very glad you got it working! And thank you for the feedback π
from kilo.
Related Issues (20)
- The pod kilo-* in node was evicted when the memory is out HOT 2
- Connection to K8S Service - SourceIP is not preserved (Source NAT) HOT 7
- istio support HOT 1
- Add Kilo in Cilium USER.md HOT 4
- ε¨k3sδΈθΏθ‘ε€±θ΄₯ HOT 2
- Peering clusters behind nat HOT 3
- Calico or Althea support HOT 1
- [Question]How Kilo works?
- nodes with same subnet in cluster
- spamming error "exit status 1: iptables v1.8.4 (nf_tables): table `filter' is incompatible, use 'nft' tool." HOT 8
- Request: Add feature to specify source ip address for all egress HOT 7
- Cluster with control-plane running in GKE and edge nodes behind NAT HOT 1
- does kilo support aws eks with aws-vpc-cni? HOT 2
- Use private network where possible in fully meshed network HOT 4
- Use Pod/Service IP as Egress Point / Egress Gateway Implementation
- Kilo Incorrectly Chooses an eth0 IP Over Node's Configured Internal IP HOT 6
- kgctl connect improve availability
- Has anyone tried to hack `k0s` support together?
- Question: Is the project still maintained? HOT 2
- Compatibility with Calico and BGP routing HOT 1
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 kilo.