当前位置:网站首页>Cloud native monitoring practice (2) monitoring and collection of components outside the TKE cluster
Cloud native monitoring practice (2) monitoring and collection of components outside the TKE cluster
2022-06-24 17:05:00 【keke.】
stay Series articles (1) in , Realize the use of cloud native monitoring and collection TKE Monitoring indicators of daemons on nodes in the cluster . Next , Further describe how to use cloud native monitoring to collect TKE Monitoring indicators of components outside the cluster , such as Kong.
Premise : Inter-switch communication
Collection plan
1 There are three monitoring configuration portals supported by cloud native monitoring :ServiceMonitors、PodMonitors、RawJobs, among ServiceMonitors Yes k8s In the cluster service Object as target target Of .
2 k8s In the cluster service object , You can create endpoints To relate . Reference resources :https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors
Solution deployment
1 establish service, And manually associate endpoints object .endpoints Object is used to fill in the specific collection address outside the cluster .
The reference example is as follows :
apiVersion: v1
kind: Service
metadata:
name: kong-monitor
label:
app: kong-monitor
spec:
ports:
- protocol: TCP
port: 80
name: http
targetPort: 8001
---
apiVersion: v1
kind: Endpoints
metadata:
name: kong-monitor
subsets:
- addresses:
- ip: 192.0.2.42
ports:
- port: 8001
name: http2 Create on the cloud native monitoring console ServiceMonitors object :
When the appeal process is completed , You can configure grafana The panel .
边栏推荐
- Is CICC securities reliable? Is it legal? Is it safe to open a stock account?
- test
- What is the reason for the worse website SEO ranking?
- NFT元宇宙源码搭建解析与介绍
- 集体突破之后,中国公有云的下一步落在哪里?
- Ramda's little-known side
- 主链系统发展解析
- Low education without food? As an old Android rookie in the past six years, I was the most difficult one
- Robot toolbox matlab robotics toolbox
- [leetcode108] convert an ordered array into a binary search tree (medium order traversal)
猜你喜欢

A survey on dynamic neural networks for natural language processing, University of California
![[leetcode108] convert an ordered array into a binary search tree (medium order traversal)](/img/e1/0fac59a531040d74fd7531e2840eb5.jpg)
[leetcode108] convert an ordered array into a binary search tree (medium order traversal)

Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)

A survey of training on graphs: taxonomy, methods, and Applications

MySQL learning -- table structure of SQL test questions

A survey on model compression for natural language processing (NLP model compression overview)
随机推荐
Serial of H3CNE experiment column - spanning tree STP configuration experiment
API documents are simple and beautiful. It only needs three steps to open
Audio knowledge (I)
Nonholonomic constrained robot
What is the reason for the worse website SEO ranking?
Development of block hash game guessing system (mature code)
网站SEO排名越做越差是什么原因造成的?
Prometheus deployment
05. Tencent cloud IOT device side learning -- mqtt protocol client implementation
Following the previous SYSTEMd pit
Tencent cloud database mysql:sql flow restriction
About with admin option and with grant option
Week7 weekly report
Today, Tencent safety and SAIC Group officially announced!
[play Tencent cloud] experience and development of game multimedia engine (II)
Building a cross public chain platform to solve DAPP development problems
Swift array map/flatmap/compactmap/filter/reduce/chaining Usage Summary
Future banks need to think about today's structure with tomorrow's thinking
Zblog system realizes the tutorial of the number of articles published on the same day when the foreground calls
04. Tencent cloud IOT device side learning - network connection and device authentication