简体   繁体   中英

Internal nginx besides a k3s setup on one vps

currently I run a nginx on a vps and I want to install k3s. The vps has two public reachable IP addresses and I want that the nginx on the vps itself only react to one specific of these two addresses.

Where can I realize that I can run the internal nginx besides the k3s?

You can do that with NodePort. You can create Nginx Service in K3S of the NodePort type.

Node port will expose your service to host on specific port.

References:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM