胳膊肘往外拐是什么意思| 79年属什么生肖| 茱萸是什么东西| 党群是什么意思| 甲状腺炎有什么症状| 女生额头长痘痘是什么原因| 正月十九是什么日子| 糖宝是什么虫| 什么是兼职| 头晕是什么毛病| 天珠是什么做的| 露骨是什么意思| 左侧卵巢多囊样改变什么意思| 喝什么去火| 珍珠纱是什么面料| junior是什么意思| 爱出者爱返福往者福来什么意思| 宝宝乳糖不耐受喝什么奶粉比较好| 1878年属什么生肖| 菊花有什么功效和作用| 唐氏筛查是检查什么| 情何以堪 什么意思| 缺镁吃什么药| hpv低危型是什么意思| 肿瘤标志物五项检测是什么| 肝胆不好有什么症状有哪些表现| 口苦是什么毛病| 检查颈椎挂什么科| 双肺索条灶是什么意思| kpi是什么意思啊| 血糖高喝什么好| n是什么牌子| 生二胎应该注意什么| 为什么吃一点东西肚子就胀| 妹汁是什么| 阳历2月份是什么星座| 总梦到一个人说明什么| 子子念什么| 什么言| 胎儿偏小吃什么补得快| 花圃是什么意思| 什么是白虎| 反式脂肪是什么| 完了是什么意思| 什么人容易老年痴呆| 泌尿系统感染挂什么科| 厌氧菌感染用什么药| 一票制什么意思| 人为什么会打呼噜| 住院医师是什么级别| 女性睾酮低说明什么| nsaid是什么药| 1218是什么意思| 心悸是什么症状| 阳痿早泄是什么原因| 猴配什么生肖最好| 白子画什么时候爱上花千骨的| 夜明珠是什么东西| 肚脐有分泌物还发臭是什么原因| 小马过河的故事告诉我们什么道理| 慢性鼻窦炎吃什么药| 丹凤眼是什么样| bug是什么意思中文翻译| 国防部长什么级别| 中筋面粉是什么粉| 嘴角上扬是什么意思| 肾阴虚是什么意思| 别见怪是什么意思| 坐飞机什么东西不能带| 占卜是什么意思| 长沙为什么叫星城| 梦见小女孩是什么预兆| 光棍一条是什么生肖| 压抑是什么意思| 蚂蚁的天敌是什么| 什么是扁平足图片| 精索静脉曲张是什么| 下嘴唇发麻什么病兆| 心肌桥是什么病| 什么茶叶好喝又香又甜| 梦见西红柿什么意思| 炼乳是什么做的| 紫罗兰色是什么颜色| 同等学力是什么意思| 分野是什么意思| 双相情感障碍吃什么药| 感染hpv用什么药| 包皮炎看什么科| 1988年属什么| 獐子是什么动物| 臭虫长什么样子图片| 脊椎炎有什么症状| 作怪是什么意思| 偷是什么生肖| 钙化灶是什么意思| 什么益生菌能减肥| 吃什么药可以提高性功能| 推介会是什么意思| 蟋蟀是靠什么发声的| 衔接是什么意思| bioisland是什么牌子| 两横两竖是什么字| 酸菜鱼加什么配菜好吃| 小狗得细小是什么症状| 撸管什么意思| 六月二十一是什么日子| 手脚经常发麻是什么原因| 欲女是什么意思| 为什么第一次没有出血| 泌乳素偏高是什么原因| 吃什么长头发又密又多| 才高八斗代表什么生肖| 女性长期缺维d会带来什么病| ur是什么缩写| 葡萄糖属于什么糖| 什么的糯米| 电荷是什么| 大便干燥拉不出来是什么原因| 什么的走| 进产房吃什么补充体力| 丛林法则是什么意思| 后背凉凉的是什么原因| 腿痛挂什么科| 丹五行属性是什么| 容易出虚汗是什么原因| 北漂是什么意思| 立羽读什么| 当归炖鸡有什么功效| 9月3号是什么节日| 滑胎是什么意思| 黄豆什么时候种| 肚子胀气吃什么药好| 药师什么时候报名| 冷战的男人是什么心理| 浑身疼吃什么药管用| 甲醛中毒吃什么药解毒| 什么是磁共振| 乙类药品是什么意思| 三无是什么意思| 女性喝红茶有什么好处| 肝区回声密集是什么意思| 梦见地震是什么意思| 郑中基为什么娶余思敏| 长可以加什么偏旁| 逻辑性是什么意思| 涂素颜霜之前要涂什么| 莱昂纳多为什么叫小李子| 异地办理护照需要什么材料| 咖啡和什么不能一起吃| 古驰是什么牌子| 盆腔炎什么症状| 为什么会胰岛素抵抗| 男人的精子对女人有什么好处| 梦见杀狗是什么预兆| 骨折一个月能恢复到什么程度| 血管堵塞有什么症状| 氯雷他定是什么药| 流鼻血是什么病的前兆| 看包皮挂什么科| 背上长白斑是什么病的症状| 呼吸音粗是什么原因| 佛手柑是什么| 肝区回声密集是什么意思| 骨折吃什么好| 六月十二日是什么日子| 血燥是什么意思| 巴基斯坦用什么语言| 蟑螂是什么样子的| 巨蟹座幸运花是什么| 五月是什么星座| 处女膜在什么位置| 胆囊炎吃什么消炎药| 什么咖啡好喝| 什么时候抓知了猴| 恶搞是什么意思| 四个一是什么| 瘢痕是什么意思| 肺火旺吃什么药最有效| 夜咳嗽是什么原因| fci是什么意思| 为什么你| 水痘不能吃什么食物| noxa20是什么药| 丁是什么意思| 手会抖是什么原因| 攒肚是什么意思| 血热吃什么药好| 乙肝表面抗体弱阳性什么意思| 女大一抱金鸡是什么意思| 颇负什么什么| 凯格尔运动是什么| 50年是什么婚姻| 90年属什么的生肖| 纯水是什么| 保胎吃什么食物好| 四季豆不能和什么一起吃| 蝉联什么意思| 心脏下面是什么器官| 曾是什么意思| mono是什么意思| 甲亢是什么原因导致的| 深情款款什么意思| 丝瓜是什么| 辛弃疾字什么| 夏雨什么| 教师节送什么礼物给老师| 七九年属什么生肖| 三月三十号是什么星座| 生意盎然什么意思| 男人为什么累| 牛什么饭| 肚子痛是什么原因| 水险痣是什么意思| 甲亢是一种什么病| 肝是起什么作用的| 胃ct能检查出什么病| 血小板吃什么补得快点| 恍惚是什么意思| 嗓子干痒咳嗽吃什么药| 莲花代表什么象征意义| 喉咙一直有痰是什么原因| 崎字五行属什么| 悬雍垂发炎吃什么药| 结肠炎吃什么药| 午未合化什么| 施华蔻属于什么档次| 儿童办护照需要什么证件| 祁是什么意思| 茭头是什么| 透明的什么| 阳痿早泄吃什么药| 手麻胳膊麻是什么原因引起的| 高挑是什么意思| 中元节注意什么| 21.75是什么意思| 老虎头上为什么有王字| vol是什么意思| 山合念什么| 孩子注意力不集中是什么原因| 脖子为什么有颈纹| pvs是什么意思| 龟头炎看什么科| 冰酒是什么酒| 肠胃炎可以吃什么药| 汉族为什么叫汉族| 方兴未什么| 醒面是什么意思| 鱼饼是什么做的| 女性胆固醇高吃什么好| 社畜是什么意思| 叶酸什么时间段吃最好| 近水楼台是什么意思| 舌吻是什么| 什么清什么秀| 吐槽是什么意思啊| 针眼是什么原因引起的| 宝宝拉肚子吃什么好| 千年等一回是什么生肖| 5月31号是什么星座| 射手什么象星座| 吃什么帮助消化通便| 茯苓生长在什么地方| 旖旎是什么意思| 喉癌是什么原因引起的| 百度
拔完智齿可以吃什么 什么中药可以降糖 瞳孔放大意味着什么 八月有什么节日 铁树开花什么意思
桑黄长在什么树上 男生早上为什么会晨勃 荨麻疹吃什么 josiny是什么牌子 手术后发烧是什么原因
省委副书记什么级别 7.21是什么日子 甘之如饴什么意思 暗经是什么意思 眼镜蛇为什么叫眼镜蛇
玄胡又叫什么 吗丁啉是什么药 出品人是干什么的 手心脚心发热是什么原因 什么学什么问
c反应蛋白是什么意思hcv9jop3ns0r.cn 出汗太多吃什么药好hcv8jop0ns2r.cn 幽门螺旋杆菌的症状是什么hcv9jop8ns1r.cn 矗读什么hcv7jop5ns1r.cn 适当是什么意思hcv7jop5ns0r.cn
spa是什么服务hcv8jop2ns9r.cn 经常尿路感染是什么原因hcv8jop0ns4r.cn 咸肉烧什么好吃hcv8jop4ns5r.cn 胡麻是什么植物hcv9jop1ns0r.cn 围棋九段是什么水平hcv8jop4ns6r.cn
消停是什么意思hcv8jop6ns4r.cn 考试前吃什么提神醒脑hcv9jop2ns9r.cn 什么导航好用又准确hcv9jop3ns1r.cn 活菩萨是什么意思xscnpatent.com slc是什么意思xianpinbao.com
老鼠怕什么ff14chat.com 湿化瓶内放什么水hcv9jop5ns0r.cn 老保是什么意思hcv8jop8ns0r.cn swan是什么意思hcv8jop1ns6r.cn 梦到自己的妈妈死了是什么意思hcv9jop6ns6r.cn
The Monitor

