Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to quickly deploy Datadog on Rancher 2.0

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to quickly deploy Datadog on Rancher 2.0, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, people who have this need can learn, I hope you can gain something.

Datadog is a popular managed monitoring solution for aggregating and analyzing metrics and events for distributed systems. From infrastructure integration to collaboration dashboards, Datadog provides users with a concise, single-pane view of the information that matters most to them. Using Rancher and Datadog together, users can see a complete stack view of applications running on Kubernetes clusters, regardless of where they are running. To make Datadog easier to use with Rancher 2.0, Rancher engineers modified the Datadog Helm chart so that Rancher users could quickly and easily deploy Datadog in Rancher's Catalog and Datadog could be run in individual Rancher projects within a cluster.

preliminary preparation

Datadog API Key: You can use the key of an existing API key or have chart generate a new key.

By default, Rancher Kubernetes Engine (RKE) does not allow unauthenticated access to the Kubelet API on which many metrics depend. When installing clusters using RKE, we need to provide additional parameters for the kubelet service.

Note: You need to make sure that this port has the firewall open correctly.

You need a Kubernetes 1.8 connection to the Rancher installation.

setup and configuration

By default, there is a Datadog Rancher Chart (https://www.example.com) in the Rancher library and a Datadog Chart in Helm stable, but we recommend using the Chart in the Rancher library because it is easier and simpler to use. github.com/rancher/charts/tree/master/charts/datadog/v1.0.0 The Rancher library is enabled by default. If you want to disable the Rancher library, you can change this setting under Global-> Catalogs.

By adding the questions.yaml file, users can use chart configuration options in the Rancher UI. To learn more about them, see the values.yaml file (https://github.com/rancher/charts/blob/master/charts/datadog/v1.0.0/questions.yml), which contains additional information and links describing variables.

dashboard

If you plan to send multiple cluster data to the same Datadog endpoint, add the cluster name as a host tag when configuring Helm chart (for example, kube-cluster-name: CLUSTERNAME). This allows you to sort data into specific clusters by scope and group data by cluster in the dashboard. In the dashboard example below, we group node data by cluster according to some default widgets for clusters 'dash-1' and dash-2'.

conclusion

Deploying applications using Helm is a tested, standardized deployment method. Helm chart will be easier to use and configure with Rancher Catalog UI. Add Datadog chart to Rancher library, and users can leverage this workflow to easily enjoy top-of-the-line enterprise Kubernetes monitoring and alerting solutions.

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report