[英]Not access from manager to node application Kubernetes cluster
Before ask my question I have to say that I am very new to Kubernetes :) 在问我的问题之前,我必须说我对Kubernetes非常陌生:)
I have a created a cluster in a Bare metal cloud with two Centos machines (the manager and one worker) and I used Calico pod network. 我在裸机云中使用两台Centos机器(经理和一名工人)创建了一个集群,并且使用了Calico pod网络。 Both nodes are ready and I have deployed the helloworld application of kubernetes (I have followed this tutorial step by step): https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/
两个节点都准备就绪,并且我已经部署了kubernetes的helloworld应用程序(我已按照本教程逐步进行操作): https ://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/
I can't access from my manager machine to this application, because is deployed on the worker. 我无法从管理器计算机访问此应用程序,因为它已部署在工作器上。 How could I do it?
我该怎么办?
Thanks! 谢谢!
Have you tried accessing the master using the NodePort? 您是否尝试过使用NodePort访问主机? It should forward the traffic to the worker.
它应该将流量转发给工作人员。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.