B
B
Blablabus2020-03-11 15:46:09
Kubernetes
Blablabus, 2020-03-11 15:46:09

Is it possible to set up nginx-ingress in a virtual environment?

Hello. I 'm deploying a cube cluster in a virtual environment (vmWare) .. I

have 3 nodes (master worker worker) and deployed a gray network using

kubeadm

downloaded kubectl apply -f I'm trying to attach it to ingress-ngings .. the service sees it, it sees it, but I can't get to it . Does ingress-nginx work at all, so to speak, on bare jelly? I won't turn down any other options.


Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Pugachev, 2020-03-11
@Stqs

Blablabus ,

does ingress-nginx work at all, so to speak, on bare jelly?

it works great, as
it were, for such things and exists when you don’t have a cool vendor like google, amazon, DO, openwork, etc.
service under sees, ingress under sees, but I can’t get to it

to be honest, it’s not entirely clear what service sees under and how you are trying to get to it
I have 3 nodes (master worker worker)

usually a cluster has at least 3 master nodes, unless of course you are building a sandbox for experiments
unfolded under and trying to attach it to ingess-ngings ..

usually in kubernetes we don’t deploy pods
pods are an ephemeral concept, maybe or not, depending on the situation
, we usually “deploy” Deployment, and kubernetes will figure out which one to create and where
exactly how do you monster it to nginx then?

C
chupasaurus, 2020-03-11
@chupasaurus

After deploying the default list of Nginx Ingress configs, 2 NodePorts are created (for HTTP and HTTPS), which are actually for external access, you can see them using kubectl -n ingress-nginx get svc ingress-nginx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question