P
P
pawelk2018-11-05 17:23:42
Kubernetes
pawelk, 2018-11-05 17:23:42

Kubernetes - how to set up balancing not in the cloud?

There are 4 virtual machines (located on the same network as my local machine), deployed kubernetes via kubeadm.
kubectl get nodes:
tst-kubernetes-01 Ready master 6m v1.10.5
tst-kubernetes-02 Ready 5m v1.10.5
tst-kubernetes-03 Ready 5m v1.10.5
tst-kubernetes-04 Ready 5m v1.10.5 Deploy
nginx on 02, 03.04 (NodePort). If I go in every day (for example, tst-kubernetes-02:port) - the page opens. I would like to have one entry point that will balance requests. LoadBalancer doesn't work in my case. Please tell me how this can be organized. Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2018-11-05
@vshvydky

https://docs.traefik.io/user-guide/kubernetes/ IMHO here

D
dimagusarov1, 2019-08-15
@dimagusarov1

any ingress

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question