去年令人印象深刻的独立游戏 不只3A大作才好玩

百度 那么,这一在舆论中甚为低调的反政府武装究竟有什么来头?为何连力量强大的印度军警都徒唤奈何呢?频频在恰蒂斯加尔邦地区对印度军警发动袭击的纳萨尔武装,其前身是早在1967年即告成立的印度左翼政治组织。

7 minute read

Published

Share

Monitor GKE Autopilot with Datadog
Kai Xin Tai

Kai Xin Tai

Yair Cohen

Yair Cohen

Google Kubernetes Engine (GKE) is the preferred way to run Kubernetes on Google Cloud as it removes the operational overhead of managing the control plane. Earlier today, Google Cloud announced the general availability of GKE Autopilot, which manages your cluster's entire infrastructure—both the control plane and worker nodes—so that you can spend more time building your applications. Datadog is proud to partner with Google Cloud for this launch to give you deep visibility into your dynamic, containerized workloads on Autopilot.

In this post, we'll show you how to deploy Datadog on your Autopilot cluster and leverage Datadog's entire feature set, including out-of-the-box dashboards and Live Containers, to comprehensively monitor all of your telemetry data.

Fully managed, but fully capable

If you're an existing GKE user, you might notice a few differences with Autopilot. First, Google Cloud is now responsible for managing your nodes and autoscaling them according to the needs of your workloads. This enables you to monitor your nodes at a distance, without worrying about capacity or routine maintenance concerns. Second, Autopilot takes care of pod scheduling so you can freely run your workloads—you no longer need to spend time bin packing to optimize resource usage and costs. In some cases, Autopilot might even reserve more resources than you request in order to optimize performance, but you only pay for what your pods actually request while they're running. And third, Autopilot is built with opinionated best practice patterns (e.g., workload identity for security) to ensure your deployments are production-ready.

