{"id":29269,"date":"2025-04-20T07:21:10","date_gmt":"2025-04-19T23:21:10","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/29269.html"},"modified":"2025-04-20T07:21:10","modified_gmt":"2025-04-19T23:21:10","slug":"k8s%e9%83%a8%e7%bd%b2%e9%92%88%e5%af%b9%e5%a4%96%e9%83%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84prometheus%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/29269.html","title":{"rendered":"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1"},"content":{"rendered":"<p>\u5728Kubernetes(K8s)\u96c6\u7fa4\u4e2d\u90e8\u7f72Prometheus\u4ee5\u76d1\u63a7\u5916\u90e8\u670d\u52a1\u5668&#xff0c;\u6d89\u53ca\u5230\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4&#xff1a;\u914d\u7f6ePrometheus\u4ee5\u6293\u53d6\u8fdc\u7a0b\u76ee\u6807\u3001\u8bbe\u7f6e\u670d\u52a1\u53d1\u73b0\u673a\u5236\u3001\u4ee5\u53ca\u786e\u4fdd\u7f51\u7edc\u53ef\u8fbe\u6027\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u6307\u5357&#xff0c;\u6307\u5bfc\u60a8\u5982\u4f55\u5728Kubernetes\u4e2d\u90e8\u7f72\u5e76\u914d\u7f6ePrometheus&#xff0c;\u4ee5\u4fbf\u6709\u6548\u5730\u76d1\u63a7\u4e0d\u5728\u96c6\u7fa4\u5185\u7684\u5916\u90e8\u670d\u52a1\u5668\u3002<\/p>\n<h4 id=\"slide-0\">1. \u51c6\u5907\u5de5\u4f5c<\/h4>\n<ul>\n<li>\u786e\u4fddKubernetes\u96c6\u7fa4\u5df2\u5c31\u7eea&#xff1a;\u60a8\u5e94\u6709\u4e00\u4e2a\u6b63\u5728\u8fd0\u884c\u7684Kubernetes\u96c6\u7fa4&#xff0c;\u5e76\u5177\u5907\u4f7f\u7528kubectl\u7ba1\u7406\u96c6\u7fa4\u7684\u80fd\u529b\u3002<\/li>\n<li>\u4e86\u89e3Prometheus\u914d\u7f6e&#xff1a;\u719f\u6089Prometheus\u7684\u57fa\u672c\u914d\u7f6e\u7ed3\u6784&#xff0c;\u7279\u522b\u662f\u5173\u4e8e\u5982\u4f55\u5b9a\u4e49\u9759\u6001\u548c\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u7684\u90e8\u5206\u3002<\/li>\n<\/ul>\n<h4 id=\"slide-1\">2. \u90e8\u7f72Prometheus<\/h4>\n<p>\u9996\u5148&#xff0c;\u901a\u8fc7Helm\u6216\u76f4\u63a5\u4f7f\u7528YAML\u6587\u4ef6\u90e8\u7f72Prometheus\u5230Kubernetes\u96c6\u7fa4\u3002\u8fd9\u91cc\u4ee5Helm\u4e3a\u4f8b&#xff0c;\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u4fbf\u6377\u7684\u65b9\u5f0f\u6765\u5b89\u88c5\u548c\u7ba1\u7406Prometheus\u53ca\u5176\u76f8\u5173\u7ec4\u4ef6\u3002<\/p>\n<p># \u6dfb\u52a0Prometheus\u793e\u533a\u4ed3\u5e93<br \/>\nhelm repo add prometheus-community https:\/\/prometheus-community.github.io\/helm-charts<\/p>\n<p># \u66f4\u65b0\u4ed3\u5e93<br \/>\nhelm repo update<\/p>\n<p># \u90e8\u7f72Prometheus<br \/>\nhelm install prometheus prometheus-community\/prometheus<br \/>\n\u200b<\/p>\n<h4 id=\"slide-2\">3. \u914d\u7f6ePrometheus\u6293\u53d6\u5916\u90e8\u76ee\u6807<\/h4>\n<p>Prometheus\u652f\u6301\u901a\u8fc7\u9759\u6001\u914d\u7f6e\u6587\u4ef6\u76f4\u63a5\u5217\u51fa\u6293\u53d6\u76ee\u6807&#xff0c;\u6216\u662f\u5229\u7528\u670d\u52a1\u53d1\u73b0\u673a\u5236\u52a8\u6001\u53d1\u73b0\u76ee\u6807\u3002\u5bf9\u4e8e\u5916\u90e8\u670d\u52a1\u5668&#xff0c;\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\u662f\u4fee\u6539Prometheus\u914d\u7f6e\u4ee5\u5305\u542b\u8fd9\u4e9b\u5916\u90e8\u76ee\u6807\u3002<\/p>\n<h5 id=\"slide-3\">\u4fee\u6539Prometheus\u914d\u7f6e<\/h5>\n<li>\n<p>\u83b7\u53d6Prometheus\u914d\u7f6e\u6620\u5c04&#xff1a;\u9996\u5148&#xff0c;\u627e\u51faPrometheus Deployment\u6216StatefulSet\u4e2d\u914d\u7f6e\u6620\u5c04\u7684\u540d\u79f0\u3002<\/p>\n<p> kubectl get pod -l app.kubernetes.io\/name&#061;prometheus -o jsonpath&#061;&#039;{.items[0].spec.containers[0].volumeMounts[0].name}&#039;<br \/>\n\u200b\n <\/li>\n<li>\n<p>\u7f16\u8f91\u914d\u7f6e\u6620\u5c04&#xff1a;\u4f7f\u7528\u00a0kubectl edit\u547d\u4ee4\u7f16\u8f91\u914d\u7f6e\u6620\u5c04&#xff0c;\u6dfb\u52a0\u5916\u90e8\u670d\u52a1\u5668\u7684\u6293\u53d6\u914d\u7f6e\u3002<\/p>\n<p> kubectl edit cm &lt;configmap-name&gt; -n &lt;namespace&gt;<br \/>\n\u200b<\/p>\n<p>\u5728\u00a0scrape_configs\u90e8\u5206\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e&#xff0c;\u66ff\u6362\u00a0&lt;external_server_ip&gt;\u548c\u00a0&lt;port&gt;\u4e3a\u5b9e\u9645\u503c&#xff1a;<\/p>\n<p> scrape_configs:<br \/>\n  &#8211; job_name: &#039;external-server&#039;<br \/>\n    static_configs:<br \/>\n      &#8211; targets: [&#039;&lt;external_server_ip&gt;:&lt;port&gt;&#039;]<br \/>\n    metrics_path: &#039;\/metrics&#039; # \u6839\u636e\u5916\u90e8\u670d\u52a1\u5668\u7684\u5b9e\u9645\u6307\u6807\u8def\u5f84\u8c03\u6574<br \/>\n    scheme: &#039;http&#039; # \u6216https&#xff0c;\u53d6\u51b3\u4e8e\u670d\u52a1\u5668\u914d\u7f6e<br \/>\n\u200b\n <\/li>\n<li>\n<p>\u91cd\u542fPrometheus Pod&#xff1a;\u4fdd\u5b58\u914d\u7f6e\u53d8\u66f4\u540e&#xff0c;\u91cd\u542fPrometheus Pod\u4ee5\u5e94\u7528\u65b0\u7684\u914d\u7f6e\u3002<\/p>\n<p> kubectl rollout restart deployment\/prometheus -n &lt;namespace&gt;<br \/>\n\u200b\n <\/li>\n<h4 id=\"slide-4\">4. \u786e\u4fdd\u7f51\u7edc\u53ef\u8fbe\u6027<\/h4>\n<p>\u4e3a\u4e86\u8ba9Prometheus\u80fd\u591f\u6210\u529f\u6293\u53d6\u5916\u90e8\u670d\u52a1\u5668\u7684\u6307\u6807&#xff0c;\u9700\u8981\u786e\u4fddKubernetes\u96c6\u7fa4\u4e0e\u5916\u90e8\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u7f51\u7edc\u8fde\u63a5\u7545\u901a\u3002\u8fd9\u53ef\u80fd\u6d89\u53ca\u4ee5\u4e0b\u51e0\u79cd\u60c5\u51b5&#xff1a;<\/p>\n<ul>\n<li>\u9632\u706b\u5899\u89c4\u5219&#xff1a;\u786e\u4fdd\u96c6\u7fa4\u7684\u7f51\u7edc\u7b56\u7565\u548c\u5916\u90e8\u670d\u52a1\u5668\u7684\u9632\u706b\u5899\u5141\u8bb8Prometheus\u670d\u52a1\u5668\u7684IP\u5730\u5740\u8bbf\u95ee\u6307\u5b9a\u7aef\u53e3\u3002<\/li>\n<li>NAT\u4e0e\u8def\u7531&#xff1a;\u5982\u679cKubernetes\u96c6\u7fa4\u4f4d\u4e8e\u79c1\u6709\u7f51\u7edc\u5185&#xff0c;\u53ef\u80fd\u9700\u8981\u8bbe\u7f6eNAT\u89c4\u5219\u6216\u7aef\u53e3\u8f6c\u53d1&#xff0c;\u4ee5\u5141\u8bb8\u51fa\u7ad9\u8fde\u63a5\u5230\u5916\u90e8\u670d\u52a1\u5668\u3002<\/li>\n<li>TLS\u4e0e\u8ba4\u8bc1&#xff1a;\u5982\u679c\u5916\u90e8\u670d\u52a1\u5668\u4f7f\u7528HTTPS\u6216\u9700\u8981\u8eab\u4efd\u9a8c\u8bc1&#xff0c;\u9700\u5728Prometheus\u914d\u7f6e\u4e2d\u63d0\u4f9b\u76f8\u5e94\u7684\u8bc1\u4e66\u548c\u8ba4\u8bc1\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<h4 id=\"slide-5\">5. \u9a8c\u8bc1\u914d\u7f6e<\/h4>\n<ul>\n<li>\u68c0\u67e5Prometheus UI&#xff1a;\u8bbf\u95eePrometheus\u7684Web\u754c\u9762&#xff0c;\u67e5\u770b\u00a0Status -&gt; Targets&#xff0c;\u786e\u4fdd\u65b0\u6dfb\u52a0\u7684\u5916\u90e8\u670d\u52a1\u5668\u76ee\u6807\u72b6\u6001\u4e3a\u00a0UP\u3002<\/li>\n<li>\u67e5\u770b\u6307\u6807&#xff1a;\u5728Prometheus UI\u4e2d\u76f4\u63a5\u8f93\u5165\u6307\u6807\u540d\u67e5\u8be2&#xff0c;\u786e\u8ba4\u53ef\u4ee5\u4ece\u5916\u90e8\u670d\u52a1\u5668\u6210\u529f\u62c9\u53d6\u6570\u636e\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb828\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u5728Kubernetes(K8s)\u96c6\u7fa4\u4e2d\u90e8\u7f72Prometheus\u4ee5\u76d1\u63a7\u5916\u90e8\u670d\u52a1\u5668\uff0c\u6d89\u53ca\u5230\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u914d\u7f6ePrometheus\u4ee5\u6293\u53d6\u8fdc\u7a0b\u76ee\u6807\u3001\u8bbe\u7f6e\u670d\u52a1\u53d1\u73b0\u673a\u5236\u3001\u4ee5\u53ca\u786e\u4fdd\u7f51\u7edc\u53ef\u8fbe\u6027\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u6307\u5357\uff0c\u6307\u5bfc\u60a8\u5982\u4f55\u5728Kubernetes\u4e2d\u90e8\u7f72\u5e76\u914d\u7f6ePrometheus\uff0c\u4ee5\u4fbf\u6709\u6548\u5730\u76d1\u63a7\u4e0d\u5728\u96c6\u7fa4\u5185\u7684\u5916\u90e8\u670d\u52a1\u5668\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[120,678,43],"topic":[],"class_list":["post-29269","post","type-post","status-publish","format-standard","hentry","category-server","tag-kubernetes","tag-prometheus","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/29269.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb828\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u5728Kubernetes(K8s)\u96c6\u7fa4\u4e2d\u90e8\u7f72Prometheus\u4ee5\u76d1\u63a7\u5916\u90e8\u670d\u52a1\u5668\uff0c\u6d89\u53ca\u5230\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u914d\u7f6ePrometheus\u4ee5\u6293\u53d6\u8fdc\u7a0b\u76ee\u6807\u3001\u8bbe\u7f6e\u670d\u52a1\u53d1\u73b0\u673a\u5236\u3001\u4ee5\u53ca\u786e\u4fdd\u7f51\u7edc\u53ef\u8fbe\u6027\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u6307\u5357\uff0c\u6307\u5bfc\u60a8\u5982\u4f55\u5728Kubernetes\u4e2d\u90e8\u7f72\u5e76\u914d\u7f6ePrometheus\uff0c\u4ee5\u4fbf\u6709\u6548\u5730\u76d1\u63a7\u4e0d\u5728\u96c6\u7fa4\u5185\u7684\u5916\u90e8\u670d\u52a1\u5668\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/29269.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T23:21:10+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29269.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/29269.html\",\"name\":\"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T23:21:10+00:00\",\"dateModified\":\"2025-04-19T23:21:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/29269.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/29269.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29269.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/29269.html","og_locale":"zh_CN","og_type":"article","og_title":"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb828\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u5728Kubernetes(K8s)\u96c6\u7fa4\u4e2d\u90e8\u7f72Prometheus\u4ee5\u76d1\u63a7\u5916\u90e8\u670d\u52a1\u5668\uff0c\u6d89\u53ca\u5230\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u914d\u7f6ePrometheus\u4ee5\u6293\u53d6\u8fdc\u7a0b\u76ee\u6807\u3001\u8bbe\u7f6e\u670d\u52a1\u53d1\u73b0\u673a\u5236\u3001\u4ee5\u53ca\u786e\u4fdd\u7f51\u7edc\u53ef\u8fbe\u6027\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u6307\u5357\uff0c\u6307\u5bfc\u60a8\u5982\u4f55\u5728Kubernetes\u4e2d\u90e8\u7f72\u5e76\u914d\u7f6ePrometheus\uff0c\u4ee5\u4fbf\u6709\u6548\u5730\u76d1\u63a7\u4e0d\u5728\u96c6\u7fa4\u5185\u7684\u5916\u90e8\u670d\u52a1\u5668\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/29269.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T23:21:10+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/29269.html","url":"https:\/\/www.wsisp.com\/helps\/29269.html","name":"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T23:21:10+00:00","dateModified":"2025-04-19T23:21:10+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/29269.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/29269.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/29269.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"k8s\u90e8\u7f72\u9488\u5bf9\u5916\u90e8\u670d\u52a1\u5668\u7684prometheus\u670d\u52a1"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=29269"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29269\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=29269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=29269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=29269"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=29269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}