Giter Site home page Giter Site logo

Comments (5)

squat avatar squat commented on May 16, 2024

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.

huapox avatar huapox commented on May 16, 2024

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.

huapox avatar huapox commented on May 16, 2024

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.

huapox avatar huapox commented on May 16, 2024

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.

squat avatar squat commented on May 16, 2024

@huapox I am very glad you got it working! And thank you for the feedback πŸŽ‰

from kilo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.