{"id":26276,"date":"2025-12-03T11:44:24","date_gmt":"2025-12-03T11:44:24","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=26276"},"modified":"2025-12-03T11:44:24","modified_gmt":"2025-12-03T11:44:24","slug":"%e3%82%aa%e3%83%b3%e3%83%97%e3%83%acopenshift%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e7%b7%b4%e7%bf%92%e3%82%92%e7%88%86%e9%80%9f%e3%81%a7%e5%9b%9e%e3%81%99%ef%bc%81%e7%92%b0","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/26276\/","title":{"rendered":"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb &#8211; \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0"},"content":{"rendered":"\n<br \/><img decoding=\"async\" src=\"https:\/\/ogimage.blog.st-hatena.com\/10257846132643728507\/17179246901328269056\/1764754782\" \/><\/p>\n<div>\n<p>\u306f\u3058\u3081\u307e\u3057\u3066\u3001Red Hat\u3067OCP\u3068\u304bAnsible\u306e\u30b3\u30f3\u30b5\u30eb\u30bf\u30f3\u30c8\u3092\u3084\u3063\u3066\u3044\u308b\u30ef\u30bf\u30ca\u30d9\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u81ea\u5206\u304c\u4f5c\u6210\u3057\u305fOpenShift Container Platform (OCP) \u306e\u74b0\u5883\u69cb\u7bc9\u7df4\u7fd2\u30c4\u30fc\u30eb ocp_create_vm \u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\u3053\u308c\u306fOpenShift\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u7df4\u7fd2\u3059\u308b\u305f\u3081\u306e\u300cOpenShift Node\uff08Cluster VM\/ISO\u30de\u30a6\u30f3\u30c8\u3057\u3066\u8d77\u52d5\uff09\u300d\u3068\u300c\u5468\u8fba\u74b0\u5883\uff08Bastion VM\/\u30c7\u30d5\u30a9\u30eb\u30c8\u306fCentOS Stream9\u304c\u8d77\u52d5\uff09\u300d\u3092\u304a\u624b\u8efd\u306b\u6255\u3044\u51fa\u3059Ansible Role\u3068\u305d\u308c\u3092\u4fbf\u5229\u306b\u4f7f\u3046\u30b9\u30cb\u30da\u30c3\u30c8\u3092\u307e\u3068\u3081\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3059\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fgitlab.com%2Ftawatana%2Focp_create_vm\" title=\"Takafumi Watanabe \/ ocp_create_vm \u00b7 GitLab\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/gitlab.com\/tawatana\/ocp_create_vm\">gitlab.com<\/a><\/cite><\/p>\n<p>OpenShift\u69cb\u7bc9\u306e\u5b66\u7fd2\u3084\u691c\u8a3c\u306b\u304a\u3044\u3066\u3001\u4e00\u756a\u306e\u30cf\u30fc\u30c9\u30eb\u306f\u300cOpenShift\u305d\u306e\u3082\u306e\u300d\u3088\u308a\u3082\u3001\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u3059\u305f\u3081\u306e\u571f\u53f0\uff08\u30de\u30b7\u30f3\u306e\u6255\u3044\u51fa\u3057\uff09\u306e\u6e96\u5099\u300d \u306b\u3042\u308b\u3068\u611f\u3058\u305f\u3053\u3068\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u3042\u306a\u305f\u306f\u30aa\u30f3\u30d7\u30ec\u30df\u30b9 OCP\u69cb\u7bc9\u62c5\u5f53\u3068\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30b5\u30a4\u30f3\u3055\u308c\u305f\u65b0\u4eba\u30e1\u30f3\u30d0\u3060\u3068\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u81ea\u305a\u3068\u3053\u3093\u306a\u3053\u3068\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3067\u3057\u3087\u3046\u3002<\/p>\n<blockquote>\n<p>\u691c\u8a3c\u7528\u306b\u30b5\u30fc\u30d0\u30fc1\u53f0\u3082\u3089\u3063\u305f\u304b\u3089OpenShift\u5165\u308c\u3066\u307f\u3088\u3046\u304b\u306a\u2026\u2026\u3042\u30fc\u3067\u3082\u3001\u3068\u308a\u3042\u3048\u305aSNO\uff08\u30b7\u30f3\u30b0\u30eb\u30ce\u30fc\u30c9OpenShift\uff09\u3067\u7d44\u3093\u3060\u3068\u3057\u3066\u3082\u3001\u30ce\u30fc\u30c9\u843d\u3061\u305f\u6642\u306e\u30c6\u30b9\u30c8\u3068\u304b\u3067\u304d\u306a\u3044\u304b\u3002\u672c\u756a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u3082\u9055\u3046\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7df4\u7fd2\u306b\u3082\u306a\u3089\u306a\u3044\u3057\u306a\u3041\u3002<br \/>\u3058\u3083\u3042\u30de\u30eb\u30c1\u30ce\u30fc\u30c9\u3067\u7df4\u7fd2\u3059\u308b\u306a\u3089\u3001\u30b5\u30fc\u30d0\u30fc\u306bVM\u74b0\u5883\u7acb\u3066\u306a\u304d\u3083\u3044\u3051\u306a\u3044\u3063\u3066\u3053\u3068\u304b\u3002\u3044\u3084\u3067\u3082\u3001OpenShift\u5165\u308c\u305f\u3044\u3060\u3051\u306a\u306e\u306b\u3001\u308f\u3056\u308f\u3056\u305d\u306e\u4e0b\u306e\u4eee\u60f3\u57fa\u76e4\u306e\u69cb\u7bc9\u304b\u3089\u52c9\u5f37\u3057\u3066\u308b\u6642\u9593\u306a\u3093\u3066\u306a\u3044\u3063\u3066\u3002<br \/>\u7d50\u5c40\u3001\u672c\u756a\u306f\u3076\u3063\u3064\u3051\u3067\u3084\u308b\u3057\u304b\u306a\u3055\u305d\u3046\u3060\u304b\u3089\u3001\u305d\u308c\u307e\u3067\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d9\u30fc\u30b9\u306e\u673a\u4e0a\u691c\u8a3c\u306b\u3057\u3068\u304f\u304b\u3002\u3002\u3002<br \/>\u3054\u3081\u3093\u306d! \u30a2\u30d7\u30ea\u30c1\u30fc\u30e0!\u4f5c\u3063\u305f\u57fa\u76e4\u3067\u30a2\u30d7\u30ea\u306enode\u30c0\u30a6\u30f3\u30c6\u30b9\u30c8\u3092\u3057\u305f\u3044\u3063\u3066\u3044\u3063\u305f\u3051\u3069OpenShift local\u3068\u304b\u3067\u6211\u6162\u3057\u3066!<\/p>\n<\/blockquote>\n<p>\u3068\u304b\u3068\u304b\u3002\u3044\u3084\u3001OpenShift local\u304c\u826f\u304f\u306a\u3044\u308f\u3051\u3058\u3083\u306a\u3044\u3093\u3067\u3059\u3051\u3069\u3001\u8907\u6570node\u3067\u52d5\u4f5c\u3057\u305f\u3068\u304d\u306e\u6319\u52d5\u3068\u304bnode\u969c\u5bb3\u30c6\u30b9\u30c8\u3092\u3057\u305f\u3044\u3063\u3066\u3068\u304d\u306b\u3061\u3087\u3063\u3068\u7269\u8db3\u308a\u306a\u3055\u306f\u3042\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u305d\u3093\u306a\u554f\u984c<strong>\u300c\u8907\u6570node\u3092\u524d\u63d0\u3068\u3057\u305f\u30aa\u30f3\u30d7\u30ec\u30df\u30b9OpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\uff08Agent-based Installer \u3084 Assisted Installer\uff09\u3092\u4f55\u5ea6\u3082\u7df4\u7fd2\u3057\u305f\u3044\u3002\u3064\u3044\u3067\u306b\u3044\u3046\u306a\u3089\u5931\u6557\u3057\u3066\u58ca\u308c\u3066\u3082\u3055\u3055\u3063\u3068\u4f5c\u308a\u76f4\u3057\u3092\u3057\u3066\u691c\u8a3c\u3057\u305f\u3044\u300d<\/strong> \u3068\u3044\u3046\u30cb\u30fc\u30ba\u306b\u7279\u5316\u3057\u305f\u3001\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>\u4e00\u8a00\u3067\u8a00\u3046\u3068\u3001<strong>OpenShift\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u7df4\u7fd2\u3059\u308b\u305f\u3081\u306e\u300cOpenShift Node\uff08VM\u30b9\u30da\u30c3\u30af\u5b9a\u7fa9\/ISO\u30de\u30a6\u30f3\u30c8\u3057\u3066\u8d77\u52d5\uff09\u300d\u3068\u300c\u5468\u8fba\u74b0\u5883\uff08Bastion VM\uff09\u300d\u3092\u4e00\u672c\u3067\u6255\u3044\u51fa\u3059Ansible Role\u3068\u305d\u308c\u3092\u4fbf\u5229\u306b\u4f7f\u3046\u30b9\u30cb\u30da\u30c3\u30c8\u3092\u307e\u3068\u3081\u305f\u30ea\u30dd\u30b8\u30c8\u30ea<\/strong>\u3067\u3059\u3002<br \/>\u88cf\u5074\u3067\u306fTerraform\u304c\u52d5\u3044\u3066\u3044\u307e\u3059\u304c\u3001Ansible\u3067\u30e9\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u304cTerraform\uff08HCL\uff09\u3092\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002Ansible\u306ePlaybook\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30af\u30eb\u3092\u9ad8\u901f\u306b\u56de\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u74b0\u5883\u69cb\u7bc9\uff08Bastion VM\uff09<\/li>\n<li>Bastion\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>OpenShift\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u2192ISO\u4f5c\u6210<\/li>\n<li>\u74b0\u5883\u69cb\u7bc9\uff08Cluster VMs\uff09<\/li>\n<li>OpenShift\u8a2d\u5b9a\/Operator\u691c\u8a3c<\/li>\n<li>\u74b0\u5883\u7834\u68c4\uff08Destroy\uff09<\/li>\n<li>\u2192 1\u306b\u623b\u308b<\/li>\n<\/ol>\n<p>\u307e\u305a\u3001RHEL9\u7cfb\u306eLinux\u30de\u30b7\u30f3\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001Ansible\u3068\u304bTerraform\u3068\u304bKVM\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u3057\u3066\u30fb\u30fb\u30fb\u3063\u3066\u3081\u3093\u3069\u304f\u305b\u30fc!<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">curl -fsSL https:\/\/gitlab.com\/tawatana\/ocp_create_vm\/-\/raw\/main\/setup-host.sh | sh<\/pre>\n<p>\u3053\u308c\u3067\u3067\u304d\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fRHEL9\u306broot\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u3053\u308c\u3092\u5b9f\u884c\u3057\u305f\u3089\u304a\u307e\u304b\u305b\u3067\u5168\u90e8\u5165\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u306a\u306b?\u7269\u7406\u30de\u30b7\u30f3\u3082\u6301\u3063\u3066\u306a\u3044?\u305d\u3093\u306a\u4eba\u306b\u306f<a target=\"_blank\" href=\"https:\/\/gitlab.com\/tawatana\/ocp_create_vm\/-\/blob\/main\/examples\/create_host_aws.yml\">\u3053\u308c<\/a>! <\/strong><\/p>\n<p>\u304a\u624b\u5143\u306emac\u3068\u304bWSL\u306bansible\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3053\u306eplaybook\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002AWS\u306bAnsible\u3068\u304bTerraform\u3068\u304bKVM\u304c\u3044\u3044\u611f\u3058\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u305f\u30d9\u30a2\u30e1\u30bf\u30eb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u3054\u98ef\u98df\u3079\u3066\u308b\u9593\u306b\u6255\u3044\u51fa\u3055\u308c\u307e\u3059\u3002\u3082\u3061\u308d\u3093AWS\u74b0\u5883\u4e38\u3054\u3068\u524a\u9664\u3059\u308bplaybook\u3082\u5165\u3063\u3066\u308b\u306e\u3067\u304a\u7247\u4ed8\u3051\u3082\u7c21\u5358\u3067\u3059\u3002<br \/>(\u203bAWS\u306e\u30d9\u30a2\u30e1\u30bf\u30eb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u6599\u91d1\u304c\u9ad8\u3081\u306a\u306e\u3067\u3001\u691c\u8a3c\u304c\u7d42\u308f\u3063\u305f\u3089\u5fc5\u305a\u524a\u9664Playbook\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff01)<\/p>\n<p>\u3055\u3066\u3055\u3066\u3001\u3053\u308c\u3067KVM\u30db\u30b9\u30c8\u306f\u7528\u610f\u3067\u304d\u307e\u3057\u305f\u306d\u3002\u3058\u3083\u3042\u300cStep 1: Bastion\uff08\u8e0f\u307f\u53f0\uff09\u306e\u4f5c\u6210\u300d\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3088\u308a\u5f8c\u308d\u306fAgent-based\u65b9\u5f0f\u3092\u30b5\u30f3\u30d7\u30eb\u306b\u4f7f\u3044\u65b9\u3092\u6848\u5185\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"Step-1-Bastion\u8e0f\u307f\u53f0\u306e\u4f5c\u6210\">Step 1: Bastion\uff08\u8e0f\u307f\u53f0\uff09\u306e\u4f5c\u6210<\/h2>\n<p>KVM\u30db\u30b9\u30c8\u3067\u6b21\u306ePlaybook\u3092root\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\"># create_bastion.yml\n---\n- name: Create bastion\n  hosts: localhost\n\n  tasks:\n    - name: Create bastion\n      ansible.builtin.import_role:\n        name: ocp_create_vm\n      vars:\n        ocp_create_vm_create_bastion: true\n        ocp_create_vm_ocp_network_mode: \"nat\"<\/pre>\n<p>\u5b9f\u884c\u65b9\u6cd5<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">ansible-playbook create_bastion.yml<\/pre>\n<p>\u5b9f\u884c\u5f8c\u3001KVM\u30db\u30b9\u30c8\u4e0a\u306b\u4ee5\u4e0b\u306e\u69cb\u6210\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068VM\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">KVM HOST NIC\n     \u2502 \ndefault (192.168.122.0\/24)(\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u7d4c\u7531\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u53ef)\n     \u2502\nbastion01\n\u251c\u2500\u2500 NIC 1: default (192.168.122.10)\n\u2514\u2500\u2500 NIC 2: openshift_network\n     \u2502\nopenshift_network (192.168.10.0\/24)(\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u7d4c\u7531\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u53ef)\n     \u2502<\/pre>\n<p>\u3082\u3057\u3001Proxy\u3084Disconnected\u306e\u7df4\u7fd2\u304c\u3057\u305f\u304b\u3063\u305f\u3089\u300cocp_create_vm_ocp_network_mode: &#8220;nat&#8221;\u300d\u3092\u524a\u308b\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306e\u300cocp_create_vm_ocp_network_mode: &#8220;none&#8221;\u300d\u304c\u9069\u7528\u3055\u308c\u3001OCP VM\u304c\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u758e\u901a\u304c\u3067\u304d\u306a\u3044\u69cb\u6210\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>bastion\u306e\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u306fplaybook\u306b\u8a18\u8f09\u3055\u308c\u307e\u3059(Ansible\u306e\u5909\u6570\u5909\u3048\u3066\u306a\u304b\u3063\u305f\u3089\u3053\u308c\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002)<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">TASK [ocp_create_vm : Display login info] \nok: [localhost] =&gt; {\n    \"msg\": [\n        \"VM Connection Information\",\n        \"IP Address : 192.168.122.10\",\n        \"User       : rhel\",\n        \"Password   : redhat\"\n    ]\n}<\/pre>\n<p>\u3053\u308c\u3067\u3001bastion\u30b5\u30fc\u30d0\u306e\u69cb\u7bc9\u306f\u5b8c\u4e86\u3067\u3059\u3002\u5bfe\u8c61\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308d\u3044\u308d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb&amp;\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046!<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\"># ssh rhel@192.168.122.10\nrhel@192.168.122.10's password: \nActivate the web console with: systemctl enable --now cockpit.socket\n\nLast login: Mon Dec  1 03:42:06 2025 from 192.168.122.1\n[rhel@bastion0 ~]$ sudo -i\n[root@bastion0 ~]# dnf install xxx<\/pre>\n<h2 id=\"Step2-Bastion\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\">Step2: Bastion\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Bastion\u30b5\u30fc\u30d0\u306b\u306fOpenShift\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5fc5\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3084CLI\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\u4f55\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u304b\u306f\u74b0\u5883\u3054\u3068\u306b\u4e00\u6982\u306b\u306f\u8a00\u3048\u307e\u305b\u3093\u304c\u30014.20\u306eAgent-based installer\u306a\u3089\u4ee5\u4e0b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fdocs.redhat.com%2Fen%2Fdocumentation%2Fopenshift_container_platform%2F4.20%2Fhtml%2Finstalling_an_on-premise_cluster_with_the_agent-based_installer%2Fpreparing-to-install-with-agent-based-installer%23about-the-agent-based-installer_preparing-to-install-with-agent-based-installer\" title=\"Chapter\u00a01.\u00a0Preparing to install with the Agent-based Installer | Installing an on-premise cluster with the Agent-based Installer | OpenShift Container Platform | 4.20 | Red Hat Documentation\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/docs.redhat.com\/en\/documentation\/openshift_container_platform\/4.20\/html\/installing_an_on-premise_cluster_with_the_agent-based_installer\/preparing-to-install-with-agent-based-installer#about-the-agent-based-installer_preparing-to-install-with-agent-based-installer\">docs.redhat.com<\/a><\/cite><\/p>\n<p>DNS\u3068\u304b\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3068\u304bProxy\u3067\u306e\u30af\u30e9\u30b9\u30bf\u69cb\u7bc9\u3068\u304b\u3068\u304b\u30fb\u30fb\u30fb\u3048\u3001\u3081\u3093\u3069\u3044\u30fb\u30fb\u30fb?<br \/>\u3058\u3083\u3042\u3001\u3053\u308c\u3067\u4e00\u767a\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002Bastion\u30b5\u30fc\u30d0\u306eroot\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">curl -fsSL https:\/\/gitlab.com\/tawatana\/ocp_create_vm\/-\/raw\/main\/examples\/helper_node.sh | sh<\/pre>\n<p><a target=\"_blank\" href=\"https:\/\/gitlab.com\/tawatana\/ocp_create_vm\/-\/blob\/main\/examples\/helper_node.sh\">\u8a73\u7d30\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e2d\u8eab\u3092\u307f\u3066\u3082\u3089\u3046\u3068\u3057\u3066\u3001<\/a><br \/>\n\u3044\u308d\u3093\u306a\u69cb\u6210\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081proxy\u3068\u304bntp\u3082\u5165\u3063\u3066\u3044\u307e\u3059\u304cOCP\u5074\u3067\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u306a\u3051\u308c\u3070\u60aa\u3055\u306f\u3057\u307e\u305b\u3093\u3002<br \/>openshift-install\u306estable\u6700\u65b0\u3082\u5165\u3063\u3066\u308b\u306e\u3067Agent-based\u65b9\u5f0f\u306eISO\u4f5c\u6210\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 id=\"Step-34-ISO\u306e\u6e96\u5099\u3068Cluster-VM\u306e\u4f5c\u6210\">Step 3,4: ISO\u306e\u6e96\u5099\u3068Cluster VM\u306e\u4f5c\u6210<\/h2>\n<p>4.20\u306eAgent-based installer\u306a\u3089\u4ee5\u4e0b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u307f\u3066ISO\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306eYAML\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fdocs.redhat.com%2Fen%2Fdocumentation%2Fopenshift_container_platform%2F4.20%2Fhtml%2Finstalling_an_on-premise_cluster_with_the_agent-based_installer%2Finstalling-with-agent-basic\" title=\"Chapter\u00a03.\u00a0Installing a cluster | Installing an on-premise cluster with the Agent-based Installer | OpenShift Container Platform | 4.20 | Red Hat Documentation\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/docs.redhat.com\/en\/documentation\/openshift_container_platform\/4.20\/html\/installing_an_on-premise_cluster_with_the_agent-based_installer\/installing-with-agent-basic\">docs.redhat.com<\/a><\/cite><\/p>\n<p>\u3053\u308c\u3082\u9762\u5012\u30fb\u30fb\u30fb?\u306f\u3044\u3002\u3053\u308c\u3082\u81ea\u52d5\u5316\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u3063\u3066\u307e\u3059\u3002Bastion\u30b5\u30fc\u30d0\u306eroot\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>3 Control plane, 3 worker\u306e\u30b5\u30f3\u30d7\u30ebyaml\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305fISO\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n(\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7df4\u7fd2\u306e\u305f\u3081\u306b\u3082<a target=\"_blank\" href=\"https:\/\/gitlab.com\/tawatana\/ocp_create_vm\/-\/blob\/main\/examples\/create_ocp4_iso.sh\">\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e2d\u8eab<\/a>\u306f\u305c\u3072\u8aad\u3093\u3067\u304f\u3060\u3055\u3044!)<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">curl -fsSL https:\/\/gitlab.com\/tawatana\/ocp_create_vm\/-\/raw\/main\/examples\/create_ocp4_iso.sh | sh<\/pre>\n<p>ISO\u4f5c\u6210\u5f8c\u3001KVM\u30db\u30b9\u30c8\u306e<code>\/terraform\/agent.x86_64.iso<\/code>\u306bISO\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001\u4ee5\u4e0bplaybook\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\"># create_cluster.yml\n---\n- name: Create cluster\n  hosts: localhost\n\n  tasks:\n    - name: Create cluster\n      ansible.builtin.import_role:\n        name: ocp_create_vm\n      vars:\n        ocp_create_vm_create_cluster: true\n        ocp_create_vm_cluster_os_image_path: \"\/terraform\"\n        ocp_create_vm_cluster_os_image_name: \"agent.x86_64.iso\"\n        ocp_create_vm_cluster_master_count: 3\n        ocp_create_vm_cluster_worker_count: 3<\/pre>\n<p>\u5b9f\u884c\u65b9\u6cd5<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">ansible-playbook create_cluster.yml<\/pre>\n<p>\u5b9f\u884c\u5f8c\u3001KVM\u30db\u30b9\u30c8\u4e0a\u306b\u8ffd\u52a0\u3067OpenShift VM\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">KVM HOST NIC\n     \u2502 \ndefault (192.168.122.0\/24)(\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u7d4c\u7531\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u53ef)\n     \u2502\nbastion01\n\u251c\u2500\u2500 NIC 1: default (192.168.122.10)\n\u2514\u2500\u2500 NIC 2: openshift_network\n     \u2502\nopenshift_network (192.168.10.0\/24)(\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u7d4c\u7531\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u53ef)\n     \u2502\n     \u251c\u2500\u2500 master0\n     \u251c\u2500\u2500 master1\n     \u251c\u2500\u2500 master2\n     \u2502\n     \u251c\u2500\u2500 worker0\n     \u251c\u2500\u2500 worker1\n     \u251c\u2500\u2500 worker2<\/pre>\n<h2 id=\"Step-5-OpenShift\u8a2d\u5b9aOperator\u691c\u8a3c\">Step 5: OpenShift\u8a2d\u5b9a\/Operator\u691c\u8a3c<\/h2>\n<p>\u3053\u3053\u307e\u3067\u6765\u305f\u3089\u666e\u901a\u306eOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u540c\u3058\u3067\u3059\u3002<br \/>bastion\u30b5\u30fc\u30d0\u30fc\u3067<code>openshift-install --dir  agent wait-for install-complete<\/install_directory><\/code>\u3068\u304b\u773a\u3081\u3066\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u304c\u51fa\u529b\u3059\u308b\u307e\u3067\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2 id=\"Step-6-\u74b0\u5883\u7834\u68c4Destroy\">Step 6: \u74b0\u5883\u7834\u68c4\uff08Destroy\uff09<\/h2>\n<p>\u691c\u8a3c\u304c\u7d42\u308f\u3063\u305f\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u3066\u3084\u308a\u76f4\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0bPlaybook\u3092\u5b9f\u884c\u3059\u308c\u3070\u304d\u308c\u3044\u306b\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\"># destroy_all.yml\n---\n- name: Destroy Cluster and bastion\n  hosts: localhost\n\n  tasks:\n    - name: Destroy all\n      ansible.builtin.import_role:\n        name: ocp_create_vm\n      vars:\n        ocp_create_vm_destroy_all: true<\/pre>\n<p>\u5b9f\u884c\u65b9\u6cd5<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">ansible-playbook destroy_all.yml<\/pre>\n<p>\u4ee5\u4e0a\u304c\u30d9\u30fc\u30b7\u30c3\u30af\u306a\u4f7f\u3044\u65b9\u3067\u3059\u3002<\/p>\n<h2 id=\"bonding\u3068\u304bmultus\u3092\u8a66\u3057\u305f\u3044\u5834\u5408\">bonding\u3068\u304bmultus\u3092\u8a66\u3057\u305f\u3044\u5834\u5408<\/h2>\n<p>\u4f8b\u3048\u3070\u3001OCP\u3092bonding\u3067nic2\u3064\u69cb\u6210\u306b\u3057\u3066\u3001Virt\u306e\u305f\u3081\u306b\u3082\u30461\u672c\u3001\u5408\u8a083\u672c\u306enic\u3092\u63a5\u7d9a\u3057\u305fOCP\u3092\u69cb\u7bc9\u3057\u305f\u3044\u3068\u3057\u307e\u3059\u3002<br \/>\u3082\u3061\u308d\u3093\u305d\u306e\u69cb\u6210\u306e\u30c7\u30d7\u30ed\u30a4\u3082\u5bfe\u5fdc\u3057\u3066\u307e\u3059\u3002create_cluster.yml\u306e\u96a3\u306bocp_create_vm role\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u304a\u3044\u3066defaults\/main.yml\u3092\u7de8\u96c6\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">.\n\u251c\u2500\u2500 create_cluster.yml\n\u2514\u2500\u2500 ocp_create_vm\/\n    \u2514\u2500\u2500 defaults\/\n        \u2514\u2500\u2500 main.yml<\/pre>\n<p>54\u884c\u76ee\u3042\u305f\u308a\u304b\u3089\u3053\u3093\u306a\u3075\u3046\u306b\u7de8\u96c6<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\"># \u30af\u30e9\u30b9\u30bf\u69cb\u6210\u60c5\u5831\nocp_create_vm_cluster_master:\n  - name: master0\n    cpu: \"{{ ocp_create_vm_cluster_master_vcpu }}\"\n    memory: \"{{ ocp_create_vm_cluster_master_memory }}\"\n    disk:\n      - \"{{ ocp_create_vm_cluster_disk_size }}\"\n    mac_address:\n      - \"52:54:00:26:a1:10\"\n      - \"52:54:00:26:a2:10\"\n      - \"52:54:00:26:a3:10\"\n#      - \"52:54:00:26:a4:10\"<\/pre>\n<p>\u3053\u308c\u3067\u3001OCP VM\u306b3\u672c\u7d50\u7dda\u3055\u308c\u3001openshift_network\u306b\u63a5\u7d9a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u3067\u3059\u306d\u3002<\/p>\n<h2 id=\"OpenShift-Virtualization\u3092\u8a66\u3057\u305f\u3044\u5834\u5408\">OpenShift Virtualization\u3092\u8a66\u3057\u305f\u3044\u5834\u5408<\/h2>\n<p>\u3053\u308c\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u69cb\u6210\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u304c\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30b9\u30af\u30ea\u30d7\u30c8\u3067KVM\u30db\u30b9\u30c8\u3092\u69cb\u7bc9\u3057\u305f\u5834\u5408\u3001Nested KVM\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\u3053\u308c\u3067\u591a\u6bb5VM\u304c\u53ef\u80fd\u306b\u306a\u308b\u306e\u3067\u3001KVM\u4e0a\u3067\u4f5c\u3063\u305fOCP\u306e\u4e0a\u3067OpenShift Virtualization\u304c\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u8a66\u3057\u3066\u307f\u308b\u7a0b\u5ea6\u306a\u3089\u5341\u5206\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u7279\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u65b9\u306b\u523a\u3055\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>OpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u7df4\u7fd2\u3057\u305f\u3044\u4eba: Agent-based Installer \u3084 Assisted Installer \u306e\u6319\u52d5\u3092\u4f55\u5ea6\u3082\u78ba\u8a8d\u3057\u305f\u3044\u65b9\u3002<\/li>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u4ed5\u7d44\u307f\u3092\u6df1\u304f\u7406\u89e3\u3057\u305f\u3044\u4eba: \u3069\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u4f55\u304c\u5fc5\u8981\u306a\u306e\u304b\u3001\u8a66\u884c\u932f\u8aa4\u3057\u306a\u304c\u3089\u5b66\u3073\u305f\u3044\u65b9\u3002<\/li>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u66f8\u3092\u4f5c\u308a\u305f\u3044\u4eba: \u4f55\u5ea6\u3082\u300c\u66f4\u5730\u300d\u306b\u623b\u305b\u308b\u305f\u3081\u3001\u518d\u73fe\u6027\u306e\u3042\u308b\u624b\u9806\u4f5c\u6210\u306b\u6700\u9069\u3067\u3059\u3002<\/li>\n<li>OpenShift\u4e0a\u306e\u30a2\u30d7\u30ea\/\u8a2d\u5b9a\u624b\u9806\u3092\u4f5c\u308a\u305f\u3044\u4eba: \u30af\u30e9\u30b9\u30bf\u30fc\u81ea\u4f53\u3092\u4f7f\u3044\u6368\u3066\u306b\u3067\u304d\u308b\u305f\u3081\u3001\u5e38\u306b\u30af\u30ea\u30fc\u30f3\u306a\u74b0\u5883\u3067\u691c\u8a3c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>Virt\u3092\u3068\u308a\u3042\u3048\u305a\u8a66\u3057\u305f\u3044\u4eba: Nested KVM\u74b0\u5883\u3067\u52d5\u4f5c\u78ba\u8a8d\u304c\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<\/ul>\n<p>\u8a73\u7d30\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5\u3084\u30b3\u30fc\u30c9\u306fGitLab\u3067\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002 \u305c\u3072\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\u6700\u5f8c\u306b\u5f53\u305f\u308a\u524d\u306e\u3053\u3068\u306b\u306a\u308b\u3093\u3067\u3059\u304c\u3001\u3053\u306e\u30b3\u30fc\u30c9\u306f\u500b\u4eba\u958b\u767a\u3067\u66f8\u304b\u308c\u305f\u3082\u306e\u3067\u3059\u306e\u3067Red Hat\u304c\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u3042\u3057\u304b\u3089\u305a\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u52d5\u304fOCP\u304c\u81ea\u52d5\u3067\u3067\u304d\u3066\u307b\u3057\u3044\u3068\u3044\u3046\u308f\u304c\u307e\u307e\u306a\u65b9! \u5b9f\u306f\u79c1\u304cRole\u306e\u30c6\u30b9\u30c8\u7528\u306b\u66f8\u3044\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">ansible-galaxy role install git+https:\/\/gitlab.com\/tawatana\/ocp_create_vm.git --force\ngit clone --depth 1 https:\/\/gitlab.com\/tawatana\/ocp_create_vm.git\ncd ocp_create_vm\/examples\n# Copy from https:\/\/cloud.redhat.com\/openshift\/install\/pull-secret\nvi $HOME\/openshift-pull-secret\nsh provision-openshift.sh<\/pre>\n<p>\u3053\u308c\u3067\u5148\u7a0b\u306e\u624b\u9806\u306estep4\u307e\u3067\u81ea\u52d5\u3067\u3084\u3063\u3066\u304f\u308c\u307e\u3059\u3002\u697d\u3061\u3093\u3067\u3059\u306d\u3002\u4e2d\u3067\u3069\u3093\u306a\u3053\u3068\u3092\u3084\u3063\u3066\u308b\u304b\u8aad\u307f\u89e3\u3051\u3070\u3044\u308d\u3044\u308d\u30ab\u30b9\u30bf\u30e0\u3068\u304b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u81ea\u52d5\u5316\u306e\u7406\u89e3\u304c\u3067\u304d\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/ja_JP\/sdk.js#xfbml=1&appId=719729204785177&version=v17.0\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u306f\u3058\u3081\u307e\u3057\u3066\u3001Red Hat\u3067OCP\u3068\u304bAnsible\u306e\u30b3\u30f3\u30b5\u30eb\u30bf\u30f3\u30c8\u3092\u3084\u3063\u3066\u3044\u308b\u30ef\u30bf\u30ca\u30d9\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u81ea\u5206\u304c\u4f5c\u6210\u3057\u305fOpenShift Container Platform (OCP) \u306e\u74b0\u5883\u69cb\u7bc9\u7df4\u7fd2\u30c4\u30fc\u30eb oc [&hellip;]","protected":false},"author":1,"featured_media":26277,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-26276","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb - \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0 - \u30dd\u30b1\u30b3\u30f3<\/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:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb - \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0 - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u307e\u3057\u3066\u3001Red Hat\u3067OCP\u3068\u304bAnsible\u306e\u30b3\u30f3\u30b5\u30eb\u30bf\u30f3\u30c8\u3092\u3084\u3063\u3066\u3044\u308b\u30ef\u30bf\u30ca\u30d9\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u81ea\u5206\u304c\u4f5c\u6210\u3057\u305fOpenShift Container Platform (OCP) \u306e\u74b0\u5883\u69cb\u7bc9\u7df4\u7fd2\u30c4\u30fc\u30eb oc [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-03T11:44:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/1764754782.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/26276\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb &#8211; \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"datePublished\":\"2025-12-03T11:44:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/26276\\\/\"},\"wordCount\":232,\"image\":{\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/1764754782.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/26276\\\/\",\"url\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942\",\"name\":\"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb - \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0 - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/1764754782.png\",\"datePublished\":\"2025-12-03T11:44:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/1764754782.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/1764754782.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rheb.hatenablog.com\\\/entry\\\/2025\\\/12\\\/03\\\/183942#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb &#8211; \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb - \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0 - \u30dd\u30b1\u30b3\u30f3","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:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942","og_locale":"ja_JP","og_type":"article","og_title":"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb - \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0 - \u30dd\u30b1\u30b3\u30f3","og_description":"\u306f\u3058\u3081\u307e\u3057\u3066\u3001Red Hat\u3067OCP\u3068\u304bAnsible\u306e\u30b3\u30f3\u30b5\u30eb\u30bf\u30f3\u30c8\u3092\u3084\u3063\u3066\u3044\u308b\u30ef\u30bf\u30ca\u30d9\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u81ea\u5206\u304c\u4f5c\u6210\u3057\u305fOpenShift Container Platform (OCP) \u306e\u74b0\u5883\u69cb\u7bc9\u7df4\u7fd2\u30c4\u30fc\u30eb oc [&hellip;]","og_url":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-12-03T11:44:24+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/1764754782.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/26276\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb &#8211; \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","datePublished":"2025-12-03T11:44:24+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/26276\/"},"wordCount":232,"image":{"@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/1764754782.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/26276\/","url":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942","name":"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb - \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0 - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#primaryimage"},"image":{"@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/1764754782.png","datePublished":"2025-12-03T11:44:24+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/1764754782.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/1764754782.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/rheb.hatenablog.com\/entry\/2025\/12\/03\/183942#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"\u30aa\u30f3\u30d7\u30ecOpenShift\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7df4\u7fd2\u3092\u7206\u901f\u3067\u56de\u3059\uff01\u74b0\u5883\u69cb\u7bc9\u30fb\u7834\u68c4\u30c4\u30fc\u30eb ocp_create_vm \u306e\u7d39\u4ecb &#8211; \u8d64\u5e3d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/26276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=26276"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/26276\/revisions"}],"predecessor-version":[{"id":26278,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/26276\/revisions\/26278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/26277"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=26276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=26276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=26276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}