In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1.1. Background
The purpose of this article is to illustrate the following problems: how to access multiple services outside the grid using the same port of the TCP protocol? This was put forward by a classmate during the recent live broadcast. At that time, I did not fully understand the meaning of "visiting multiple clusters". After thinking about it carefully later, the problem should be how to access different services through the same protocol and ports in the Istio service grid.
1.2, usage scenarios
Someone will certainly answer, since the same port cannot be used, why not switch to another port, which is also a solution. I was thinking there must be some scenes that can't or can't be bypassed.
1) if three environments of production, testing and development are deployed in the same grid, you need to access the mysql database of the corresponding environment through port 3306.
2) if three environments of production, testing and development are deployed in the same grid, you need to access the redis of the corresponding environment through port 6379.
Today, with the popularity of micro-services, collaboration between teams is often needed, and there is no way to guarantee that all micro-services run in the same service grid. Especially the middleware service, as a public service of the company, must be shared by the business. Since we inevitably need to use the same port to access external services, let's tell you two ways to solve the above problems.
1.3, solution
To access https://github.com and https://www.huaweicloud.com through the same port 443, and to access external services from within the grid, you need to create corresponding ServiceEntentry:
1) www.huaweicloud.com
Cat
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.