Even though Autopilot handles all of your infrastructure needs, the underlying nodes running your workloads are not completely abstracted away. This means you can still keep tabs on node activity and perform certain operational tasks that you're used to. For instance, you can use commands like kubectl get nodes and kubectl describe nodes to inspect your nodes, and use workload scheduling constraints like pod affinity and anti-affinity to co-locate pods on the same node, or prevent such co-location. Additionally, you can use node selectors and node affinity for zonal topologies (e.g., to group all pods in a certain zone), but not to assign pods to specific nodes. Autopilot also supports DaemonSets so you can run background processes in a resource-efficient manner (compared to using a sidecar pattern, for instance).

Get a high-level view of your containerized applications running on GKE Autopilot

Datadog gives you comprehensive visibility into your applications on GKE Autopilot by collecting metrics, traces, and logs from Kubernetes, Docker, and any of our 850+ integrations that you're running. You can immediately visualize node-, container-, and pod-level data on our out-of-the-box dashboards, or create custom dashboards for seamless data correlation across your entire stack.

Datadog displays key Kubernetes metrics in a customizable out-of-the-box dashboard.
Datadog displays key Kubernetes metrics in a customizable out-of-the-box dashboard.

For instance, you'll want to keep an eye on the number of available and unavailable pods in your Autopilot cluster. While brief disruptions in availability can be expected during pod startup or rolling updates, an anomalous spike in the number of unavailable pods can indicate an issue with the configuration of their readiness probes. If this occurs, you can easily pivot to the pod's logs to gather more context around the issue.

View real-time information on every Kubernetes resource

Even as your Autopilot environment grows increasingly complex, Datadog can help you surface performance issues and provide the context you need to effectively troubleshoot them. Live Containers delivers real-time insight into every layer of your Kubernetes clusters—from Deployments and Services down to individual pods. Datadog automatically imports metadata from Kubernetes, Docker, and Google Cloud services, and turns it into standardized tags (e.g., kube_cluster_name, pod_name, image_name) that you can use to drill down to specific resources.

Monitor the status of Deployment rollouts

During the rollout of a Deployment, Kubernetes creates or updates ReplicaSets to reach the state you have specified in your Deployment manifest. Live Containers makes it easy for you to track the status of rollouts and ensure that they're successful. In the example below, we can see that the Deployment has created eight replicas, which are all up to date and available. We can also see the state of each ReplicaSet and verify that they are running as expected.

Monitor all of your Deployment rollouts and diagnose any issues that arise
Monitor all of your Deployment rollouts and diagnose any issues that arise

