{"id":62092,"date":"2026-01-19T09:34:17","date_gmt":"2026-01-19T01:34:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/62092.html"},"modified":"2026-01-19T09:34:17","modified_gmt":"2026-01-19T01:34:17","slug":"docker-%e4%b9%8b%e5%90%8e%e5%ad%a6%e8%bf%99%e4%b8%aa%ef%bc%81%e4%ba%91%e5%b9%b3%e5%8f%b0-k8s-%e5%ae%9e%e6%88%98%ef%bc%8c%e6%90%9e%e5%ae%9a%e5%a4%9a%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%b9%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/62092.html","title":{"rendered":"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4"},"content":{"rendered":"<p>\u6628\u5929\u7ed9\u5927\u5bb6\u5520\u4e86\u5bb9\u5668\u5316\u548c Docker \u7684\u6838\u5fc3\u6280\u80fd<\/p>\n<p>\u4ece Linux \u5230 Docker&#xff01;\u5bb9\u5668\u5316\u5165\u95e8\u5fc5\u5907\u6280\u80fd&#xff0c;\u8fd0\u7ef4\u6548\u7387\u7ffb\u500d&#xff0c;\u76f8\u4fe1\u4e0d\u5c11\u4eba\u5df2\u7ecf\u80fd\u641e\u5b9a\u5355\u670d\u52a1\u5668\u7684\u5bb9\u5668\u7ba1\u7406\u4e86&#xff5e; \u4f46\u5b9e\u9645\u9879\u76ee\u91cc&#xff0c;\u5149\u9760\u5355\u670d\u52a1\u5668\u53ef\u4e0d\u591f \u2014\u2014 \u5e94\u7528\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u5f97\u5206\u5f00\u90e8\u7f72&#xff0c;\u6d41\u91cf\u9ad8\u5cf0\u8fd8\u5f97\u6269\u5bb9&#xff0c;\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u300c\u4e91\u5e73\u53f0 &#043; K8s\u300d\u51fa\u9a6c\u4e86&#xff01;<\/p>\n<p>\u4eca\u5929\u5c31\u5e26\u5927\u5bb6\u8fdb\u9636&#xff0c;\u628a\u4e91\u5e73\u53f0\u7684\u6838\u5fc3\u903b\u8f91\u3001\u4ea7\u54c1\u5206\u7c7b&#xff0c;\u8fd8\u6709 K8s \u7684\u5b9e\u6218\u547d\u4ee4\u63b0\u660e\u767d&#xff0c;\u5e2e\u4f60\u641e\u5b9a\u591a\u670d\u52a1\u5668\u7684\u5bb9\u5668\u96c6\u7fa4&#xff0c;\u771f\u6b63\u5b9e\u73b0\u300c\u4e0d\u7528\u9010\u53f0 SSH&#xff0c;\u4e00\u4e2a\u5165\u53e3\u7ba1\u6240\u6709\u300d&#xff5e;<\/p>\n<h5 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u00a0 \u00a0\u00a0\u4e00\u3001\u4e91\u5e73\u53f0\u662f\u4ec0\u4e48&#xff1f;\u8bf4\u767d\u4e86\u5c31\u662f\u300c\u670d\u52a1\u5668\u8d85\u5e02\u300d<\/span><\/span><\/h5>\n<p>\u4e91\u5e73\u53f0\u8bf4\u767d\u4e86\u5c31\u662f\u300c\u4e92\u8054\u7f51\u516c\u53f8\u7ed9\u4f60\u642d\u597d\u7684\u670d\u52a1\u5668\u8d85\u5e02\u300d\u2014\u2014 \u6bd4\u5982\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u3001AWS \u8fd9\u4e9b&#xff0c;\u4ed6\u4eec\u5728\u5168\u56fd\u5404\u5730&#xff08;\u751a\u81f3\u5168\u7403&#xff09;\u5efa\u4e86\u8d85\u5927\u89c4\u6a21\u7684\u673a\u623f&#xff0c;\u6446\u6ee1\u4e86\u9ad8\u6027\u80fd\u670d\u52a1\u5668\u3001\u5b58\u50a8\u8bbe\u5907\u3001\u7f51\u7edc\u8bbe\u5907&#xff0c;\u7136\u540e\u628a\u8fd9\u4e9b\u786c\u4ef6\u8d44\u6e90\u300c\u5207\u5206\u6210\u5c0f\u5757\u300d&#xff0c;\u505a\u6210\u5404\u79cd\u670d\u52a1\u5356\u7ed9\u4f60\u3002<\/p>\n<p>\u4f60\u4e0d\u7528\u81ea\u5df1\u4e70\u7269\u7406\u670d\u52a1\u5668\u3001\u4e0d\u7528\u79df\u673a\u623f\u3001\u4e0d\u7528\u96c7\u4eba\u7ef4\u62a4\u786c\u4ef6&#xff0c;\u6253\u5f00\u7f51\u9875\u70b9\u51e0\u4e0b&#xff0c;\u5c31\u80fd\u4e70\u5230\u300c\u865a\u62df\u670d\u52a1\u5668\u300d\u300c\u6570\u636e\u5e93\u300d\u300c\u5b58\u50a8\u76d8\u300d\u8fd9\u4e9b\u8d44\u6e90&#xff0c;\u6309\u5929 \/ \u6309\u5c0f\u65f6\u4ed8\u8d39&#xff0c;\u7528\u5b8c\u4e86\u76f4\u63a5\u5173\u6389&#xff0c;\u8ddf\u5728\u8d85\u5e02\u4e70\u4e1c\u897f\u4e00\u6837\u65b9\u4fbf\u3002<\/p>\n<h5 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u4e8c\u3001\u4e91\u5e73\u53f0\u63d0\u4f9b\u7684\u4ea7\u54c1\u6709\u54ea\u4e9b&#xff1f;&#xff08;\u6309\u7528\u9014\u5206\u7c7b&#xff0c;\u4e00\u770b\u5c31\u61c2&#xff09;<\/span><\/span><\/h5>\n<p style=\"margin-left:0pt\">\u90a3\u4e48\u6211\u4eec\u77e5\u9053\u4e91\u5e73\u53f0\u662f\u5e72\u5565\u7684\u540e&#xff0c;\u54b1\u4eec\u6765\u6252\u4e00\u6252\u4e91\u5e73\u53f0\u7684\u4ea7\u54c1&#xff01;\u4e0d\u7ba1\u662f\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u8fd9\u4e9b\u4e3b\u6d41\u5e73\u53f0&#xff0c;\u4ea7\u54c1\u903b\u8f91\u90fd\u5927\u5dee\u4e0d\u5dee&#xff0c;\u90fd\u662f\u56f4\u7ed5\u54b1\u4eec\u505a\u9879\u76ee\u7684\u6838\u5fc3\u9700\u6c42\u6765\u7684&#xff0c;\u54b1\u4eec\u6309\u7528\u9014\u5206\u7c7b\u804a&#xff0c;\u4fdd\u8bc1\u4f60\u4e00\u770b\u5c31\u61c2&#xff1a;<\/p>\n<p style=\"margin-left:0pt\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u00a0\u00a0 \u00a0 \u00a0 \u00a0\u7b80\u5355\u8bf4&#xff1a;\u4f60\u9700\u8981\u5565&#xff0c;\u4e91\u5e73\u53f0\u5c31\u5356\u5565\u3002 \u4ece\u670d\u52a1\u5668\u5230\u6570\u636e\u5e93&#xff0c;\u4ece\u7f51\u7edc\u5230\u5b89\u5168&#xff0c;\u4e00\u6761\u9f99\u5168\u5305&#xff0c;\u8fd9\u5c31\u662f\u4e3a\u5565\u73b0\u5728\u521b\u4e1a\u516c\u53f8\u4e5f\u80fd\u5feb\u901f\u642d\u51fa\u9ad8\u53ef\u7528\u67b6\u6784 \u2014\u2014 \u56e0\u4e3a\u201c\u8d85\u5e02\u201d\u91cc\u5565\u90fd\u6709&#xff0c;\u4e0d\u7528\u81ea\u5df1\u9020\u8f6e\u5b50\u4e86&#xff01;<\/span><\/span><\/p>\n<\/p>\n<h5 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u4e09\u3001\u4e91\u5e73\u53f0 &#043; \u5bb9\u5668\u5316 &#043; K8s&#xff1a;\u9ec4\u91d1\u642d\u6863\u600e\u4e48\u914d\u5408\u5e72\u6d3b&#xff1f;<\/span><\/span><\/h5>\n<p style=\"margin-left:0pt\">\u5bb9\u5668\u5316\u89e3\u51b3\u4e86\u300c\u5355\u53f0\u670d\u52a1\u5668\u8d44\u6e90\u5207\u7247\u300d&#xff0c;\u4f46\u5b9e\u9645\u9879\u76ee\u5f97\u7528\u597d\u51e0\u53f0\u670d\u52a1\u5668&#xff08;\u5e94\u7528\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u5404\u5360\u4e00\u53f0&#xff09;&#xff0c;\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u4e91\u5e73\u53f0\u548c\u5bb9\u5668\u7f16\u6392\u5de5\u5177\u642d\u73ed\u5b50&#xff0c;\u582a\u79f0\u300c\u9ec4\u91d1\u642d\u6863\u300d&#xff01;<\/p>\n<h4 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u00a0\u4e91\u5e73\u53f0&#xff1a;\u63d0\u4f9b\u300c\u5f39\u6027\u786c\u4ef6\u5e95\u5ea7\u300d<\/span><\/span><\/h4>\n<p style=\"margin-left:0pt\">\u4e91\u5e73\u53f0\u5c31\u50cf\u4e2a\u300c\u968f\u53eb\u968f\u5230\u7684\u670d\u52a1\u5668\u7ba1\u5bb6\u300d&#xff0c;\u4f60\u9700\u8981\u591a\u5c11\u53f0\u670d\u52a1\u5668\u3001\u4ec0\u4e48\u914d\u7f6e&#xff0c;\u70b9\u51e0\u4e0b\u9f20\u6807\u5c31\u80fd\u521b\u5efa&#xff0c;\u7528\u5b8c\u76f4\u63a5\u91ca\u653e&#xff0c;\u4e0d\u7528\u64cd\u5fc3\u786c\u4ef6\u91c7\u8d2d\u3001\u673a\u623f\u7ef4\u62a4\u8fd9\u4e9b\u7410\u4e8b&#xff1a;<\/p>\n<ul>\n<li>\n<p style=\"margin-left:0pt\">\u5e73\u65f6\u6d41\u91cf\u5c0f&#xff1a;\u5f00 2 \u53f0 6C16G \u4e91\u670d\u52a1\u5668&#xff0c;\u8dd1 10 \u4e2a\u5bb9\u5668\u5c31\u80fd\u6491\u4f4f\u4e1a\u52a1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6d41\u91cf\u9ad8\u5cf0&#xff08;\u6bd4\u5982\u53cc\u5341\u4e00&#xff09;&#xff1a;\u4e00\u952e\u6269\u5bb9\u5230 8 \u53f0\u670d\u52a1\u5668&#xff0c;\u4e0d\u7528\u7b49\u786c\u4ef6\u5230\u8d27&#xff0c;\u79d2\u7ea7\u5c31\u80fd\u7528\u3002<\/p>\n<\/li>\n<\/ul>\n<h4 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u5bb9\u5668\u7f16\u6392\u5de5\u5177&#xff1a;K8s \u5f53\u300c\u5bb9\u5668\u603b\u6307\u6325\u300d<\/span><\/span><\/h4>\n<p style=\"margin-left:0pt\">\u5f53\u5bb9\u5668\u5206\u5e03\u5728\u597d\u51e0\u53f0\u4e91\u670d\u52a1\u5668\u4e0a\u65f6&#xff0c;\u5149\u9760 Docker \u7ba1\u4e0d\u8fc7\u6765&#xff0c;\u5c31\u5f97\u9760 Kubernetes&#xff08;\u7b80\u79f0 K8s&#xff09;\u8fd9\u4e2a\u300c\u603b\u6307\u6325\u300d&#xff0c;\u5b83\u7684\u672c\u4e8b\u7ed9\u4f60\u5520\u900f&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u81ea\u52a8\u5206\u6d3b&#xff1a;\u7528\u6237\u8bf7\u6c42\u8fc7\u6765&#xff0c;K8s \u4f1a\u667a\u80fd\u5206\u7ed9\u4e0d\u540c\u4e91\u670d\u52a1\u5668\u4e0a\u7684\u5bb9\u5668&#xff0c;\u4e0d\u8ba9\u67d0\u53f0\u673a\u5668\u7d2f\u8db4\u4e0b&#xff0c;\u907f\u514d\u5355\u70b9\u6545\u969c&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u81ea\u52a8\u7eed\u547d&#xff1a;\u54ea\u4e2a\u5bb9\u5668\u5d29\u4e86\u3001\u54ea\u4e2a\u4e91\u670d\u52a1\u5668\u5b95\u673a\u4e86&#xff0c;K8s \u7acb\u9a6c\u5728\u5176\u4ed6\u670d\u52a1\u5668\u4e0a\u91cd\u542f\u65b0\u5bb9\u5668&#xff0c;\u4e0d\u7528\u4f60\u534a\u591c\u722c\u8d77\u6765\u6551\u706b&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e00\u952e\u6269\u5bb9&#xff1a;\u8f93\u4e2a\u547d\u4ee4kubectl scale &#8211;replicas&#061;10 deployment\/my-app&#xff0c;\u5c31\u80fd\u4ece5 \u4e2a\u5bb9\u5668\u76f4\u63a5\u52a0\u5230 10 \u4e2a&#xff0c;\u5e94\u5bf9\u7a81\u53d1\u6d41\u91cf so easy&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u65e0\u7f1d\u8854\u63a5\u4e91\u5e73\u53f0&#xff1a;K8s \u80fd\u76f4\u63a5\u8c03\u7528\u4e91\u5e73\u53f0\u7684\u5f39\u6027\u4f38\u7f29\u3001\u8d1f\u8f7d\u5747\u8861\u670d\u52a1&#xff0c;\u5bb9\u5668\u6269\u7f29\u5bb9\u65f6&#xff0c;\u4e91\u670d\u52a1\u5668\u4e5f\u80fd\u8ddf\u7740\u81ea\u52a8\u589e\u51cf&#xff0c;\u771f\u6b63\u505a\u5230\u300c\u8d44\u6e90\u8ddf\u7740\u4e1a\u52a1\u8d70\u300d\u3002<\/p>\n<\/li>\n<\/ul>\n<h4 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u7ed9\u4f60\u753b\u4e2a\u6781\u7b80\u67b6\u6784\u56fe&#xff0c;\u4e00\u770b\u5c31\u61c2<\/span><\/span><\/h4>\n<ul><\/ul>\n<p>\u7528\u6237\u00a0\u2192\u00a0\u4e91\u5e73\u53f0CDN\u00a0\u2192\u00a0\u4e91\u5e73\u53f0\u8d1f\u8f7d\u5747\u8861&#xff08;SLB&#xff09;\u2192\u00a0K8s\u96c6\u7fa4&#xff08;\u591a\u53f0\u4e91\u670d\u52a1\u5668&#xff09;\u2192\u00a0\u5bb9\u5668&#xff08;\u5e94\u7528\/\u6570\u636e\u5e93\/\u7f13\u5b58&#xff09;\u2192\u00a0\u4e91\u5e73\u53f0\u5b58\u50a8&#xff08;OSS\/NAS&#xff09; <\/p>\n<p>\u7b80\u5355\u8bf4&#xff1a;\u4e91\u5e73\u53f0\u8d1f\u8d23\u300c\u63d0\u4f9b\u786c\u4ef6\u8d44\u6e90\u300d&#xff0c;\u5bb9\u5668\u5316\u8d1f\u8d23\u300c\u9ad8\u6548\u5229\u7528\u8d44\u6e90\u300d&#xff0c;K8s \u8d1f\u8d23\u300c\u7edf\u7b79\u7ba1\u7406\u5bb9\u5668\u300d&#xff0c;\u4e09\u8005\u7ed3\u5408&#xff0c;\u65e2\u7701\u6210\u672c\u53c8\u7701\u4eba\u529b&#xff0c;\u73b0\u5728\u7684\u9879\u76ee\u57fa\u672c\u90fd\u662f\u8fd9\u4e48\u90e8\u7f72\u7684&#xff01;<\/p>\n<p>\u00a0K8s \u547d\u4ee4&#xff08;\u5165\u95e8\u591f\u7528&#xff0c;\u597d\u8bb0&#xff01;&#xff09;<\/p>\n<ul><\/ul>\n<p># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u57fa\u7840\u64cd\u4f5c&#xff1a;\u67e5\u770b\u96c6\u7fa4\/\u8d44\u6e90 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;# 1. \u67e5\u770bK8s\u96c6\u7fa4\u72b6\u6001&#xff08;\u786e\u8ba4\u96c6\u7fa4\u662f\u5426\u6b63\u5e38&#xff09;kubectl cluster-info# 2. \u67e5\u770b\u8282\u70b9&#xff08;\u4e91\u670d\u52a1\u5668&#xff09;\u5217\u8868&#xff08;\u770b\u6709\u54ea\u4e9b\u670d\u52a1\u5668\u5728\u96c6\u7fa4\u91cc&#xff09;kubectl get nodeskubectl get nodes -o wide \u00a0# \u663e\u793a\u66f4\u591a\u4fe1\u606f&#xff08;IP\u3001\u72b6\u6001\u3001\u7cfb\u7edf\u7248\u672c&#xff09;# 3. \u67e5\u770b\u6838\u5fc3\u8d44\u6e90&#xff08;\u6700\u5e38\u7528&#xff01;&#xff09;kubectl get pods \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u67e5\u770b\u6240\u6709Pod&#xff08;\u5bb9\u5668\u5b9e\u4f8b&#xff09;kubectl get deployments \u00a0\u00a0# \u67e5\u770b\u90e8\u7f72&#xff08;\u7ba1\u7406Pod\u7684\u63a7\u5236\u5668&#xff09;kubectl get services \u00a0 \u00a0 \u00a0# \u67e5\u770b\u670d\u52a1&#xff08;\u5bf9\u5916\u66b4\u9732\u7684\u8bbf\u95ee\u5165\u53e3&#xff09;kubectl get namespaces \u00a0 \u00a0# \u67e5\u770b\u547d\u540d\u7a7a\u95f4&#xff08;\u8d44\u6e90\u9694\u79bb\u7528&#xff09;# 4. \u67e5\u770b\u8d44\u6e90\u8be6\u60c5&#xff08;\u6392\u9519\u5fc5\u5907&#xff09;kubectl describe pod\u00a0my-nginx-pod \u00a0# \u67e5\u770b\u67d0\u4e2aPod\u7684\u8be6\u7ec6\u4fe1\u606f&#xff08;\u62a5\u9519\u539f\u56e0\u3001\u4e8b\u4ef6&#xff09;kubectl describe deployment\u00a0my-app \u00a0# \u67e5\u770b\u90e8\u7f72\u7684\u8be6\u7ec6\u4fe1\u606f# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6838\u5fc3\u64cd\u4f5c&#xff1a;\u90e8\u7f72\/\u7ba1\u7406\u5e94\u7528 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;# 1. \u90e8\u7f72\u5e94\u7528&#xff08;\u4ece\u955c\u50cf\u521b\u5efaPod&#xff09;kubectl create deployment\u00a0my-nginx &#8211;image&#061;nginx:1.25.3# 2. \u66b4\u9732\u670d\u52a1&#xff08;\u8ba9\u5916\u90e8\u80fd\u8bbf\u95eePod&#xff09;kubectl expose deployment\u00a0my-nginx &#8211;port&#061;80\u00a0&#8211;type&#061;NodePort \u00a0# \u8282\u70b9\u7aef\u53e3\u65b9\u5f0fkubectl expose deployment\u00a0my-nginx &#8211;port&#061;80\u00a0&#8211;type&#061;LoadBalancer \u00a0# \u4e91\u5e73\u53f0\u8d1f\u8f7d\u5747\u8861\u65b9\u5f0f# 3. \u6269\u5bb9\/\u7f29\u5bb9&#xff08;\u63d0\u8fc7\u7684\u4e00\u952e\u6269\u5bb9&#xff09;kubectl scale &#8211;replicas&#061;10\u00a0deployment\/my-nginx \u00a0# \u6269\u5bb9\u523010\u4e2aPodkubectl scale &#8211;replicas&#061;2\u00a0deployment\/my-nginx \u00a0\u00a0# \u7f29\u5bb9\u52302\u4e2aPod# 4. \u66f4\u65b0\u5e94\u7528\u955c\u50cf&#xff08;\u5347\u7ea7\u7248\u672c&#xff09;kubectl set image deployment\/my-nginx nginx&#061;nginx:1.26.0# 5. \u5220\u9664\u8d44\u6e90kubectl\u00a0delete\u00a0pod\u00a0my-nginx-pod \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u5220\u9664\u5355\u4e2aPod&#xff08;\u4f1a\u81ea\u52a8\u91cd\u5efa&#xff0c;\u56e0\u4e3a\u6709deployment&#xff09;kubectl\u00a0delete\u00a0deployment\u00a0my-nginx \u00a0 \u00a0 \u00a0# \u5220\u9664\u90e8\u7f72&#xff08;Pod\u4f1a\u5168\u90e8\u5220\u9664&#xff09;kubectl\u00a0delete\u00a0service\u00a0my-nginx \u00a0 \u00a0 \u00a0 \u00a0\u00a0# \u5220\u9664\u670d\u52a1# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u8c03\u8bd5\u64cd\u4f5c&#xff1a;\u8fdb\u5165Pod\/\u67e5\u65e5\u5fd7 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;# 1. \u8fdb\u5165Pod\u5185\u90e8&#xff08;\u7c7b\u4f3cdocker exec&#xff09;kubectl\u00a0exec\u00a0-it\u00a0my-nginx-pod &#8212;\u00a0\/bin\/bash# 2. \u67e5\u770bPod\u65e5\u5fd7&#xff08;\u7c7b\u4f3cdocker logs&#xff09;kubectl logs -f\u00a0my-nginx-pod \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u5b9e\u65f6\u67e5\u770b\u65e5\u5fd7kubectl logs -f &#8211;tail\u00a0100\u00a0my-nginx-pod\u00a0# \u53ea\u770b\u6700\u540e100\u884c&#043;\u5b9e\u65f6\u8ddf\u8e2akubectl logs\u00a0my-nginx-pod |\u00a0grep\u00a0&#034;error&#034;\u00a0# \u8fc7\u6ee4\u62a5\u9519\u65e5\u5fd7# 3. \u62f7\u8d1d\u6587\u4ef6&#xff08;Pod\u2194\u5bbf\u4e3b\u673a&#xff09;kubectl cp\u00a0my-nginx-pod:\/var\/log\/nginx\/access.log \/tmp\/ \u00a0# Pod\u2192\u5bbf\u4e3b\u673akubectl cp \/tmp\/my.conf\u00a0my-nginx-pod:\/etc\/nginx\/conf.d\/\u00a0\u00a0# \u5bbf\u4e3b\u673a\u2192Pod# &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u8fdb\u9636\u64cd\u4f5c&#xff1a;\u914d\u7f6e\/\u8fd0\u7ef4 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;# 1. \u67e5\u770b\u8d44\u6e90\u5360\u7528&#xff08;Pod\u7684CPU\/\u5185\u5b58&#xff09;kubectl top pod\u00a0my-nginx-pod# 2. \u7f16\u8f91\u8d44\u6e90\u914d\u7f6e&#xff08;\u4e34\u65f6\u4fee\u6539&#xff09;kubectl edit deployment\u00a0my-nginx \u00a0# \u7f16\u8f91\u90e8\u7f72\u914d\u7f6e&#xff08;\u6bd4\u5982\u4fee\u6539\u526f\u672c\u6570\u3001\u955c\u50cf&#xff09;# 3. \u67e5\u770b\u96c6\u7fa4\u4e8b\u4ef6&#xff08;\u6392\u67e5\u96c6\u7fa4\u7ea7\u522b\u7684\u95ee\u9898&#xff09;kubectl get events <\/p>\n<h6 style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#000000\"><span style=\"background-color:#ffffff\">\u5212\u91cd\u70b9&#xff1a;K8s \u547d\u4ee4\u5c0f\u6280\u5de7<\/span><\/span><\/h6>\n<ul>\n<li>\n<p>K8s \u547d\u4ee4\u6838\u5fc3\u662fkubectl get&#xff08;\u67e5&#xff09;\u3001kubectl create&#xff08;\u5efa&#xff09;\u3001kubectl scale&#xff08;\u6269\u7f29\u5bb9&#xff09;\u3001kubectl logs&#xff08;\u67e5\u65e5\u5fd7&#xff09;&#xff0c;\u8bb0\u4f4f\u8fd9\u51e0\u4e2a\u5c31\u80fd\u5e94\u5bf9 80% \u7684\u573a\u666f&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8bb0\u4e0d\u4f4f\u547d\u4ee4\u5c31\u8f93kubectl &#8211;help&#xff0c;\u6216\u8005kubectl \u8d44\u6e90\u7c7b\u578b &#8211;help&#xff08;\u6bd4\u5982kubectl get &#8211;help&#xff09;&#xff0c;K8s \u7684\u5e2e\u52a9\u4fe1\u606f\u8d3c\u5168&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u751f\u4ea7\u73af\u5883\u522b\u76f4\u63a5\u7528kubectl create\u521b\u5efa\u8d44\u6e90&#xff0c;\u5efa\u8bae\u5199 YAML \u914d\u7f6e\u6587\u4ef6&#xff0c;\u7528kubectl apply -f xxx.yaml\u90e8\u7f72&#xff0c;\u65b9\u4fbf\u7248\u672c\u7ba1\u7406\u548c\u590d\u7528\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u00a0\u56db\u3001\u6700\u540e\u5520\u4e24\u53e5\u00a0<\/p>\n<p>\u5176\u5b9e\u4e91\u5e73\u53f0&#043; K8s \u8fd9\u4e8b\u513f&#xff0c;\u770b\u7740\u552c\u4eba&#xff0c;\u6838\u5fc3\u903b\u8f91\u5c31\u4fe9\u5b57&#xff1a;\u300c\u5206\u5de5\u300d\u2014\u2014 \u4e91\u5e73\u53f0\u7ba1\u786c\u4ef6\u3001K8s \u7ba1\u5bb9\u5668\u3001\u5bb9\u5668\u5316\u7ba1\u6548\u7387&#xff0c;\u628a\u4e13\u4e1a\u7684\u4e8b\u4ea4\u7ed9\u4e13\u4e1a\u7684\u5de5\u5177&#xff0c;\u54b1\u4eec\u4e0d\u7528\u518d\u8ddf\u673a\u623f\u3001\u7269\u7406\u673a\u6b7b\u78d5&#xff0c;\u80fd\u628a\u7cbe\u529b\u653e\u5728\u4e1a\u52a1\u672c\u8eab\u3002<\/p>\n<p>\u521a\u5f00\u59cb\u5b66\u4e0d\u7528\u8d2a\u591a&#xff0c;\u5148\u628a\u4eca\u5929\u8bf4\u7684\u300c\u4e91\u5e73\u53f0\u4ea7\u54c1\u5206\u7c7b\u300d\u8bb0\u6e05\u695a&#xff0c;\u518d\u628a\u90a3\u51e0\u4e2a\u6838\u5fc3K8s \u547d\u4ee4\u7ec3\u719f&#xff08;\u6bd4\u5982\u90e8\u7f72\u5e94\u7528\u3001\u67e5\u770b Pod\u3001\u6269\u5bb9\u7f29\u5bb9&#xff09;&#xff0c;\u627e\u53f0\u4e91\u670d\u52a1\u5668\u642d\u4e2a\u8ff7\u4f60\u96c6\u7fa4\u8bd5\u8bd5\u6c34&#xff0c;\u8dd1\u901a\u4e00\u4e2a Nginx \u5e94\u7528&#xff0c;\u4f60\u5c31\u4f1a\u53d1\u73b0&#xff1a;\u539f\u6765\u591a\u670d\u52a1\u5668\u5bb9\u5668\u7ba1\u7406\u4e5f\u6ca1\u90a3\u4e48\u96be&#xff01;<\/p>\n<p>\u73b0\u5728\u4f01\u4e1a\u62db\u540e\u7aef\u3001\u8fd0\u7ef4&#xff0c;\u57fa\u672c\u90fd\u8981\u6c42\u61c2\u70b9K8s \u548c\u4e91\u5e73\u53f0&#xff0c;\u8fd9\u4fe9\u6280\u80fd\u5c31\u662f\u65b0\u65f6\u4ee3\u7684\u300c\u670d\u52a1\u5668\u7ba1\u7406\u57fa\u672c\u529f\u300d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u5929\u7ed9\u5927\u5bb6\u5520\u4e86\u5bb9\u5668\u5316\u548c Docker \u7684\u6838\u5fc3\u6280\u80fd<br \/>\n\u4ece Linux \u5230 Docker&#xff01;\u5bb9\u5668\u5316\u5165\u95e8\u5fc5\u5907\u6280\u80fd&#xff0c;\u8fd0\u7ef4\u6548\u7387\u7ffb\u500d&#xff0c;\u76f8\u4fe1\u4e0d\u5c11\u4eba\u5df2\u7ecf\u80fd\u641e\u5b9a\u5355\u670d\u52a1\u5668\u7684\u5bb9\u5668\u7ba1\u7406\u4e86&#xff5e; \u4f46\u5b9e\u9645\u9879\u76ee\u91cc&#xff0c;\u5149\u9760\u5355\u670d\u52a1\u5668\u53ef\u4e0d\u591f \u2014\u2014 \u5e94\u7528\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u5f97\u5206\u5f00\u90e8\u7f72&#xff0c;\u6d41\u91cf\u9ad8\u5cf0\u8fd8\u5f97\u6269\u5bb9&#xff0c;\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u300c\u4e91\u5e73\u53f0  K8s\u300d\u51fa\u9a6c\u4e86&#xff01;<br \/>\n\u4eca\u5929\u5c31\u5e26\u5927\u5bb6\u8fdb\u9636&#xff0c;\u628a\u4e91\u5e73\u53f0\u7684\u6838\u5fc3\u903b\u8f91\u3001\u4ea7\u54c1\u5206\u7c7b&amp;#xff0<\/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":[27,120,43],"topic":[],"class_list":["post-62092","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-kubernetes","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4 - \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\/62092.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6628\u5929\u7ed9\u5927\u5bb6\u5520\u4e86\u5bb9\u5668\u5316\u548c Docker \u7684\u6838\u5fc3\u6280\u80fd \u4ece Linux \u5230 Docker&#xff01;\u5bb9\u5668\u5316\u5165\u95e8\u5fc5\u5907\u6280\u80fd&#xff0c;\u8fd0\u7ef4\u6548\u7387\u7ffb\u500d&#xff0c;\u76f8\u4fe1\u4e0d\u5c11\u4eba\u5df2\u7ecf\u80fd\u641e\u5b9a\u5355\u670d\u52a1\u5668\u7684\u5bb9\u5668\u7ba1\u7406\u4e86&#xff5e; \u4f46\u5b9e\u9645\u9879\u76ee\u91cc&#xff0c;\u5149\u9760\u5355\u670d\u52a1\u5668\u53ef\u4e0d\u591f \u2014\u2014 \u5e94\u7528\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u5f97\u5206\u5f00\u90e8\u7f72&#xff0c;\u6d41\u91cf\u9ad8\u5cf0\u8fd8\u5f97\u6269\u5bb9&#xff0c;\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u300c\u4e91\u5e73\u53f0 K8s\u300d\u51fa\u9a6c\u4e86&#xff01; \u4eca\u5929\u5c31\u5e26\u5927\u5bb6\u8fdb\u9636&#xff0c;\u628a\u4e91\u5e73\u53f0\u7684\u6838\u5fc3\u903b\u8f91\u3001\u4ea7\u54c1\u5206\u7c7b&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/62092.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-19T01:34:17+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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/62092.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/62092.html\",\"name\":\"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-19T01:34:17+00:00\",\"dateModified\":\"2026-01-19T01:34:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/62092.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/62092.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/62092.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4\"}]},{\"@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":"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4 - \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\/62092.html","og_locale":"zh_CN","og_type":"article","og_title":"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6628\u5929\u7ed9\u5927\u5bb6\u5520\u4e86\u5bb9\u5668\u5316\u548c Docker \u7684\u6838\u5fc3\u6280\u80fd \u4ece Linux \u5230 Docker&#xff01;\u5bb9\u5668\u5316\u5165\u95e8\u5fc5\u5907\u6280\u80fd&#xff0c;\u8fd0\u7ef4\u6548\u7387\u7ffb\u500d&#xff0c;\u76f8\u4fe1\u4e0d\u5c11\u4eba\u5df2\u7ecf\u80fd\u641e\u5b9a\u5355\u670d\u52a1\u5668\u7684\u5bb9\u5668\u7ba1\u7406\u4e86&#xff5e; \u4f46\u5b9e\u9645\u9879\u76ee\u91cc&#xff0c;\u5149\u9760\u5355\u670d\u52a1\u5668\u53ef\u4e0d\u591f \u2014\u2014 \u5e94\u7528\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u5f97\u5206\u5f00\u90e8\u7f72&#xff0c;\u6d41\u91cf\u9ad8\u5cf0\u8fd8\u5f97\u6269\u5bb9&#xff0c;\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u300c\u4e91\u5e73\u53f0 K8s\u300d\u51fa\u9a6c\u4e86&#xff01; \u4eca\u5929\u5c31\u5e26\u5927\u5bb6\u8fdb\u9636&#xff0c;\u628a\u4e91\u5e73\u53f0\u7684\u6838\u5fc3\u903b\u8f91\u3001\u4ea7\u54c1\u5206\u7c7b&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/62092.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-19T01:34:17+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/62092.html","url":"https:\/\/www.wsisp.com\/helps\/62092.html","name":"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-19T01:34:17+00:00","dateModified":"2026-01-19T01:34:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/62092.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/62092.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/62092.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Docker \u4e4b\u540e\u5b66\u8fd9\u4e2a\uff01\u4e91\u5e73\u53f0 + K8s \u5b9e\u6218\uff0c\u641e\u5b9a\u591a\u670d\u52a1\u5668\u5bb9\u5668\u96c6\u7fa4"}]},{"@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\/62092","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=62092"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/62092\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=62092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=62092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=62092"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=62092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}