Answer the question
In order to leave comments, you need to log in
Is it possible to assign an IP address to a Pod and a Servic? And what are the pitfalls?
Hello, I recently started learning k8s.
I came across
Loadbalancing - which requires AWS and all sorts of Google Platforms, I don’t have this :( :( :(
NodePort - interesting, but in fact, the port is simply assigned to the ip addresses of the workers.
ClusterIP - the actual proxy needs to be installed and access will be through the master Ingress is a
very difficult decision.And as I understand it, it goes in conjunction with LoadBalancing or NodePort, which in fact gives a CNAME binding to an IP or Port.In
general, I wondered how to assign an IP address to Pod and Servic?and what pitfalls are
PS
Am I thinking right or is it rutting ?
Answer the question
In order to leave comments, you need to log in
It makes no sense to assign an address to a pod - a pod is an ephemeral (short-lived) thing.
NodePort - not recommended for use in production.
So what remains is Ingress - there are many examples of how to raise it, it's not so scary.
More details - for example https://medium.com/google-cloud/kubernetes-nodepor...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question