{"id":41226,"date":"2021-03-04T09:00:35","date_gmt":"2021-03-04T00:00:35","guid":{"rendered":"https:\/\/www.creationline.com\/?p=41226"},"modified":"2022-04-06T15:23:08","modified_gmt":"2022-04-06T06:23:08","slug":"k0s-kubernetes%e3%81%ae%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%ef%bc%9a%e7%b0%a1%e6%98%93%e7%89%88-k0s-kubernetes-mirantis-docker-iot-edge","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226","title":{"rendered":"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge"},"content":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300c<a href=\"https:\/\/www.mirantis.com\/blog\/how-to-set-up-k0s-kubernetes-a-quick-and-dirty-guide\/\">How to set up k0s Kubernetes: A quick and dirty guide<\/a>\u300d\u306e\u7ffb\u8a33\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1-360x270.png\" alt=\"\" width=\"360\" height=\"270\" class=\"alignright size-medium wp-image-41227\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1-360x270.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png 768w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<p>\u3053\u3053\u6570\u9031\u9593\u3001Mirantis \u3067\u306f Kubernetes \u3092\u7c21\u5358\u306b\u5229\u7528\u3059\u308b\u4e00\u3064\u306e\u65b9\u6cd5\u3068\u3057\u3066 k0s \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3044\u3066\u8a71\u984c\u306b\u4e0a\u3052\u3066\u304d\u307e\u3057\u305f\u3002\u4eca\u56de\u306e\u7c21\u6613\u7248\u30ac\u30a4\u30c9\u3067\u306f\u3001<a href=\"https:\/\/k0sproject.io\/\">k0s<\/a> \u3092\u59cb\u3081\u308b\u305f\u3081\u306e\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>k0s \u306e Kubernetes \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306f\u3001Linux \u30ab\u30fc\u30cd\u30eb\u3092\u542b\u3080\u3042\u3089\u3086\u308b\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067 Kubernetes \u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u3092\u542b\u3080<strong>\u5358\u4e00\u306e\u30d0\u30a4\u30ca\u30ea<\/strong>\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3060\u3051\u306b\u3001\u59cb\u3081\u308b\u306e\u306f\u6b21\u306e\u3088\u3046\u306b\u3068\u3066\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n<ol>\n<li>k0s \u30d0\u30a4\u30ca\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>Kubernetes\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3059\u308b\u305f\u3081\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>Kubernetes worker \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u30af\u30e9\u30b9\u30bf\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u5229\u7528\u958b\u59cb\u3057\u307e\u3057\u3087\u3046\uff01<\/li>\n<\/ol>\n<p>\u3082\u3061\u308d\u3093\u3001\u3055\u3089\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3084\u30b5\u30fc\u30d0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u4eca\u56de\u306f\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u300c\u5fc5\u8981\u306a\u3082\u306e\u3092\u3059\u3079\u3066\u5b9f\u884c\u3059\u308b\u5358\u4e00\u306e\u30b5\u30fc\u30d0\u30fc\u69cb\u6210\u300d\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/p>\n<h2>k0s\u3067\u30b7\u30f3\u30b0\u30eb\u30ce\u30fc\u30c9Kubernetes\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n<p>\u306f\u3058\u3081\u306b\u3001k0s \u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u30b5\u30fc\u30d0\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\uff08\u30b7\u30f3\u30b0\u30eb\u30ce\u30fc\u30c9\u69cb\u6210\u306a\u306e\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9<strong>\u30ce\u30fc\u30c9<\/strong>\u3067\u306f\u7121\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff09<\/p>\n<p>k0s \u306e Kubernetes \u306e\u5b9f\u88c5\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f Jussi Nummelin \u306e<a href=\"https:\/\/medium.com\/k0sproject\/hello-k0s-4ca08d1a1058\">\u30d6\u30ed\u30b0<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30d7\u30ed\u30bb\u30b9\u306f Pod \u3068\u3057\u3066\u3067\u306f\u306a\u304f\u3001\u30db\u30b9\u30c8\u4e0a\u3067\u76f4\u63a5\u5b9f\u884c\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3044\u308f\u3086\u308b\u300cmaster\u300d\u30ce\u30fc\u30c9\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u52d5\u4f5c\u3055\u305b\u308b\u30db\u30b9\u30c8\u81ea\u4f53\u306f\u9ad8\u4fa1\u306a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3042\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001Amazon Linux 2 \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b AWS t2.medium \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 ( 2CPU\u30014GB RAM ) \u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002 \u30af\u30e9\u30b9\u30bf\u3068\u901a\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u30dd\u30fc\u30c8 6443 \u304c\u958b\u3044\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306e\u7c21\u5358\u306a\u30b3\u30de\u30f3\u30c9\u3067 k0s \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo curl -sSLf k0s.sh | sudo sh<\/pre>\n<\/p>\n<p>( k0s.sh \u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3069\u3053\u304b\u3089\u51fa\u3066\u304d\u305f\u306e\u304b\u7591\u554f\u306b\u601d\u3046\u4eba\u3082\u3044\u308b\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002http:\/\/k0s.sh \u3092\u53c2\u7167\u3057\u3066\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u305d\u306e\u307e\u307e\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002)<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo k0s server --enable-worker &amp;<\/pre>\n<\/p>\n<p>\u3053\u308c\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u8868\u793a\u3092\u7701\u7565\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo k0s server --enable-worker &lt;\/dev\/null &amp;&gt;\/dev\/null &amp;<\/pre>\n<\/p>\n<p>\u4e00\u65e6\u30b5\u30fc\u30d0\u3060\u3051\u3092\u8d77\u52d5\u3057\u3066\u3001\u5225\u306e\u5834\u6240\u3067 worker \u3092\u8d77\u52d5\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u5f8c\u3067\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u65b0\u3057\u3044\u30af\u30e9\u30b9\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>k0s \u30af\u30e9\u30b9\u30bf\u3078\u306e\u30a2\u30af\u30bb\u30b9<\/h2>\n<p>\u30af\u30e9\u30b9\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001(\u307e\u3060\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u7121\u3051\u308c\u3070) kubectl \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066 <strong>KUBECONFIG<\/strong> \u74b0\u5883\u5909\u6570\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo cp \/var\/lib\/k0s\/pki\/admin.conf ~\/admin.conf\nexport KUBECONFIG=~\/admin.conf<\/pre>\n<\/p>\n<p>\u3053\u308c\u3067\u30af\u30e9\u30b9\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>namespace \u3092\u53c2\u7167\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">&gt; kubectl get namespaces\nNAME              STATUS   AGE\ndefault           Active   5m32s\nkube-node-lease   Active   5m34s\nkube-public       Active   5m34s\nkube-system       Active   5m34s<\/pre>\n<\/p>\n<p>\u30ce\u30fc\u30c9\u3092\u63a2\u3057\u3066\u3082 master \u30ce\u30fc\u30c9\u304c\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>k0s \u306f\u7d20\u306e\u30d7\u30ed\u30bb\u30b9\u3068\u3057\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">&gt; kubectl get nodes\nNAME             STATUS   ROLES    AGE    VERSION\nip-172-31-8-33   Ready    &lt;none&gt;   5m1s   v1.19.3<\/pre>\n<\/p>\n<p><a href=\"https:\/\/www.mirantis.com\/software\/lens\/\">Lens<\/a> \u306e\u3088\u3046\u306a\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u4ed6\u306e\u30b5\u30fc\u30d0\u304b\u3089\u30af\u30e9\u30b9\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3069\u3046\u306a\u308b\u306e\u3067\u3057\u3087\u3046\u304b?<\/p>\n<h2>\u30af\u30e9\u30b9\u30bf\u306e\u5916\u90e8\u304b\u3089k0s\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b : k0s Kubernetes \u30af\u30e9\u30b9\u30bf\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h2>\n<p>\u5916\u90e8\u304b\u3089 k0s \u30af\u30e9\u30b9\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5fc5\u8981\u306a<strong>KUBECONFIG<\/strong>\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u5148\u7a0b\u4f7f\u7528\u3057\u305f\u30ad\u30fc\u3092 SCP \u3067\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">scp -i &lt;SERVER_KEY&gt; ec2-user@&lt;SERVER_IP&gt;:~\/admin.conf .\nexport KUBECONFIG=admin.conf<\/pre>\n<\/p>\n<p>SCP \u3057\u3066\u304d\u305f\u5f53\u521d\u306f\u3001\u63a5\u7d9a\u5148\u304c localhost \u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u3001\u4eca\u56de\u5229\u7528\u3057\u3066\u3044\u308bAWS\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30d1\u30d6\u30ea\u30c3\u30afIP\u30a2\u30c9\u30ec\u30b9\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u4e0a\u306e admin.conf \u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u3001localhost \u304b\u3089\u30b5\u30fc\u30d0\u306e\u30d1\u30d6\u30ea\u30c3\u30afIP\u30a2\u30c9\u30ec\u30b9\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4eca\u56de\u306e\u5834\u5408\u306e\u30b5\u30fc\u30d0\u306e\u30d1\u30d6\u30ea\u30c3\u30afIP\u306f <strong>52.10.92.152<\/strong> \u3067\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">apiVersion: v1\nclusters:\n- cluster:\n    server: https:\/\/52.10.92.152:6443\n    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURBRENDQWVpZ0F3SUJBZ0lVRzhGakJZVVNZOFBrOWNjcTVhK3lFenNBNXAwd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0dERVdNQlFHQTFVRUF4TU5hM1ZpWlhKdVpYUmxjeTFqWVRBZUZ3MHlNREV4TWpNd016TXpNREJhR...<\/pre>\n<\/p>\n<p>\u63a5\u7d9a\u5148\u3092\u5909\u66f4\u5f8c\u306b\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3068\u3001\u602a\u3057\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">kubectl version\nClient Version: version.Info{Major:&quot;1&quot;, Minor:&quot;19&quot;, GitVersion:&quot;v1.19.0&quot;, GitCommit:&quot;e19964183377d0ec2052d1f1fa930c4d7575bd50&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-08-26T14:30:33Z&quot;, GoVersion:&quot;go1.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;windows\/amd64&quot;}\nUnable to connect to the server: x509: certificate is valid for 127.0.0.1, 172.31.8.33, 172.31.8.33, 172.31.8.33, 10.96.0.1, not 52.10.92.152<\/pre>\n<\/p>\n<p>\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001\u300c\u63a5\u7d9a\u306f\u51fa\u6765\u3066\u304a\u308aKubernetes\u306f\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u8cc7\u683c\u60c5\u5831\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3059\u300d\u3068\u3044\u3046\u5185\u5bb9\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u70ba\u306b\u306f\u3001\u516c\u958bIP\u30a2\u30c9\u30ec\u30b9\u3092\u542b\u3080\u3088\u3046\u306bk0s\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001k0s \u304c\u4f7f\u7528\u3057\u3066\u3044\u308b\u73fe\u72b6\u306e default-config.yaml \u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo k0s default-config &gt; k0s.yaml<\/pre>\n<\/p>\n<p>\u6b21\u306b\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f <strong>k0s.yaml<\/strong> \u3092\u7de8\u96c6\u3057\u3066\u3001\u30d1\u30d6\u30ea\u30c3\u30afIP\u3092 spec.api.sans \u306b\u8ffd\u8a18\u3057\u307e\u3059\u3002\uff08 <strong>- 52.10.92.152<\/strong> \u306e\u884c\u3092\u8ffd\u8a18\u3057\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<p><pre class=\"EnlighterJSRAW\">apiVersion: k0s.k0sproject.io\/v1beta1\nkind: Cluster\nmetadata:\n  name: k0s\nspec:\n  api:\n    address: 172.31.8.33\n    sans:\n    - 172.31.8.33\n    - 172.31.8.33\n    - 52.10.92.152\n    extraArgs: {}\n  controllerManager:\n    extraArgs: {}\n  scheduler:\n    extraArgs: {}\n  storage:\n    type: etcd\n    kine: null\n    etcd:\n      peerAddress: 172.31.8.33\n  network:\n    podCIDR: 10.244.0.0\/16\n    serviceCIDR: 10.96.0.0\/12\n    provider: calico\n    calico:\n      mode: vxlan\n      vxlanPort: 4789\n      vxlanVNI: 4096\n...<\/pre>\n<\/p>\n<p>\u7de8\u96c6\u304c\u304a\u308f\u3063\u305f\u3089 k0s \u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u73fe\u72b6\u306f\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30d7\u30ed\u30bb\u30b9\u3068\u3057\u3066\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30de\u30b7\u30f3\u3092\u518d\u8d77\u52d5\u3057\u3066\u304b\u3089 k0s \u3092\u518d\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u304c\u6700\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo k0s server --enable-worker &amp;<\/pre>\n<\/p>\n<p>\u3053\u308c\u3067\u3059\u3079\u3066\u304c\u52d5\u4f5c\u3057\u307e\u3059\u3002\uff08KUBECONFIG\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u5148\u7a0b\u306e\u3082\u306e\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3057\u307e\u3059\u3002\uff09<\/p>\n<p><pre class=\"EnlighterJSRAW\">&gt; kubectl version\nClient Version: version.Info{Major:&quot;1&quot;, Minor:&quot;19&quot;, GitVersion:&quot;v1.19.0&quot;, GitCommit:&quot;e19964183377d0ec2052d1f1fa930c4d7575bd50&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-08-26T14:30:33Z&quot;, GoVersion:&quot;go1.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;windows\/amd64&quot;}\nServer Version: version.Info{Major:&quot;1&quot;, Minor:&quot;19&quot;, GitVersion:&quot;v1.19.3&quot;, GitCommit:&quot;1e11e4a2108024935ecfcb2912226cedeafd99df&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-11-11T20:21:36Z&quot;, GoVersion:&quot;go1.15.4&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux\/amd64&quot;}<\/pre>\n<\/p>\n<p>\u307e\u305f\u3001KUBECONFIG\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308c\u3070\u3001<a href=\"https:\/\/www.mirantis.com\/blog\/getting-started-with-lens\/\">Lens\u3067\u30a2\u30af\u30bb\u30b9<\/a>\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Kubernetes \u30af\u30e9\u30b9\u30bf\u306b\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b<\/h2>\n<p>worker \u30ce\u30fc\u30c9\u3084\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u30af\u30e9\u30b9\u30bf\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u304f\u8ffd\u52a0\u3059\u308b\u30b5\u30fc\u30d0\u304c\u3069\u306e\u30af\u30e9\u30b9\u30bf\u306b\u63a5\u7d9a\u3059\u308b\u306e\u304b\u3092\u77e5\u308b\u305f\u3081\u306e\u30c8\u30fc\u30af\u30f3\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30c8\u30fc\u30af\u30f3\u3092\u751f\u6210\u3059\u308b\u306b\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">k0s token create --role=worker<\/pre>\n<\/p>\n<p>\u898b\u305f\u3068\u304a\u308a\u65b0\u3057\u3044 worker \u30ce\u30fc\u30c9\u7528\u306e\u30c8\u30fc\u30af\u30f3\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306e\u7d50\u679c\u3068\u3057\u3066\u6b21\u306e\u3088\u3046\u306a\u975e\u5e38\u306b\u9577\u3044\u6587\u5b57\u5217\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">H4sIAAAAAAAC\/2yV0Y7iOhKG7\/speIGZYycwpxtpLyZgBwIxY8dlJ74LcYZAnBBCGtKs9t1XzcxIu9K5K1f9+n7Lsup\/ybujKvvr8dzOJzf8Urj361D21\/nLl8nvev4ymUwm17K\/lf18Ug1Dd53\/9Rf+2\/vq46+vX31\/\/m069Z+iouyH489jkQ\/ll\/x9qM79cfj4YvMhn0+2CRq2CV4IsJE8BkuhIkjARBxREM8ZGhY1jhIQgSBsybXqDKJ+AlFgkFPiUYV5HRmlmNnRoN9pdiqkqja+o2XLApZ+v1skhIZuu8ddlK\/MSdZUCLhvuKOBRZYIZRl3dMUlVQLoVMKsirHptKs2VnUZNOOplPSilQgMGD9eOSaImkrdMYvwN5l2TJCoEm1xLw\/dnxn935mEqC2JuXClFgbNNK8pU0SkdknNXplZ1mAd0y6TqTBxrXzjWZoDDmJil+DT1cKxKDsxAqAWXFHFgaAEImIRfWoTRG+fbwIgNuJUj4k2Yo\/GSwzFQ5Ea21ZV3DdqJ6000rV5YxIFh41Br57Ba79MFTXSabuk5zxUZ5nG9xyGkyDTMVHfe1YrY0IcMXe4JSSiuXIKlhHOkIEyZKBSg8BxnD\/Mujyc77BSjx3N+iKluVTnj3gVxBqmvvGpA1dgvXRLvYp7mYohTxnX4YjzU7RV3ut9j88986b3Ag0CMGNlas+2ji6LpvA2XpUomX2opTE2HJZlSo86XE\/F8TruqHvfEZpmzYzJZjzHYOKSBlJoK\/K22pQy7uNavPNH5vPU1SDXnsDFJoHDNCe4YvUbk+HhpkI+TaRI9aprdaN2GV57WetcDEWfLzOUeW871bzds1MQ5pDdWWqrzUPFWw\/PRBtFW4+J\/HsHVkbpHhSTsJ7tidMljQabKmN0NLNt8MOc3FWmNMlQtEjUYcz8SNnQcBMKynyC42X0zrVlvKaB8DqR11GwqHHAiA1ipWqxspQf33wAFVjkFrzpAiBRK51ZQ40XXGdTARFwEAHA4SZhfReIjEoLYjBNeR2B1vG0COtNvhIQO3HM0niqaJerlE\/L5hWXZNorQne8sX2hqz6HYmYfwecffIiaBhKx4NM\/98+ocGvPtsGuOA5Ek1mjDt2Ce+NHhkRrH8zFyjUK22P2MXgQ2ladTMZTty5OgnKotCbDKFJz2hM1JqvgaFD30ErdsjS7m4fd7pYCWczWi5MZEvJm2GIIslZxtjSyeAhPhfHNYuILNDttUYUV5ahsA1FqGPWK+rIRIDxbs1asi1YEpol6CKuLaSgkTbbJfSvLpR2s300zn8LeZzf5cLdd6pgO6WVP7h97sKMljoJUs7zmD4nED+1oLGp6grDok6UxQNmHQviy02tPfe9kTsa7BJtlaTHdNxneK\/deoA52cL1tvegae2+UUbvereBum8IT8HaL26CRtUmVDC5GsiYmHS1klTJZjDtpr4vm9RajyN\/iIGLp4WFOxlmCRrMUUxsO25KwXqRUJ83IchJhaCqyRdW3QkcO2i4FhO7xyhL14A+r3yIZWpw0fLMPVZVj5f+QaPN7N1NZ8wNHKlHEhQmwQBF47uUtP\/\/rZTJp86acT2p0fSnO7VCOw6+Y+FX\/iok\/mfFUfTber8\/T+7505fBlfz4P16HPu\/+nvfd92Q5f\/pCezfrY2vlkcW5\/Hg8vXV\/+LPuyLcrrfPLv\/7x8Up\/mvyH\/gH8aP68wnOuynU9qN15n+Ovl56OyaLj8ffC+9f3x9PLfAAAA\/\/\/\/I+m0AwcAAA==\n<\/pre>\n<\/p>\n<p>\u3053\u308c\u306f\u4f55\uff1f\u3068\u601d\u308f\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5358\u7d14\u306bBASE64\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305fKUBECONFIG\u306b\u904e\u304e\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u3053\u3067\u306e\u5229\u70b9\u306f\u3001worker \u30ce\u30fc\u30c9\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u7531\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308c\u3070\u3001worker \u30ce\u30fc\u30c9\u304c\u3069\u3053\u306b\u3042\u3063\u3066\u3082\u63a5\u7d9a\u3067\u304d\u308b\u3068\u3044\u3046\u4e8b\u3067\u3059\u3002<\/p>\n<p>worker\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u3001\uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\uff09\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u3092\u4f5c\u6210\u3057\u3001k0s\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo curl -sSLf k0s.sh | sudo sh<\/pre>\n<\/p>\n<p>\u305d\u3057\u3066\u3001\u30af\u30e9\u30b9\u30bf\u306b\u53c2\u52a0\u3055\u305b\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo k0s worker &quot;\u4e0a\u8a18\u306e\u9577\u3044\u30c8\u30fc\u30af\u30f3\u306e\u6587\u5b57\u5217&quot;<\/pre>\n<\/p>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">k0s worker &quot;H4sIAAAAAAAC\/2yV0Y7i...&quot;<\/pre>\n<\/p>\n<p>kubectl \u3067\u30ce\u30fc\u30c9\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3068\u3001\u30ea\u30b9\u30c8\u306e\u4e2d\u306b\u4eca\u8ffd\u52a0\u3057\u305f\u65b0\u3057\u3044\u30ce\u30fc\u30c9\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">&gt; kubectl get nodes\nNAME               STATUS   ROLES    AGE   VERSION\nip-172-31-14-157   Ready    &lt;none&gt;   81s   v1.19.3\nip-172-31-8-33     Ready    &lt;none&gt;   11h   v1.19.3<\/pre>\n<\/p>\n<p>\u3053\u308c\u3067 worker \u30ce\u30fc\u30c9\u306f\u8ffd\u52a0\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u540c\u69d8\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u30af\u30e9\u30b9\u30bf\u306e\u5805\u7262\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u3082\u3001\u30c8\u30fc\u30af\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u307e\u3059\u3002(role\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002)<\/p>\n<p><pre class=\"EnlighterJSRAW\">k0s token create --role=controller<\/pre>\n<\/p>\n<p>\u305d\u3057\u3066 worker \u30ce\u30fc\u30c9\u306e\u6642\u3068\u540c\u69d8\u306b\u3001\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u306b k0s \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">sudo curl -sSLf k0s.sh | sudo sh\nsudo k0s server &quot;\u9577\u3044\u30c8\u30fc\u30af\u30f3&quot; &amp;<\/pre>\n<\/p>\n<p>\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u51fa\u529b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">k0s server &quot;\u9577\u3044\u30c8\u30fc\u30af\u30f3&quot; &amp;<\/pre>\n<\/p>\n<p>\u3053\u308c\u3067\u8ffd\u52a0\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001k0s Kubernetes\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u4e2d\u306b master \u30ce\u30fc\u30c9\u304c\u306a\u3044\u305f\u3081\u3001\u30ce\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u3066\u3082\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">&gt; kubectl get nodes\nNAME               STATUS   ROLES    AGE   VERSION\nip-172-31-14-157   Ready    &lt;none&gt;   23m   v1.19.3\nip-172-31-8-33     Ready    &lt;none&gt;   11h   v1.19.3<\/pre>\n<\/p>\n<p>\u30af\u30e9\u30b9\u30bf\u304b\u3089\u5207\u308a\u96e2\u3059\u30b3\u30de\u30f3\u30c9\u306f\u73fe\u5728\u4f5c\u6210\u4e2d\u3067\u3059\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>2\u53f0\u76ee\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306b\u4f55\u304b\u3042\u3063\u305f\u5834\u5408\u30af\u30e9\u30b9\u30bf\u81ea\u4f53\u306b\u5f71\u97ff\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001\u5fc5\u8981\u304c\u7121\u3044\u5834\u5408\u306b\u306f\u8ffd\u52a0\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u4eca\u5f8c\u306b\u3064\u3044\u3066<\/h2>\n<p>k0s\u306f\u7d20\u6674\u3089\u3057\u3044\u3082\u306e\u3067\u3059\u304c\u3001\u307e\u3060\u4e16\u306b\u51fa\u305f\u3070\u304b\u308a\u3067\u3059\u3002<\/p>\n<p>\u4f5c\u696d\u306f\u975e\u5e38\u306b\u901f\u304f\u9032\u884c\u3057\u3066\u3044\u307e\u3059\u304c\u3001k0s\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306f<a href=\"https:\/\/github.com\/k0sproject\/k0s\">\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3084\u8ca2\u732e<\/a>\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u7686\u3055\u3093\u304ck0s\u3092\u4f7f\u7528\u3059\u308b\u306e\u306f\u3069\u3093\u306a\u5834\u9762\u304b\u3001k0s\u306b\u4f55\u3092\u671b\u3093\u3067\u3044\u308b\u304b\u3092\u805e\u304d\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u662f\u975e\u30b3\u30e1\u30f3\u30c8\u3067\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty guide\u300d\u306e\u7ffb\u8a33\u8a18\u4e8b\u3067\u3059\u3002 \u3053\u3053\u6570\u9031\u9593\u3001Mirantis \u3067\u306f Kubern [&#8230;]<\/p>\n","protected":false},"author":35,"featured_media":41227,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[43,122,540],"tags":[154,52,482,481,123,112,286],"class_list":["post-41226","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-kubernetes","category-mirantis","tag-container","tag-docker","tag-edge","tag-k0s","tag-k8s","tag-kubernetes","tag-286"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Docker, Kubernetes, Mirantis |\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty\" \/>\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.creationline.com\/tech-blog\/cloudnative\/docker\/41226\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Docker, Kubernetes, Mirantis |\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/nogi.etsutaka\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-04T00:00:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-06T06:23:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"768\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Etsutaka Nogi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etsutaka Nogi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226\"},\"author\":{\"name\":\"Etsutaka Nogi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/bdb15033b8a4097675446265a8342d41\"},\"headline\":\"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge\",\"datePublished\":\"2021-03-04T00:00:35+00:00\",\"dateModified\":\"2022-04-06T06:23:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226\"},\"wordCount\":828,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/k0s-blog-image-768x576-1.png\",\"keywords\":[\"container\",\"Docker\",\"edge\",\"k0s\",\"k8s\",\"Kubernetes\",\"\u30b3\u30f3\u30c6\u30ca\"],\"articleSection\":[\"Docker\",\"Kubernetes\",\"Mirantis\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226\",\"name\":\"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/k0s-blog-image-768x576-1.png\",\"datePublished\":\"2021-03-04T00:00:35+00:00\",\"dateModified\":\"2022-04-06T06:23:08+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/bdb15033b8a4097675446265a8342d41\"},\"description\":\"Docker, Kubernetes, Mirantis |\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/k0s-blog-image-768x576-1.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/k0s-blog-image-768x576-1.png\",\"width\":768,\"height\":576},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/41226#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/bdb15033b8a4097675446265a8342d41\",\"name\":\"Etsutaka Nogi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Pugzilla-up-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Pugzilla-up-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Pugzilla-up-230x230.png\",\"caption\":\"Etsutaka Nogi\"},\"description\":\"Docker\u3092\u4e2d\u5fc3\u306b\u3001\u30a2\u30b8\u30e3\u30a4\u30eb\u3084DevOps\u306a\u3069\u306b\u3064\u3044\u3066\u306a\u3093\u304b\u3057\u3066\u3044\u307e\u3059\u3002 \u30d1\u30b0\u3092\u611b\u3057\u30d1\u30b0\u306b\u611b\u3055\u308c\u305f\u7537\u3002 \u65e5\u672c\u9152\u3082\u597d\u304d\u3002\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/nogi.etsutaka\\\/\",\"https:\\\/\\\/www.instagram.com\\\/pugzilla.jp\\\/\"],\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/nogi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Docker, Kubernetes, Mirantis |\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty","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.creationline.com\/tech-blog\/cloudnative\/docker\/41226","og_locale":"ja_JP","og_type":"article","og_title":"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Docker, Kubernetes, Mirantis |\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_author":"https:\/\/www.facebook.com\/nogi.etsutaka\/","article_published_time":"2021-03-04T00:00:35+00:00","article_modified_time":"2022-04-06T06:23:08+00:00","og_image":[{"width":768,"height":576,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","type":"image\/png"}],"author":"Etsutaka Nogi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Etsutaka Nogi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226"},"author":{"name":"Etsutaka Nogi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bdb15033b8a4097675446265a8342d41"},"headline":"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge","datePublished":"2021-03-04T00:00:35+00:00","dateModified":"2022-04-06T06:23:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226"},"wordCount":828,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","keywords":["container","Docker","edge","k0s","k8s","Kubernetes","\u30b3\u30f3\u30c6\u30ca"],"articleSection":["Docker","Kubernetes","Mirantis"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226","name":"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","datePublished":"2021-03-04T00:00:35+00:00","dateModified":"2022-04-06T06:23:08+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bdb15033b8a4097675446265a8342d41"},"description":"Docker, Kubernetes, Mirantis |\u672c\u30d6\u30ed\u30b0\u306f Mirantis\u793e\u306eblog\u8a18\u4e8b\u300cHow to set up k0s Kubernetes: A quick and dirty","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","width":768,"height":576},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/41226#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Docker","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker"},{"@type":"ListItem","position":4,"name":"k0s Kubernetes\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7c21\u6613\u7248 #k0s #kubernetes #mirantis #docker #iot #edge"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/bdb15033b8a4097675446265a8342d41","name":"Etsutaka Nogi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/07\/Pugzilla-up-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/07\/Pugzilla-up-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2025\/07\/Pugzilla-up-230x230.png","caption":"Etsutaka Nogi"},"description":"Docker\u3092\u4e2d\u5fc3\u306b\u3001\u30a2\u30b8\u30e3\u30a4\u30eb\u3084DevOps\u306a\u3069\u306b\u3064\u3044\u3066\u306a\u3093\u304b\u3057\u3066\u3044\u307e\u3059\u3002 \u30d1\u30b0\u3092\u611b\u3057\u30d1\u30b0\u306b\u611b\u3055\u308c\u305f\u7537\u3002 \u65e5\u672c\u9152\u3082\u597d\u304d\u3002","sameAs":["https:\/\/www.facebook.com\/nogi.etsutaka\/","https:\/\/www.instagram.com\/pugzilla.jp\/"],"url":"https:\/\/www.creationline.com\/tech-blog\/author\/nogi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/41226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=41226"}],"version-history":[{"count":13,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/41226\/revisions"}],"predecessor-version":[{"id":48740,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/41226\/revisions\/48740"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/41227"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=41226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=41226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=41226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}