How to access to a kubenetes pod from outside using proxmox

Juliet

Member
Oct 24, 2023
55
0
6
Hi,
I have a proxmox node, I have installed a kubernetes cluseter, this cluster consist od 3 node:
k8s-ctrlr192.168.1.2
k8s-node-01192.168.1.3
k8s-node-02192.168.1.4

to access to the master node(k8s-ctrlr), I need first ssh to proxmox then I need to do another ssh to the master node(192.168.1.2).
so I create a pod (nginx) to test my cluster and here's the result :
1706623600019.png

as you see the nginx is running as expected.

but the problem when I try to access it from the browser it doesnt work : (30080 is nodePort service)
1706623734977.png

is there any solution to access the nginx application using @ip of the master node, or proxmox @ip ?

thanks for you help
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!