{"id":11082,"date":"2023-05-19T10:18:22","date_gmt":"2023-05-19T02:18:22","guid":{"rendered":"http:\/\/123.57.164.21\/?p=11082"},"modified":"2023-05-19T19:36:27","modified_gmt":"2023-05-19T11:36:27","slug":"%e6%9c%ac%e5%9c%b0%e6%90%ad%e5%bb%baopenshift%e5%8d%95%e6%9c%ba%e6%9c%80%e5%b0%8f%e5%8c%96%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=11082","title":{"rendered":"\u672c\u5730\u642d\u5efaOpenshift\u5355\u673a\u6700\u5c0f\u5316\u5f00\u53d1\u73af\u5883"},"content":{"rendered":"\n<p>\u524d\u6587\u8bb2\u8fc7Openshift\u6709\u4e24\u4e2a\u7248\u672c\uff0c\u4e00\u662f\u4f01\u4e1a\u7248\u7684OCP\uff0c\u4e8c\u662f\u793e\u533a\u7248\u7684OKD\u3002OCP\u9700\u8981\u8d2d\u4e70Redhat\u7684license\uff0c\u4e0d\u9002\u5408\u5f00\u53d1\u6d4b\u8bd5\u548c\u8bd5\u9a8c\u73af\u5883\uff0c\u800cOKD\u867d\u7136\u53ef\u4ee5\u652f\u6301\u5f00\u53d1\u6d4b\u8bd5\u73af\u5883\uff0c\u4f46\u662f\u90e8\u7f72\u8fd8\u662f\u7a0d\u5fae\u590d\u6742\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u53ea\u9700\u8981\u7b80\u5355\u8bd5\u9a8c\u7684\u573a\u666f\u4ecd\u7136\u663e\u5f97\u592a\u91cd\u4e86\u3002\u4e3a\u6b64\uff0credhat\u63d0\u4f9b\u4e86\u5355\u673a\u7248\u7684openshift\uff0c\u540d\u4e3aCodeReady Container\u3002<\/p>\n\n\n\n<p><strong>\u4e00\u3001\u4ec0\u4e48\u662fCodeReady Container\uff08CRC\uff09\uff1f<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>CodeReady Containers \u5185\u7f6e\u4e00\u4e2a\u6700\u5c0f\u7684\u3001\u9884\u914d\u7f6e\u7684 OpenShift\uff08\u5305\u542bkunernetes\uff09\uff0c\u53ea\u8981\u4f60\u7684\u7b14\u8bb0\u672c\u6216\u8005\u53f0\u5f0f\u8ba1\u7b97\u673a\u7684\u914d\u7f6e\u7a0d\u5fae\u6bd4\u8f83\u597d\uff0c\u90a3\u4e48\u662f\u53ef\u4ee5\u8f7b\u677e\u5b89\u88c5\u7684\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5feb\u901f\u3001\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u642d\u5efa\u4e00\u4e2a\u5bb9\u5668\u5316\u7684\u5f00\u53d1\u73af\u5883\uff0c\u65e5\u5e38\u5f00\u53d1\u548c\u6d4b\u8bd5\u662f\u975e\u5e38\u65b9\u4fbf\u7684\u3002<\/p>\n\n\n\n<p>CodeReady Containers \u652f\u6301 Linux\u3001macOS \u548c Windows\uff0c\u4f9d\u8d56\u4e8e\u865a\u62df\u5316\u6280\u672f\uff0c\u6240\u4ee5\u9700\u8981\u5728\u8fd9\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u518d\u5b89\u88c5\u865a\u62df\u5316\u8f6f\u4ef6\uff0c\u4f8b\u5982Linux\u4e0a\u7684Libvirt\u3001macOS\u4e0a\u7684Hyperkit\u548cwindows\u4e0a\u7684HyperV\u3002<\/p>\n\n\n\n<p>CodeReady Containers\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u518d\u672c\u5730\u5feb\u901f\u521b\u5efa\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5728\u5f00\u53d1\u5b8c\u6210\u540e\u5c06\u5176\u8f7b\u677e\u5730\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u4e2d\u7684openshift container platform\uff0c\u65e0\u9700\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u8fdb\u884c\u4efb\u4f55\u66f4\u6539\uff0c\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u6613\u4e8e\u4f7f\u7528\u7684Web\u754c\u9762\u548c\u547d\u4ee4\u884c\u754c\u9762\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u65b9\u4fbf\u5730\u7ba1\u7406\u5176\u5bb9\u5668\u5316\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-1024x554.png\" alt=\"\" class=\"wp-image-11083\" width=\"524\" height=\"283\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-1024x554.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-300x162.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-768x416.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-830x449.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-230x124.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-350x189.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61-480x260.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-61.png 1526w\" sizes=\"(max-width: 524px) 100vw, 524px\" \/><\/figure><\/div>\n\n\n\n<p>\u9664\u4e86\u57fa\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\u90e8\u7f72\u548c\u7ba1\u7406\uff0cCodeReady Containers\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u5176\u4ed6\u529f\u80fd\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<ul><li>1.\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u652f\u6301<\/li><\/ul>\n\n\n\n<p>CodeReady Containers\u53ef\u4ee5\u4e0e\u4e00\u4e9b\u6d41\u884c\u7684IDE\uff08\u5982Eclipse\u548cVS Code\uff09\u96c6\u6210\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<ul><li>2.\u6301\u7eed\u96c6\u6210\/\u6301\u7eed\u90e8\u7f72\uff08CI\/CD\uff09\u652f\u6301<\/li><\/ul>\n\n\n\n<p>CodeReady Containers\u652f\u6301\u5404\u79cdCI\/CD\u5de5\u5177\uff0c\u5982Jenkins\u548cGitLab,\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5728\u672c\u5730\u6784\u5efa\u548c\u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u8f7b\u677e\u5730\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u4e2d\u3002<\/p>\n\n\n\n<p><strong>\u4e8c\u3001\u672c\u5730\u5316\u90e8\u7f72CodeReady Container<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u672c\u5730\u5316\u90e8\u7f72CodeReady Container\u662f\u4e00\u4ef6\u6bd4\u8f83\u8f7b\u677e\u7684\u4e8b\u60c5\uff0c\u4e00\u5207\u90fd\u8d8b\u5411\u4e8e\u81ea\u52a8\u5316\u3002\u4e0b\u9762\u4ee5Linux\uff08Centos 7\uff09\u4e3a\u4f8b\u8fdb\u884c\u5b89\u88c5\u6f14\u793a\u3002<\/p>\n\n\n\n<p>\u51c6\u5907\u4e00\u53f0\u4e3b\u673a\uff0c\u914d\u7f6e\u81f3\u5c11\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul><li>4 \u4e2a\u7269\u7406 CPU \u5185\u6838<\/li><li>9 GB \u53ef\u7528\u5185\u5b58<\/li><li>35 GB \u7684\u5b58\u50a8\u7a7a\u95f4<\/li><\/ul>\n\n\n\n<p>\u53e6\u5916\u521b\u5efa\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8ecrc\u8fd0\u884c\u7684\u7528\u6237\uff0c\u56e0\u4e3acrc\u7684\u8fd0\u884c\u4e0d\u80fd\u4f7f\u7528root\u7528\u6237\uff0c\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u6709\u63d0\u793a\u3002<\/p>\n\n\n\n<p>\u9996\u5148\u4ecehttps:\/\/crc.dev\/crc\/\u4e0b\u8f7dcrc\u7248\u672c\uff0c\u8bf7\u67e5\u770b\u81ea\u5df1\u7cfb\u7edf\u7684\u67b6\u6784\uff0c\u8fd9\u91cc\u4e0b\u8f7dlinux_x86_64\u67b6\u6784\u7684\u5b89\u88c5\u5305\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/console.redhat.com\/openshift\/create\/local\">https:\/\/console.redhat.com\/openshift\/create\/local<\/a><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-1024x419.png\" alt=\"\" class=\"wp-image-11122\" width=\"529\" height=\"216\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-1024x419.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-300x123.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-768x315.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-830x340.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-230x94.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-350x143.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83-480x197.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-83.png 1514w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/figure><\/div>\n\n\n\n<p>\u89e3\u538b\uff0c\u5e76\u5c06crc\u653e\u5230\u7cfb\u7edfPATH\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@node1 openshift]# tar zxf crc-linux-amd64.tar.xz\n[root@node1 crc-linux-2.15.0-amd64]# mv crc \/usr\/local\/bin\/<\/pre>\n\n\n\n<p>\u53e6\u5916 MacOS\u7684\u8bdd\uff0cMacOS\u7684M1\u82af\u7247\u67b6\u6784\u5df2\u7ecf\u652f\u6301, \u53ef\u4ee5\u4e0b\u8f7dpkg\u5b89\u88c5\u5305\uff0c\u76f4\u63a5\u53cc\u51fb\u5b89\u88c5\u5c31\u597d\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-1024x659.png\" alt=\"\" class=\"wp-image-11116\" width=\"453\" height=\"291\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-1024x659.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-300x193.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-768x494.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-1536x988.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-2048x1318.png 2048w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-830x534.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-230x148.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-350x225.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-80-480x309.png 480w\" sizes=\"(max-width: 453px) 100vw, 453px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-81.png\" alt=\"\" class=\"wp-image-11119\" width=\"336\" height=\"168\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-81.png 688w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-81-300x151.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-81-230x116.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-81-350x176.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-81-480x241.png 480w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-1024x739.png\" alt=\"\" class=\"wp-image-11120\" width=\"423\" height=\"305\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-1024x739.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-300x217.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-768x554.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-830x599.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-230x166.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-350x253.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82-480x346.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-82.png 1208w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><\/figure><\/div>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u67e5\u770bcrc\u7248\u672c,\u4ece\u8fd9\u91cc\u53ef\u4ee5\u770b\u5230\u9664\u4e86openshift\uff0c\u9ed8\u8ba4\u8fd8\u5b89\u88c5\u4e86Podman\uff0c\u56e0\u4e3aopenshift\u9ed8\u8ba4\u5c06podman\u4f5c\u4e3a\u5176\u5bb9\u5668\u8fd0\u884c\u65f6\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@node1 crc-linux-2.15.0-amd64]# crc version\nCRC version: 2.15.0+cc05160\nOpenShift version: 4.12.5\nPodman version: 4.3.1\n<\/pre>\n\n\n\n<p>\u8fdb\u884c\u73af\u5883\u914d\u7f6e\uff0cCodeReady Container\u8fd0\u884c<code>crc setup<\/code>\u547d\u4ee4\u8fdb\u884c\u73af\u5883\u914d\u7f6e\uff0c\u5b83\u4f1a\u68c0\u67e5\u5fc5\u987b\u7684\u670d\u52a1\u662f\u5426\u5df2\u7ecf\u6b63\u786e\u8fdb\u884c\u4e86\u5b89\u88c5\u5e76\u4e14\u6b63\u5e38\u8fd0\u884c,\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ crc setup\nINFO Using bundle path \/home\/k8s\/.crc\/cache\/crc_libvirt_4.12.5_amd64.crcbundle\nINFO Checking if running as non-root\nINFO Checking if running inside WSL2\nINFO Checking if crc-admin-helper executable is cached\nINFO Caching crc-admin-helper executable\nINFO Using root access: Changing ownership of \/home\/k8s\/.crc\/bin\/crc-admin-helper-linux\nINFO Using root access: Setting suid for \/home\/k8s\/.crc\/bin\/crc-admin-helper-linux\nINFO Checking if running on a supported CPU architecture\nINFO Checking minimum RAM requirements\nINFO Checking if crc executable symlink exists\nINFO Creating symlink for crc executable\nINFO Checking if Virtualization is enabled\nINFO Checking if KVM is enabled\nINFO Checking if libvirt is installed\nINFO Checking if user is part of libvirt group\nINFO Adding user to libvirt group\nINFO Using root access: Adding user to the libvirt group\nINFO Checking if active user\/process is currently part of the libvirt group\nINFO Checking if libvirt daemon is running\nINFO Checking if a supported libvirt version is installed\nINFO Checking if crc-driver-libvirt is installed\nINFO Installing crc-driver-libvirt\nINFO Checking if systemd-networkd is running\nINFO Checking if NetworkManager is installed\nINFO Checking if NetworkManager service is running\nNetworkManager is required. Please make sure it is installed and running manually\n<\/pre>\n\n\n\n<p>\u63d0\u793a<code>NetworkManager<\/code>\u6ca1\u6709\u6b63\u5e38\u8fd0\u884c\uff0c\u6211\u4eec\u53ef\u4ee5\u67e5\u770b<code>NetworkManager<\/code>\u7684\u72b6\u6001\uff0c\u53d1\u73b0\u786e\u5b9e\u5904\u4e8einactive\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ sudo systemctl status NetworkManager\n\u25cf NetworkManager.service - Network Manager\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/NetworkManager.service; disabled; vendor preset: enabled)\n   Active: inactive (dead)\n     Docs: man:NetworkManager(8)\n\n<\/pre>\n\n\n\n<p>\u542f\u52a8NetworkManager<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ sudo systemctl status NetworkManager<\/pre>\n\n\n\n<p>\u91cd\u65b0\u8fdb\u884csetup\uff0c\u53d1\u73b0\u5df2\u7ecf\u8bbe\u7f6e\u6210\u529f<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ crc setup\nINFO Using bundle path \/home\/k8s\/.crc\/cache\/crc_libvirt_4.12.5_amd64.crcbundle\nINFO Checking if running as non-root\nINFO Checking if running inside WSL2\nINFO Checking if crc-admin-helper executable is cached\nINFO Checking if running on a supported CPU architecture\nINFO Checking minimum RAM requirements\nINFO Checking if crc executable symlink exists\nINFO Checking if Virtualization is enabled\nINFO Checking if KVM is enabled\nINFO Checking if libvirt is installed\nINFO Checking if user is part of libvirt group\nINFO Checking if active user\/process is currently part of the libvirt group\nINFO Checking if libvirt daemon is running\nINFO Checking if a supported libvirt version is installed\nINFO Checking if crc-driver-libvirt is installed\nINFO Checking if systemd-networkd is running\nINFO Checking if NetworkManager is installed\nINFO Checking if NetworkManager service is running\nINFO Checking if \/etc\/NetworkManager\/conf.d\/crc-nm-dnsmasq.conf exists\nINFO Checking if \/etc\/NetworkManager\/dnsmasq.d\/crc.conf exists\nINFO Checking if libvirt 'crc' network is available\nINFO Checking if libvirt 'crc' network is active\nINFO Checking if CRC bundle is extracted in '$HOME\/.crc'\nINFO Checking if \/home\/k8s\/.crc\/cache\/crc_libvirt_4.12.5_amd64.crcbundle exists\nINFO Getting bundle for the CRC executable\nINFO Downloading bundle: \/home\/k8s\/.crc\/cache\/crc_libvirt_4.12.5_amd64.crcbundle...\n\n0 B \/ 2.98 GiB [________________________________________________________________________________________________________________________] 0.00% ? p\/s\nINFO Uncompressing \/home\/k8s\/.crc\/cache\/crc_libvirt_4.12.5_amd64.crcbundle\ncrc.qcow2:  11.82 GiB \/ 11.82 GiB [---------------------------------------------------------------------------------------------------------] 100.00%\noc:  124.65 MiB \/ 124.65 MiB [--------------------------------------------------------------------------------------------------------------] 100.00%\nYour system is correctly setup for using CRC. Use 'crc start' to start the instance\n<\/pre>\n\n\n\n<p>\u4f7f\u7528crc start\u5373\u53ef\u542f\u52a8CodeReady Container\u3002\u53e6\u5916\u542f\u52a8\u8fc7\u7a0b\u4e2d\u9700\u8981\u8f93\u5165Pull Secret\uff0c\u7528\u6237\u4eceredhat\u4e0a\u4e0b\u8f7d\u76f8\u5173\u5185\u5bb9\uff0c\u8fd9\u9700\u8981\u6ce8\u518credhat\u7684\u8d26\u53f7\uff0c\u5728https:\/\/console.redhat.com\/openshift\/create\/local\u4e0a\u8fdb\u884c\u4e0b\u8f7d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">(base) MacBook-Pro-2 nucleus-integration-standard % crc start\nINFO Checking if running as non-root              \nINFO Checking if crc-admin-helper executable is cached \nINFO Checking if running on a supported CPU architecture \nINFO Checking if crc executable symlink exists    \nINFO Checking minimum RAM requirements            \nINFO Checking if running emulated on a M1 CPU     \nINFO Checking if vfkit is installed               \nINFO Checking if old launchd config for tray and\/or daemon exists \nINFO Checking if crc daemon plist file is present and loaded \nINFO Loading bundle: crc_vfkit_4.12.13_arm64...   \nCRC requires a pull secret to download content from Red Hat.\nYou can copy it from the Pull Secret section of https:\/\/console.redhat.com\/openshift\/create\/local.\n? Please enter the pull secret <\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-1024x522.png\" alt=\"\" class=\"wp-image-11084\" width=\"553\" height=\"282\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-1024x522.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-300x153.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-768x391.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-830x423.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-230x117.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-350x178.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62-480x245.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/05\/\u56fe\u7247-62.png 1460w\" sizes=\"(max-width: 553px) 100vw, 553px\" \/><\/figure><\/div>\n\n\n\n<p>\u542f\u52a8crc,Pull Secret\u53ef\u4ee5\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\u8f93\u5165\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7<code>-p pull-secret.json<\/code>\u6307\u5b9a\u3002\u4ee5\u4e0b\u542f\u52a8\u6210\u529f\uff0c\u5728\u6700\u540e\u8f93\u51fa\u4e86web console\u8bbf\u95ee\u5730\u5740\u3001\u8d26\u53f7\u5bc6\u7801\u548coc\u547d\u4ee4\u7528\u6cd5\u3002<br><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ crc start\nINFO Checking if running as non-root\nINFO Checking if running inside WSL2\nINFO Checking if crc-admin-helper executable is cached\nINFO Checking if running on a supported CPU architecture\nINFO Checking minimum RAM requirements\nINFO Checking if crc executable symlink exists\nINFO Checking if Virtualization is enabled\nINFO Checking if KVM is enabled\nINFO Checking if libvirt is installed\nINFO Checking if user is part of libvirt group\nINFO Checking if active user\/process is currently part of the libvirt group\nINFO Checking if libvirt daemon is running\nINFO Checking if a supported libvirt version is installed\nINFO Checking if crc-driver-libvirt is installed\nINFO Checking if systemd-networkd is running\nINFO Checking if NetworkManager is installed\nINFO Checking if NetworkManager service is running\nINFO Checking if \/etc\/NetworkManager\/conf.d\/crc-nm-dnsmasq.conf exists\nINFO Checking if \/etc\/NetworkManager\/dnsmasq.d\/crc.conf exists\nINFO Checking if libvirt 'crc' network is available\nINFO Checking if libvirt 'crc' network is active\nINFO Loading bundle: crc_libvirt_4.12.5_amd64...\nCRC requires a pull secret to download content from Red Hat.\nYou can copy it from the Pull Secret section of https:\/\/console.redhat.com\/openshift\/create\/local.\n? Please enter the pull secret **********************************************************************************************************************\nWARN Cannot add pull secret to keyring: exec: \"dbus-launch\": executable file not found in $PATH\nINFO Creating CRC VM for openshift 4.12.5...\nINFO Generating new SSH key pair...\nINFO Generating new password for the kubeadmin user\nINFO Starting CRC VM for openshift 4.12.5...\nINFO CRC instance is running with IP 192.168.130.11\nINFO CRC VM is running\nINFO Updating authorized keys...\nINFO Check internal and public DNS query...\nINFO Check DNS query from host...\nWARN Wildcard DNS resolution for apps-crc.testing does not appear to be working\nINFO Verifying validity of the kubelet certificates...\nINFO Starting kubelet service\nINFO Waiting for kube-apiserver availability... [takes around 2min]\nINFO Adding user's pull secret to the cluster...\nINFO Updating SSH key to machine config resource...\nINFO Waiting until the user's pull secret is written to the instance disk...\nINFO Changing the password for the kubeadmin user\nINFO Updating cluster ID...\nINFO Updating root CA cert to admin-kubeconfig-client-ca configmap...\nINFO Starting openshift instance... [waiting for the cluster to stabilize]\nINFO 5 operators are progressing: image-registry, kube-storage-version-migrator, network, openshift-controller-manager, service-ca\nINFO 5 operators are progressing: image-registry, kube-storage-version-migrator, network, openshift-controller-manager, service-ca\nINFO 5 operators are progressing: image-registry, kube-storage-version-migrator, network, openshift-controller-manager, service-ca\nINFO 5 operators are progressing: image-registry, kube-storage-version-migrator, network, openshift-controller-manager, service-ca\nINFO 4 operators are progressing: image-registry, kube-storage-version-migrator, openshift-controller-manager, service-ca\nINFO 3 operators are progressing: image-registry, openshift-controller-manager, service-ca\nINFO 2 operators are progressing: image-registry, openshift-controller-manager\nINFO 2 operators are progressing: image-registry, openshift-controller-manager\nINFO All operators are available. Ensuring stability...\nINFO Operators are stable (2\/3)...\nINFO Operators are stable (3\/3)...\nINFO Adding crc-admin and crc-developer contexts to kubeconfig...\nStarted the OpenShift cluster.\n\nThe server is accessible via web console at:\n  https:\/\/console-openshift-console.apps-crc.testing\n\nLog in as administrator:\n  Username: kubeadmin\n  Password: ereDn-BUtfV-HF37v-cDJvu\n\nLog in as user:\n  Username: developer\n  Password: developer\n\nUse the 'oc' command line interface:\n  $ eval $(crc oc-env)\n  $ oc login -u developer https:\/\/api.crc.testing:6443\n<\/pre>\n\n\n\n<p>\u5230\u8fd9\u91cc\u5b89\u88c5\u57fa\u672c\u4e0a\u5c31\u7ed3\u675f\u4e86\uff0c\u53ef\u4ee5\u4f7f\u7528web console\u8fdb\u884c\u8bbf\u95ee\u4e5f\u53ef\u4ee5\u4f7f\u7528oc\u547d\u4ee4\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>web console\u6d4f\u89c8\u5668\u8bbf\u95ee\u5730\u5740\u4e3a\uff1ahttps:\/\/console-openshift-console.apps-crc.testing\/\uff0coc\u8bbf\u95ee\u767b\u5f55\u5730\u5740\u4e3ahttps:\/\/api.crc.testing:6443\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e9b\u5730\u5740\u90fd\u662fcrc\u5b89\u88c5\u4ee5\u540e\u751f\u6210\u7684\u5730\u5740\uff0c\u5b9e\u9645\u4e0a\u8981\u4f9d\u9760DNS\u8fdb\u884c\u89e3\u6790\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u89e3\u6790\u5230crc\u8fd0\u884c\u7684\u865a\u62df\u673a\u7684\u5730\u5740\uff0c\u4e00\u822cIP\u662f\uff1a192.168.130.11,\u53ef\u4ee5\u4f7f\u7528crc ip\u547d\u4ee4\u83b7\u53d6\u5230\u3002<\/p>\n\n\n\n<p>\u6b64\u65f6\u67e5\u770b\/etc\/hosts\u80fd\u591f\u770b\u5230\u5bf9\u5e94\u7684\u89e3\u6790\u5173\u7cfb\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ cat \/etc\/hosts\n127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4\n::1 localhost localhost.localdomain localhost6 localhost6.localdomain6\n\n192.168.130.11 api.crc.testing canary-openshift-ingress-canary.apps-crc.testing console-openshift-console.apps-crc.testing default-route-openshift-image-registry.apps-crc.testing downloads-openshift-console.apps-crc.testing oauth-openshift.apps-crc.testing\n<\/pre>\n\n\n\n<p>\u4f7f\u7528<code>crc ip<\/code>\u83b7\u53d6\u5230\u7684\u662f\u8fd0\u884ccrc\u7684KVM\u865a\u62df\u673a\u7684IP\uff0c\u8be5IP\u5730\u5740\u662fKVM\u4f7f\u7528\u7684\u5730\u5740\uff0c\u53ea\u80fd\u5728\u5bbf\u4e3b\u673a\u4e0a\u8bbf\u95ee\u5230\uff0c\u65e0\u6cd5\u76f4\u63a5\u8bbf\u95ee\u6b64IP\uff0c\u5982\u679c\u9700\u8981\u5728\u5bbf\u4e3b\u673a\u4e2d\u8bbf\u95ee\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5haproxy\u8f6c\u53d1\u3002<\/p>\n\n\n\n<p><strong>\u5b89\u88c5haproxy<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ sudo yum install -y haproxy<\/pre>\n\n\n\n<p>\u914d\u7f6ecrc ip\u73af\u5883\u53d8\u91cf\uff0c\u5907\u4efdhaproxy\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 haproxy]$ export CRC_IP=$(crc ip)\n[k8s@node1 haproxy]$ cp haproxy.cfg haproxy.cfg.backup\n<\/pre>\n\n\n\n<p>\u5728haproxy.cfg\u914d\u7f6e\u6587\u4ef6\u4e2d\u589e\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff0c\u914d\u7f6ehaproxy\u7684\u8f6c\u53d1<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">global\n    debug\n\ndefaults\n    log global\n    mode http\n    timeout connect 5000\n    timeout client 500000\n    timeout server 500000\n\nfrontend apps\n    bind 0.0.0.0:80\n    option tcplog\n    mode tcp\n    default_backend apps\n\nbackend apps\n    mode tcp\n    balance roundrobin\n    server webserver1 ${CRC_IP}:80 check\n\nfrontend apps_ssl\n    bind 0.0.0.0:443\n    option tcplog\n    mode tcp\n    default_backend apps_ssl\n\nbackend apps_ssl\n    mode tcp\n    balance roundrobin\n    option ssl-hello-chk\n    server webserver1 ${CRC_IP}:443 check\n\nfrontend api\n    bind 0.0.0.0:6443\n    option tcplog\n    mode tcp\n    default_backend api\n\nbackend api\n    mode tcp\n    balance roundrobin\n    option ssl-hello-chk\n    server webserver1 ${CRC_IP}:6443 checkd\n<\/pre>\n\n\n\n<p>\u91cd\u542fhaproxy<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo systemctl restart haproxy\n$ sudo systemctl status haproxy<\/pre>\n\n\n\n<p><strong>\u4e09\u3001Code Ready Container\u7684\u4f7f\u7528<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>crc\u754c\u9762\u975e\u5e38\u53cb\u597d\uff0c\u4e00\u822c\u4f7f\u7528\u4e0d\u5b58\u5728\u56f0\u96be\uff0c\u8fd9\u91cc\u4e3b\u8981\u8bb2\u4e00\u4e0b\u4f7f\u7528\u547d\u4ee4\u884c\u64cd\u4f5ccrc\u7684\u573a\u666f\u3002<\/p>\n\n\n\n<p><strong>\u67e5\u770bcrc\u8fd0\u884c\u72b6\u6001<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">crc status<\/pre>\n\n\n\n<p><strong>\u505c\u6b62crc<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">crc stop<\/pre>\n\n\n\n<p><strong>\u542f\u52a8crc<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">crc start<\/pre>\n\n\n\n<p><strong>\u83b7\u53d6\u96c6\u7fa4\u6240\u6709\u8282\u70b9<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc get nodes<\/pre>\n\n\n\n<p><strong>\u67e5\u770b\u67d0\u4e2a\u8282\u70b9\u7684\u8be6\u7ec6\u4fe1\u606f<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc describe node node-name<\/pre>\n\n\n\n<p><strong>\u767b\u5f55<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ oc login -u kubeadmin -p ereDn-BUtfV-HF37v-cDJvu https:\/\/api.crc.testing:6443\nLogin successful.\n\nYou have access to 66 projects, the list has been suppressed. You can list all projects with 'oc projects'\n\nUsing project \"default\".\n[k8s@node1 ~]$ oc projects\nYou have access to the following projects and can switch between them with ' project &lt;projectname>':\n<\/pre>\n\n\n\n<p><strong>\u521b\u5efa\u65b0\u9879\u76ee<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ oc new-project &lt;project-name><\/pre>\n\n\n\n<p><strong>\u67e5\u770b\u9879\u76ee\u5217\u8868<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ oc projects\nYou have access to the following projects and can switch between them with ' project &lt;projectname>':\n\n  * default\n    hostpath-provisioner\n    kube-node-lease\n    kube-public\n    kube-system\n    openshift\n    openshift-apiserver\n    openshift-apiserver-operator\n    openshift-authentication\n<\/pre>\n\n\n\n<p><strong>\u5207\u6362\u5230\u67d0\u4e2a\u9879\u76ee<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[k8s@node1 ~]$ oc project openshift-apiserver\nNow using project \"openshift-apiserver\" on server \"https:\/\/api.crc.testing:6443\".<\/pre>\n\n\n\n<p><strong>\u67e5\u770bproject\u7684\u4fe1\u606f<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc describe project projectname<\/pre>\n\n\n\n<p><strong>\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f<\/strong><\/p>\n\n\n\n<p>\u5c06\u4e00\u4e2a\u5bb9\u5668\u955c\u50cf\u90e8\u7f72\u5230\u5f53\u524d\u9009\u4e2d\u7684\u9879\u76ee\u4e2d\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc new-app &lt;container-image><\/pre>\n\n\n\n<p><strong>\u67e5\u770b\u90e8\u7f72POD\u72b6\u6001<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc get pods<\/pre>\n\n\n\n<p><strong>\u521b\u5efa\u8bbf\u95ee\u8def\u7531<\/strong><\/p>\n\n\n\n<p>\u5728openshift\u4e2d\u8981\u4ece\u5916\u90e8\u8bbf\u95ee\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u901a\u8fc7route,\u4ee5\u4e0b\u547d\u4ee4\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aroute<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc expose svc\/&lt;service-name><\/pre>\n\n\n\n<p><strong>\u83b7\u53d6\u8def\u7531<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">oc get route<\/pre>\n\n\n\n<p>oc\u547d\u4ee4\u8fd8\u6709\u975e\u5e38\u591a\uff0c\u5bf9\u5e94\u4e0d\u540c\u7684\u529f\u80fd\uff0c\u8fd9\u91cc\u53ea\u5217\u4e3e\u4e86\u90e8\u5206\u6700\u5e38\u7528\u7684\uff0c\u5176\u4ed6\u7684\u53ef\u4ee5\u53c2\u8003\u5b98\u7f51\uff0c\u5c31\u4e0d\u4e00\u4e00\u8be6\u8ff0\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u6587\u8bb2\u8fc7Openshift\u6709\u4e24\u4e2a\u7248\u672c\uff0c\u4e00\u662f\u4f01\u4e1a\u7248\u7684OCP\uff0c\u4e8c\u662f\u793e\u533a\u7248\u7684OKD\u3002OCP\u9700\u8981\u8d2d\u4e70Redhat\u7684li [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/11082"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11082"}],"version-history":[{"count":6,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/11082\/revisions"}],"predecessor-version":[{"id":11127,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/11082\/revisions\/11127"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}