当前位置:网站首页>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 .
边栏推荐
- Zblog system realizes the tutorial of the number of articles published on the same day when the foreground calls
- [leetcode108] convert an ordered array into a binary search tree (medium order traversal)
- Cloud native monitoring via blackbox_ Exporter monitoring website
- New MySQL 8.0 feature - enhanced logical backup recovery
- zblog系统实现前台调用当天发布文章数量的教程
- What is thermal data detection?
- 中金证券靠谱吗?是否合法?开股票账户安全吗?
- Analysis and introduction of NFT meta universe source code construction
- TVP experts talk about geese factory middleware: innovating forward and meeting the future
- 05. Tencent cloud IOT device side learning -- mqtt protocol client implementation
猜你喜欢

A survey on dynamic neural networks for natural language processing, University of California

A survey on model compression for natural language processing (NLP model compression overview)

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

MySQL learning -- table structure of SQL test questions

Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)
![[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)
随机推荐
跟着Vam一起学习Typescript(第一期)
What is zero trust? Three classes will show you how to understand him!
To redefine the storage architecture, Huawei has used more than five "cores"
A set of very good H3C and Tianrongxin Internet cutover scheme templates, with word document download
[tke] nodelocaldnschache is used in IPVS forwarding mode
Low education without food? As an old Android rookie in the past six years, I was the most difficult one
Complete the log service CLS questionnaire in 1 minute and receive the Tencent cloud 30 yuan threshold free voucher ~
Zblog determines whether a plug-in installs the enabled built-in function code
Several schemes of traffic exposure in kubernetes cluster
Abstract factory pattern
5g brings opportunities and challenges. Are you ready to defend against DDoS?
New MySQL 8.0 feature - enhanced logical backup recovery
Development of block hash game guessing system (mature code)
How to perform concurrent stress testing on RTSP video streams distributed by audio and video streaming servers?
[log service CLS] Tencent cloud game battle engine mgobe accesses CLS
FPGA project development: experience sharing of lmk04821 chip project development based on jesd204b (I)
How to access tke cluster API interface with certificate or token
[play with Tencent cloud] & lt; trtc-room> Applet component usage
主链系统发展解析
Kubernetes 1.20.5 setting up Sentinel