{"id":702,"date":"2022-08-16T18:38:29","date_gmt":"2022-08-16T10:38:29","guid":{"rendered":"https:\/\/www.luyouli.com\/?p=702"},"modified":"2022-08-16T18:55:25","modified_gmt":"2022-08-16T10:55:25","slug":"kubernetes%e4%bb%8e1-23%e5%8d%87%e7%ba%a7%e5%88%b01-24%e6%8a%a5%e9%94%99%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.luyouli.com\/?p=702","title":{"rendered":"kubernetes\u4ece1.23\u5347\u7ea7\u52301.24\u62a5\u9519\u5904\u7406"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5c06 kubernetes \u4ece 1.23.9 \u5347\u7ea7\u81f3 1.24.3\uff0ccontainer runtime \u4e5f\u4ece Docker \u5207\u6362\u5230 containerd\uff0c\u4f46 \u76f4\u63a5kubelet \u65e0\u6cd5\u542f\u52a8\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1894\" height=\"153\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2022\/08\/22222222222222.jpg\" alt=\"\" class=\"wp-image-703\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># kubectl version \nWARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.\nClient Version: version.Info{Major:\"1\", Minor:\"24\", GitVersion:\"v1.24.3\", GitCommit:\"aef86a93758dc3cb2c658dd9657ab4ad4afc21cb\", GitTreeState:\"clean\", BuildDate:\"2022-07-13T14:30:46Z\", GoVersion:\"go1.18.3\", Compiler:\"gc\", Platform:\"linux\/amd64\"}\nKustomize Version: v4.5.4\nServer Version: version.Info{Major:\"1\", Minor:\"23\", GitVersion:\"v1.23.9\", GitCommit:\"c1de2d70269039fe55efb98e737d9a29f9155246\", GitTreeState:\"clean\", BuildDate:\"2022-07-13T14:19:57Z\", GoVersion:\"go1.17.11\", Compiler:\"gc\", Platform:\"linux\/amd64\"}<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1893\" height=\"401\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2022\/08\/1111111111111111.jpg\" alt=\"\" class=\"wp-image-704\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl status kubelet\n\u25cf kubelet.service - kubelet: The Kubernetes Node Agent\n     Loaded: loaded (\/lib\/systemd\/system\/kubelet.service; enabled; vendor preset: enabled)\n    Drop-In: \/etc\/systemd\/system\/kubelet.service.d\n             \u2514\u250010-kubeadm.conf\n     Active: activating (auto-restart) (Result: exit-code) since Tue 2022-08-16 17:38:22 CST; 3s ago\n       Docs: https:\/\/kubernetes.io\/docs\/home\/\n    Process: 120499 ExecStart=\/usr\/bin\/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=1\/FAILURE)\n   Main PID: 120499 (code=exited, status=1\/FAILURE)\n\nAug 16 17:38:22 MyServer kubelet[120499]:                 Insecure values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, &gt;\nAug 16 17:38:22 MyServer kubelet[120499]:       --tls-min-version string                                   Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, Vers&gt;\nAug 16 17:38:22 MyServer kubelet[120499]:       --tls-private-key-file string                              File containing x509 private key matching --tls-cert-file. (DEPRECATED: This par&gt;\nAug 16 17:38:22 MyServer kubelet[120499]:       --topology-manager-policy string                           Topology Manager policy to use. Possible values: 'none', 'best-effort', 'restric&gt;\nAug 16 17:38:22 MyServer kubelet[120499]:       --topology-manager-scope string                            Scope to which topology hints applied. Topology Manager collects hints from Hint&gt;\nAug 16 17:38:22 MyServer kubelet[120499]:   -v, --v Level                                                  number for the log level verbosity\nAug 16 17:38:22 MyServer kubelet[120499]:       --version version[=true]                                   Print version information and quit\nAug 16 17:38:22 MyServer kubelet[120499]:       --vmodule pattern=N,...                                    comma-separated list of pattern=N settings for file-filtered logging (only works&gt;\nAug 16 17:38:22 MyServer kubelet[120499]:       --volume-plugin-dir string                                 The full path of the directory in which to search for additional third party vol&gt;\nAug 16 17:38:22 MyServer kubelet[120499]:       --volume-stats-agg-period duration                         Specifies interval for kubelet to calculate and cache the volume disk usage for<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u68c0\u67e5\u4e0bkubelet\u62a5\u9519\u65e5\u5fd7<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1113\" height=\"278\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2022\/08\/3333333333.jpg\" alt=\"\" class=\"wp-image-705\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">-- Subject: A start job for unit kubelet.service has finished successfully\n-- Defined-By: systemd\n-- Support: http:\/\/www.ubuntu.com\/support\n-- \n-- A start job for unit kubelet.service has finished successfully.\n-- \n-- The job identifier is 25798.\nAug 16 17:38:12 MyServer kubelet[120267]: Error: failed to parse kubelet flag: unknown flag: --network-plugin\nAug 16 17:38:12 MyServer kubelet[120267]: Usage:\nAug 16 17:38:12 MyServer kubelet[120267]:   kubelet [flags]\nAug 16 17:38:12 MyServer kubelet[120267]: Flags:\nAug 16 17:38:12 MyServer kubelet[120267]:       --add-dir-header   <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8\u610f\u8fd9\u4e00\u53e5\uff1aError: failed to parse kubelet flag: unknown flag: &#8211;network-plugin<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5904\u7406\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539 \/var\/lib\/kubelet\/kubeadm-flags.env \u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">KUBELET_KUBEADM_ARGS=&#8221;&#8211;network-plugin=cni &#8211;pod-infra-container-image=registry.aliyuncs.com\/google_containers\/pause:3.6&#8243;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539\u4e3a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">KUBELET_KUBEADM_ARGS=&#8221;&#8211;container-runtime=remote &#8211;container-runtime-endpoint=unix:\/\/\/var\/run\/containerd\/containerd.sock &#8211;pod-infra-container-image=registry.aliyuncs.com\/google_containers<br>\/pause:3.6&#8243;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u91cd\u542fkubelet\uff0c\u89e3\u51b3\u95ee\u9898<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u634e\u5e26\u624b\u628a\u96c6\u7fa4\u5347\u7ea7\u4e00\u4e0b\uff0c\u975e\u5e38\u8010\u65af<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1149\" height=\"186\" src=\"https:\/\/www.luyouli.com\/wp-content\/uploads\/2022\/08\/444444.jpg\" alt=\"\" class=\"wp-image-708\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06 kubernetes \u4ece 1.23.9 \u5347\u7ea7\u81f3 1.24.3\uff0ccontainer runtime \u4e5f\u4ece D [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-702","post","type-post","status-publish","format-standard","hentry","category-kubernetes"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"views":7208,"_links":{"self":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts\/702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=702"}],"version-history":[{"count":4,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts\/702\/revisions"}],"predecessor-version":[{"id":710,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=\/wp\/v2\/posts\/702\/revisions\/710"}],"wp:attachment":[{"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.luyouli.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}