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