{"id":35472,"date":"2022-12-30T00:22:45","date_gmt":"2024-02-24T02:55:01","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/"},"modified":"2024-04-29T07:35:45","modified_gmt":"2024-04-28T23:35:45","slug":"kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/","title":{"rendered":"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1"},"content":{"rendered":"<h1>Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1<\/h1>\n<h2>\u76ee\u5f55<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u306f\u3058\u3081\u306b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Kubernetes\u306e\u57fa\u672c\u7684\u306a\u30ea\u30bd\u30fc\u30b9\u5236\u5fa1\u6a5f\u69cb<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Node\u306e\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u6d3b\u7528\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u3092\u6d3b\u7528\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">2\u3064\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u9078\u629e\u57fa\u6e96<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u307e\u3068\u3081<\/ul>\n<hr \/>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>Kubernetes\uff08K8s\uff09\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3001\u904b\u7528\u3092\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e2\u3064\u306e\u4e3b\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h2>Kubernetes\u7684\u57fa\u672c\u8d44\u6e90\u63a7\u5236\u673a\u5236<\/h2>\n<h3>\u8bf7\u95ee &#8220;requests&#8221; \u548c &#8220;limits&#8221; \u662f\u4ec0\u4e48\u610f\u601d\uff1f<\/h3>\n<h1>Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1<\/h1>\n<h2>\u7d22\u5f15<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u306f\u3058\u3081\u306b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Kubernetes\u306e\u57fa\u672c\u7684\u306a\u30ea\u30bd\u30fc\u30b9\u5236\u5fa1\u6a5f\u69cb<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Node\u306e\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u6d3b\u7528\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u3092\u6d3b\u7528\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">2\u3064\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u9078\u629e\u57fa\u6e96<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u307e\u3068\u3081<\/ul>\n<hr \/>\n<h2>\u9996\u5148<\/h2>\n<p>Kubernetes\uff08K8s\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u81ea\u52a8\u5316\u90e8\u7f72\u3001\u6269\u5c55\u548c\u8fd0\u7ef4\u5bb9\u5668\u5316\u5e94\u7528\u7a0b\u5e8f\u7684\u5e73\u53f0\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdKubernetes\u4e2d\u8d44\u6e90\u7ba1\u7406\u7684\u4e24\u79cd\u4e3b\u8981\u65b9\u6cd5\u3002<\/p>\n<hr \/>\n<h2>Kubernetes\u7684\u57fa\u672c\u8d44\u6e90\u63a7\u5236\u673a\u5236<\/h2>\n<h3>\u8bf7\u6c42\u548c\u9650\u5236\u662f\u4ec0\u4e48\uff1f<\/h3>\n<p>\u5728Kubernetes\u4e2d\uff0c\u4f7f\u7528requests\u548climits\u6765\u63a7\u5236Pod\u548c\u5bb9\u5668\u7684\u8d44\u6e90\u4f7f\u7528\u91cf\u3002requests\u6307\u5b9a\u8d44\u6e90\u7684\u6700\u5c0f\u4fdd\u8bc1\u91cf\uff0c\u800climits\u6307\u5b9a\u5141\u8bb8\u7684\u6700\u5927\u91cf\u3002<\/p>\n<p>\u6211\u5728\u5bb6\u4f11\u606f\u4e86\u4e00\u5929\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"na\">resources<\/span><span class=\"pi\">:<\/span>\r\n  <span class=\"na\">requests<\/span><span class=\"pi\">:<\/span>\r\n    <span class=\"na\">memory<\/span><span class=\"pi\">:<\/span> <span class=\"s2\">\"<\/span><span class=\"s\">1Gi\"<\/span>\r\n    <span class=\"na\">cpu<\/span><span class=\"pi\">:<\/span> <span class=\"s2\">\"<\/span><span class=\"s\">500m\"<\/span>\r\n  <span class=\"na\">limits<\/span><span class=\"pi\">:<\/span>\r\n    <span class=\"na\">memory<\/span><span class=\"pi\">:<\/span> <span class=\"s2\">\"<\/span><span class=\"s\">2Gi\"<\/span>\r\n    <span class=\"na\">cpu<\/span><span class=\"pi\">:<\/span> <span class=\"s2\">\"<\/span><span class=\"s\">1\"<\/span>\r\n<\/code><\/pre>\n<h3>\u670d\u52a1\u8d28\u91cf(QoS) \u7c7b\u7684\u6982\u8ff0<\/h3>\n<p>Kubernetes\u306f\u3001Node\u4e0a\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u4e0d\u8db3\u3059\u308b\u5834\u9762\u3067\u3001\u3069\u306ePod\u3092\u5148\u306b\u8ffd\u3044\u51fa\u3059\uff08Evict\uff09\u304b\u3092\u6c7a\u5b9a\u3059\u308b\u969b\u306e\u57fa\u6e96\u3068\u3057\u3066\u3001QoS\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h3>QoS\u30af\u30e9\u30b9\u306e\u512a\u5148\u9806\u4f4d<\/h3>\n<p>BestEffort:<\/p>\n<p>\u6700\u4f4e\u306e\u512a\u5148\u9806\u4f4d\u3092\u6301\u3061\u307e\u3059\u3002<br \/>\nPod\u5185\u306e\u5168\u3066\u306e\u30b3\u30f3\u30c6\u30ca\u304cCPU\u3082\u30e1\u30e2\u30ea\u3082requests\u3084limits\u3092\u6301\u305f\u306a\u3044\u5834\u5408\u306b\u3053\u306e\u30af\u30e9\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30ea\u30bd\u30fc\u30b9\u4e0d\u8db3\u6642\u306b\u306f\u6700\u521d\u306b\u8ffd\u3044\u51fa\u3055\u308c\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Burstable:<\/p>\n<p>\u4e2d\u9593\u306e\u512a\u5148\u9806\u4f4d\u3092\u6301\u3061\u307e\u3059\u3002<br \/>\nPod\u5185\u306e\u5c11\u306a\u304f\u3068\u30821\u3064\u306e\u30b3\u30f3\u30c6\u30ca\u304cCPU\u307e\u305f\u306f\u30e1\u30e2\u30ea\u306erequests\u3092\u6301\u3061\u3001\u304b\u3064\u3001requests\u3068limits\u304c\u7570\u306a\u308b\u3001\u307e\u305f\u306flimits\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u3053\u306e\u30af\u30e9\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nBestEffort\u3088\u308a\u306f\u8ffd\u3044\u51fa\u3057\u306b\u304f\u3044\u304c\u3001Guaranteed\u3088\u308a\u306f\u8ffd\u3044\u51fa\u3057\u3084\u3059\u3044\u3002<\/p>\n<p>Guaranteed:<\/p>\n<p>\u6700\u9ad8\u306e\u512a\u5148\u9806\u4f4d\u3092\u6301\u3061\u307e\u3059\u3002<br \/>\nPod\u5185\u306e\u5168\u3066\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u7b49\u3057\u3044requests\u3068limits\u3092\u6301\u3064\u5834\u5408\u306b\u3053\u306e\u30af\u30e9\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30ea\u30bd\u30fc\u30b9\u4e0d\u8db3\u6642\u3067\u3082\u6700\u5f8c\u307e\u3067\u6b8b\u3055\u308c\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u5c06Pod\u9a71\u9010\u6d41\u7a0b<\/h3>\n<p>\u5f53Node\u4e0a\u7684\u8d44\u6e90\u8fbe\u5230\u538b\u529b\u65f6\uff0cKubernetes\u4f1a\u5c1d\u8bd5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u9a71\u9010Pod\uff1a<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u786e\u5b9a\u7f3a\u5931\u7684\u8d44\u6e90\u7c7b\u578b\uff08\u4f8b\u5982\uff1a\u5185\u5b58\u3001CPU\uff09\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u6839\u636eQoS\u7c7b\u522b\u7684\u4f18\u5148\u7ea7\u548c\u540c\u4e00QoS\u7c7b\u522b\u5185Pod\u7684\u8fd0\u884c\u65f6\u95f4\uff0c\u5bf9\u8be5\u8282\u70b9\u4e0a\u7684Pod\u8fdb\u884c\u6392\u5e8f\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u6839\u636e\u6392\u5e8f\u987a\u5e8f\uff0c\u9010\u4e2a\u5c1d\u8bd5\u5c06\u4f18\u5148\u7ea7\u6700\u4f4e\u7684Pod\u9010\u51fa\u3002<\/ol>\n<p>\u901a\u8fc7\u8fd9\u79cd\u6d41\u7a0b\uff0cKubernetes\u80fd\u591f\u5728\u4fdd\u6301\u7cfb\u7edf\u6574\u4f53\u7a33\u5b9a\u6027\u7684\u540c\u65f6\uff0c\u6709\u6548\u5730\u7ba1\u7406\u8d44\u6e90\u77ed\u7f3a\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3001Kubernetes\u306b\u304a\u3051\u308bPod\u306e\u8ffd\u3044\u51fa\u3057\u306e\u512a\u5148\u9806\u4f4d\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5c06Pod\u7684\u4f18\u5148\u7ea7\u4e0e\u9a71\u9010\u987a\u5e8f\u5bf9\u5e94\u914d\u5bf9<\/h3>\n<p>Kubernetes\u306f\u3001Node\u4e0a\u3067\u30ea\u30bd\u30fc\u30b9\u304c\u5727\u8feb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u3001\u3069\u306ePod\u3092\u5148\u306b\u8ffd\u3044\u51fa\u3059\u304b\u3092\u6c7a\u5b9a\u3059\u308b\u305f\u3081\u306e\u660e\u78ba\u306a\u512a\u5148\u9806\u4f4d\u304c\u5b9a\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u512a\u5148\u9806\u4f4d\u306f\u4e3b\u306b2\u3064\u306e\u57fa\u6e96\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\uff1aQoS\u30af\u30e9\u30b9\u3068Pod\u306e\u30a8\u30a4\u30b8\uff08\u7a3c\u50cd\u6642\u9593\uff09\u3002<\/p>\n<p>QoS\u30af\u30e9\u30b9\u306e\u512a\u5148\u9806\u4f4d:<\/p>\n<p>\u5148\u8ff0\u306e\u901a\u308a\u3001BestEffort &lt; Burstable &lt; Guaranteed \u306e\u9806\u756a\u3067\u512a\u5148\u5ea6\u304c\u4f4e\u304b\u3089\u9ad8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001\u30ea\u30bd\u30fc\u30b9\u304c\u5727\u8feb\u3055\u308c\u305f\u969b\u306b\u306f\u3001\u307e\u305aBestEffort\u30af\u30e9\u30b9\u306ePod\u304c\u8ffd\u3044\u51fa\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u3001\u6700\u5f8c\u306bGuaranteed\u30af\u30e9\u30b9\u306ePod\u304c\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u540c\u4e00QoS\u30af\u30e9\u30b9\u5185\u3067\u306ePod\u306e\u30a8\u30a4\u30b8\uff08\u7a3c\u50cd\u6642\u9593\uff09:<\/p>\n<p>\u540c\u4e00\u306eQoS\u30af\u30e9\u30b9\u5185\u3067\u306f\u3001Pod\u306e\u30a8\u30a4\u30b8\uff08\u7a3c\u50cd\u6642\u9593\uff09\u304c\u77ed\u3044\u3082\u306e\u304b\u3089\u512a\u5148\u7684\u306b\u8ffd\u3044\u51fa\u3055\u308c\u307e\u3059\u3002<br \/>\nKubernetes\u306f\u65b0\u3057\u304f\u30b9\u30bf\u30fc\u30c8\u3057\u305f\u3070\u304b\u308a\u306ePod\u3092\u8ffd\u3044\u51fa\u3059\u3053\u3068\u3067\u3001\u9577\u6642\u9593\u7a3c\u50cd\u3057\u3066\u3044\u308bPod\u3084\u3088\u308a\u5b89\u5b9a\u3057\u305fPod\u306e\u7a3c\u50cd\u3092\u4fdd\u8b77\u3057\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u6765\u8bf4\uff0c\u5982\u679c\u5728\u591a\u4e2a\u8282\u70b9\u4e0a\u5b58\u5728\u7740Burstable\u7c7b\u7684Pod\uff0c\u5e76\u4e14\u8fd9\u4e9b\u8282\u70b9\u4e0a\u7684\u8d44\u6e90\uff08\u5982\u5185\u5b58\u7b49\uff09\u4e0d\u8db3\u65f6\uff0c\u6700\u65b0\u542f\u52a8\u7684Burstable\u7c7bPod\u5c06\u9996\u5148\u88ab\u9a71\u9010\u3002\u901a\u8fc7\u8fd9\u4e00\u903b\u8f91\uff0c\u5224\u65ad\u957f\u65f6\u95f4\u8fd0\u884c\u7684Pod\u6bd4\u77ed\u65f6\u95f4\u8fd0\u884c\u7684Pod\u66f4\u6709\u53ef\u80fd\u6267\u884c\u91cd\u8981\u7684\u4efb\u52a1\uff0c\u56e0\u6b64\u5b83\u4eec\u5c06\u53d7\u5230\u4fdd\u62a4\uff0c\u4e0d\u4f1a\u6210\u4e3a\u88ab\u9a71\u9010\u7684\u5bf9\u8c61\u3002<\/p>\n<p>\u8fd9\u79cd\u4f18\u5148\u7ea7\u6392\u5e8f\u662f\u4e3a\u4e86\u7ef4\u6301\u7cfb\u7edf\u7684\u6574\u4f53\u7a33\u5b9a\u6027\u548c\u6548\u7387\u800c\u8bbe\u8ba1\u7684\u3002<\/p>\n<hr \/>\n<h2>\u5229\u7528\u8282\u70b9\u6269\u5c55\u7684\u65b9\u6cd5<\/h2>\n<p>\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u306f\u3001Pod\u306e\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u3092\u8a2d\u3051\u305a\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066Node\u306e\u6570\u3092\u52d5\u7684\u306b\u5897\u6e1b\u3055\u305b\u307e\u3059\u3002<\/p>\n<h3>\u4ee5\u4e0b\u662f\u4e3b\u8981\u7279\u70b9:<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30ea\u30bd\u30fc\u30b9\u306e\u81ea\u7531\u306a\u4f7f\u7528<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Cluster Autoscaler\u306e\u5229\u7528<\/ul>\n<h3>\u9002\u7528\u573a\u666f\u548c\u4f18\u70b9 h\u00e9<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3084\u5909\u52d5\u3059\u308b\u30c8\u30e9\u30d5\u30a3\u30c3\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u52b9\u7387\u7684\u306a\u30ea\u30bd\u30fc\u30b9\u5229\u7528\u3068\u30b3\u30b9\u30c8\u6700\u9069\u5316<\/ul>\n<h3>\u96c6\u7fa4\u81ea\u52a8\u4f38\u7f29\u5668\u7684\u4f5c\u7528<\/h3>\n<p>\u96c6\u7fa4\u81ea\u52a8\u4f38\u7f29\u5668\u4f1a\u6839\u636e\u8d44\u6e90\u9700\u6c42\u81ea\u52a8\u8c03\u6574\u8282\u70b9\u6570\u91cf\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># Cluster Autoscaler\u306e\u5c0e\u5165\u4f8b<\/span>\r\nkubectl apply <span class=\"nt\">-f<\/span> &lt;autoscaler-config&gt;\r\n<\/code><\/pre>\n<hr \/>\n<h2>\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u3092\u6d3b\u7528\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1<\/h2>\n<p>\u5728\u4f7f\u7528\u56fa\u5b9a\u7684 Node \u6570\u8fdb\u884c\u8fd0\u8425\u65f6\uff0c\u5c06\u4e3a\u6bcf\u4e2a Pod \u660e\u786e\u8bbe\u7f6e\u8d44\u6e90\u7684\u4e0a\u9650\u548c\u4e0b\u9650\u3002<\/p>\n<h3>\u4e3b\u8981\u7279\u70b9<\/h3>\n<p>requests\u3068limits\u306e\u660e\u78ba\u306a\u8a2d\u5b9a<br \/>\nNode\u306e\u6570\u306f\u56fa\u5b9a<\/p>\n<h3>\u5e94\u7528\u573a\u666f\u548c\u4f18\u70b9<\/h3>\n<ul class=\"post-ul\">\u30ea\u30bd<\/ul>\n<p>\u53ef\u4ee5\u9884\u6d4b\u5de5\u4f5c\u8d1f\u8f7d\u7684\u4f7f\u7528\u91cf\u3002<\/p>\n<ul class=\"post-ul\">\u9ad8\u3044\u30ea\u30bd\u30fc\u30b9\u306e\u4fdd\u8a3c<\/ul>\n<hr \/>\n<h2>\u9009\u62e9\u4e24\u79cd\u65b9\u6cd5\u7684\u6807\u51c6<\/h2>\n<p>\u6839\u636e\u8fd0\u8425\u73af\u5883\u3001\u5de5\u4f5c\u91cf\u7279\u6027\u548cSLA\u8981\u6c42\u6765\u51b3\u5b9a\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u3002<\/p>\n<hr \/>\n<h2>\u6982\u8981<\/h2>\n<p>Kubernetes\u8d44\u6e90\u7ba1\u7406\u662f\u786e\u4fdd\u8fd0\u8425\u6548\u7387\u548c\u7a33\u5b9a\u6027\u7684\u5173\u952e\u3002\u9009\u62e9\u9002\u5f53\u7684\u65b9\u6cd5\u548c\u6b63\u786e\u7684\u914d\u7f6e\u662f\u5efa\u7acb\u6210\u529f\u57fa\u7840\u7684\u5fc5\u8981\u6761\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 \u76ee\u5f55 \u306f\u3058\u3081\u306b &#038;n [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-35472","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406-\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0-vs-\u30ea\u30bd\u30fc\u30b9\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\" \/>\n<meta property=\"og:description\" content=\"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 \u76ee\u5f55 \u306f\u3058\u3081\u306b &amp;n [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406-\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0-vs-\u30ea\u30bd\u30fc\u30b9\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-24T02:55:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T23:35:45+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\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.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/\",\"name\":\"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-02-24T02:55:01+00:00\",\"dateModified\":\"2024-04-28T23:35:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406-\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0-vs-\u30ea\u30bd\u30fc\u30b9\/","og_locale":"zh_CN","og_type":"article","og_title":"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1","og_description":"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 \u76ee\u5f55 \u306f\u3058\u3081\u306b &n [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406-\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0-vs-\u30ea\u30bd\u30fc\u30b9\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-02-24T02:55:01+00:00","article_modified_time":"2024-04-28T23:35:45+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/","name":"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-02-24T02:55:01+00:00","dateModified":"2024-04-28T23:35:45+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Kubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406: \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0 vs \u30ea\u30bd\u30fc\u30b9\u5236\u9650\u306e\u30a2\u30d7\u30ed\u30fc\u30c1"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/kubernetes%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86-%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0-vs-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/35472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=35472"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/35472\/revisions"}],"predecessor-version":[{"id":83915,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/35472\/revisions\/83915"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=35472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=35472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=35472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}