Open getkub opened 7 months ago
Here you have a solution https://sysadmin.info.pl/en/blog/nginx-ingress-controller-for-n8n-how-to-create-it-and-deploy-in-kubernetes/
sob., 3 lut 2024, 17:37 użytkownik getkub @.***> napisał:
Not able to work with the ingress
kubectl apply -f ingress/nginx-ingress-n8n-service.yml The Service "nginx-ingress-n8n" is invalid: spec.ports[0].nodePort: Invalid value: 5678: provided port is not in the valid range. The range of valid ports is 30000-32767
— Reply to this email directly, view it on GitHub https://github.com/sysadmin-info/n8n-k3s/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFULAOV6PCNPRDEL7HKVT4TYRZRT3AVCNFSM6AAAAABCYEU7M6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTMNJXGUYDCOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Here you have a solution https://sysadmin.info.pl/en/blog/nginx-ingress-controller-for-n8n-how-to-create-it-and-deploy-in-kubernetes/
sob., 3 lut 2024, 17:37 użytkownik getkub @.***> napisał: … Not able to work with the ingress kubectl apply -f ingress/nginx-ingress-n8n-service.yml The Service "nginx-ingress-n8n" is invalid: spec.ports[0].nodePort: Invalid value: 5678: provided port is not in the valid range. The range of valid ports is 30000-
How can we achieve the same thing for Talos Linux?
"Also you need to modify the k3s service to change port range the way I presented. Without this it will not work, just because I am using a NodePort 5678 and by default Kubernetes is using a range for ports between 30000 and 32767. "
Refer: https://www.talos.dev/v1.6/talos-guides/network/ingress-firewall/
You need to modify the range of ports for k3s service. I presented how to do it.
niedz., 31 mar 2024, 07:28 użytkownik Siva @.***> napisał:
Here you have a solution https://sysadmin.info.pl/en/blog/nginx-ingress-controller-for-n8n-how-to-create-it-and-deploy-in-kubernetes/
sob., 3 lut 2024, 17:37 użytkownik getkub @.***> napisał: … <#m-7087088656729796847> Not able to work with the ingress kubectl apply -f ingress/nginx-ingress-n8n-service.yml The Service "nginx-ingress-n8n" is invalid: spec.ports[0].nodePort: Invalid value: 5678: provided port is not in the valid range. The range of valid ports is 30000-
How can we achieve the same thing for Talos Linux?
"Also you need to modify the k3s service to change port range the way I presented. Without this it will not work, just because I am using a NodePort 5678 and by default Kubernetes is using a range for ports between 30000 and 32767. "
Refer: https://www.talos.dev/v1.6/talos-guides/network/ingress-firewall/
— Reply to this email directly, view it on GitHub https://github.com/sysadmin-info/n8n-k3s/issues/1#issuecomment-2028561775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFULAOXIOVYHSQD73FAP43LY26NIBAVCNFSM6AAAAABCYEU7M6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGU3DCNZXGU . You are receiving this because you commented.Message ID: @.***>
You need to modify the range of ports for k3s service. I presented how to do it. niedz., 31 mar 2024, 07:28 użytkownik Siva @.***> napisał: …
I'm not using k3s; instead, I'm utilizing Talos Linux. Additionally, with Talos Linux, I don't have access to SSH.
You need to modify the range of ports for k3s service. I presented how to do it. niedz., 31 mar 2024, 07:28 użytkownik Siva @.***> napisał: …
I'm not using k3s; instead, I'm utilizing Talos Linux. Additionally, with Talos Linux, I don't have access to SSH.
I received a reply from Talos stating that it's not a Talos issue but rather lacks Kubernetes best practices.
https://github.com/siderolabs/talos/issues/8513#issuecomment-2029851746
You need to modify the range of ports for k3s service. I presented how to do it. niedz., 31 mar 2024, 07:28 użytkownik Siva @.***> napisał: …
I'm not using k3s; instead, I'm utilizing Talos Linux. Additionally, with Talos Linux, I don't have access to SSH.
I received a reply from Talos stating that it's not a Talos issue but rather lacks Kubernetes best practices.
I created a tutorial for k3s cluster not for Talos. So if you are using Talos, try to find out is it possible to modify the range. Or stay with the standard port instead modifying the service change the port from 5678 to 30000. Just 5678 is a default port for n8n and the problem is that the Kubernetes best practices are using by default this range: 30000 and 32767. So, f it says that the port is wrong, and you cannot modify the service in Talos (I do not know this) just modify the port in file nginx-ingress-n8n-service.yml as I wrote and implement the yaml file using the below command: kubectl apply -f ingress/nginx-ingress-n8n-service.yml What I did, I modified the port against Kubernetes best practices, to show that it is possible. Is it secure? Yes, but only if you work with the environment you can secure by isolating it from the Internet and also by isolating it using VLANs inside your network.
Not able to work with the ingress