However, Deployments can also fail for a number of reasons, such as when a LimitRange constraint is violated or a pod quota is reached. If you encounter an issue with a rollout, you can easily view related metrics (e.g., resource usage, requests, and limits) and logs to gather more context around the issue.

In the Metrics tab, you can view key metrics related to your deployment, such as replica count and resource utilization.
In the Metrics tab, you can view key metrics related to your deployment, such as replica count and resource utilization.

In addition, you can create a service level objective (SLO) that tracks the number of unavailable replicas in each Deployment—and monitor its status in real time—to ensure that you're always meeting your application's targets.

You can create an SLO to track the number of unavailable replicas in your deployment.
You can create an SLO to track the number of unavailable replicas in your deployment.

Track pod resource utilization

In addition, Live Containers tracks the resource utilization of your pods to help you make informed decisions when it comes to setting (or adjusting) requests and limits. If you specify too few resources, Kubernetes might begin throttling CPU to your pods or terminating those that have run out of memory. At the same time, you'll want to avoid requesting—and paying for—more resources than your pods actually need. Note that pod vCPU comes in increments of 0.25 units, and the ratio of memory (in GiB) to vCPU must fall between 1:1 and 1:6.5. If you specify an invalid ratio, Autopilot will automatically scale up your resources accordingly.

In Datadog, you can get a high-level overview of the resource utilization of your deployments—and quickly identify the ones that are most CPU- and memory-intensive—on our out-of-the-box dashboard, as shown below. For more granular insight, you can navigate to the Pods tab of Live Containers and view the resource utilization of each container in a pod. Since Autopilot charges for the amount of resources your pods request, you can use this information to make any adjustments to optimize cost. You'll want to fine tune your requests and make them more aligned with actual usage as well as investigate any anomalous spikes in usage.

Visualize deployment resource utilization on our out-of-the-box dashboard
Visualize deployment resource utilization on our out-of-the-box dashboard

Keep tabs on node health and performance

Even though Autopilot is managing your nodes, you can still keep tabs on their health and performance with Datadog. Nodes launched by GKE are searchable in Datadog with prefix gk3. Clicking on a node reveals key information such as its configuration details and the status of its constituent pods. From this panel, you can navigate to the pods page to view more detailed pod-level information.

Live Containers lets you monitor the health and performance of your Autopilot nodes
Live Containers lets you monitor the health and performance of your Autopilot nodes

Deploy Datadog on GKE Autopilot

Start by installing Helm and adding the Datadog repository. Then, deploy the Datadog Agent and Cluster Agent on Autopilot by running the command below. Note that the command also enables log and trace collection; you can omit the flags if you do not wish to enable them.

Terminal window
helm install <RELEASE_NAME> \
--set datadog.apiKey=<DATADOG_API_KEY> \
--set datadog.appKey=<DATADOG_APP_KEY> \
--set clusterAgent.enabled=true \
--set clusterAgent.metricsProvider.enabled=true \
--set providers.gke.autopilot=true \
--set datadog.logs.enabled=true \
--set datadog.apm.enabled=true \
--set datadog.kubeStateMetricsEnabled=false \
--set datadog.kubeStateMetricsCore.enabled=true \
datadog/datadog

See our documentation for more configuration options.

Once installed, the Agent will use Autodiscovery to automatically detect when certain common services (e.g., Redis, Elasticsearch) spin up and report metrics from those services. This helps you continuously monitor your containerized applications without any gaps, even as they scale or shift across containers and nodes. You can also enable our Google Cloud integration to monitor any Google Cloud services you're running alongside Autopilot, such as Bigtable and Cloud Load Balancing.

In addition, you can register the Cluster Agent as an External Metrics Provider—and use the Kubernetes Horizontal Pod Autoscaler (HPA) to autoscale your workloads off of any metric in your Datadog account, as well as any custom Datadog metric query.

Start monitoring GKE Autopilot today

Autopilot fully manages both the Kubernetes control plane and worker nodes to provide an even more hands-off experience, so that you can focus on your applications and customers. Datadog's new integration with Autopilot—along with our existing Kubernetes, Docker, and Google Cloud integrations—gives you all the context you need to ensure your containerized applications are running optimally. Head over to our documentation to learn more. If you're not yet using Datadog, you can get started with a 14-day full-featured .

Related Articles

Monitor GKE with Datadog

Monitor GKE with Datadog

New GKE dashboards and metrics provide deeper visibility into your environment

New GKE dashboards and metrics provide deeper visibility into your environment

Monitor your T2A-powered GKE workloads with Datadog

Monitor your T2A-powered GKE workloads with Datadog

Monitor Windows containers on Google Cloud with Datadog

Monitor Windows containers on Google Cloud with Datadog

Start monitoring your metrics in minutes

百度