{"id":45685,"date":"2021-11-04T11:00:48","date_gmt":"2021-11-04T02:00:48","guid":{"rendered":"https:\/\/www.creationline.com\/?p=45685"},"modified":"2023-08-29T15:19:58","modified_gmt":"2023-08-29T06:19:58","slug":"k0s%e3%81%a7kube-router%e3%81%ae%e4%bb%a3%e3%82%8f%e3%82%8a%e3%81%abcalico%e3%82%84weave-net%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86-k0s-mirantis-kubernetes-k8s-calico-wea","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685","title":{"rendered":"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet"},"content":{"rendered":"<p><a href=\"https:\/\/k0sproject.io\/\">k0s<\/a>\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001<\/p>\n<ul>\n<li>\u30d5\u30eb\u6a5f\u80fd\u306eKubernetes\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u3092\u5358\u4e00\u30d0\u30a4\u30ca\u30ea\u306b\u540c\u68b1<\/li>\n<li>k0s\u7279\u6709\u306e\u6539\u5909\u3092\u52a0\u3048\u3066\u3044\u306a\u3044\u3001CNCF\u8a8d\u5b9a\u306e\u7d14\u6b63\u306aKubernetes\u3092\u30c7\u30d7\u30ed\u30a4<\/li>\n<li>\u6700\u4f4e\u5fc5\u8981\u30ea\u30bd\u30fc\u30b91vCPU\u30fb1GB\u30e1\u30e2\u30ea\u30fb2GB\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30b7\u30f3\u30b0\u30eb\u30ce\u30fc\u30c9\u304b\u3089\u3001HA\u69cb\u6210\u306e\u5927\u898f\u6a21\u30af\u30e9\u30b9\u30bf\u307e\u3067\u30b5\u30dd\u30fc\u30c8<\/li>\n<li><a href=\"https:\/\/kubernetes.io\/docs\/tasks\/extend-kubernetes\/setup-konnectivity\/\">Konnectivity<\/a>\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u5316<\/li>\n<\/ul>\n<p>\u306a\u3069\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306f<a href=\"https:\/\/docs.k0sproject.io\/\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u672c\u7a3f\u3067\u306f\u3053\u306ek0s\u3092\u4f7f\u3063\u3066Kubernetes\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u969b\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e<a href=\"https:\/\/www.kube-router.io\/\">Kube-Router<\/a>\u3067\u306f\u306a\u304f\u3001<a href=\"https:\/\/www.tigera.io\/project-calico\/\">Calico<\/a>\u3068<a href=\"https:\/\/www.weave.works\/docs\/net\/latest\/kubernetes\/\">Weave Net<\/a>\u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eKube-Router\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4f8b\u306f\u4ee5\u524d\u306e\u30d6\u30ed\u30b0\u300c<a href=\"\/lab\/43993\">k0s\u3067Kubernetes\u3092Virtualbox\/Vagrant\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3088\u3046<\/a>\u300d\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u306bVagrant\u3068Virtualbox\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3042\u308b\u3068\u3057\u307e\u3059\u3002IP\u30a2\u30c9\u30ec\u30b9\u306f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u9069\u5b9c\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>Vagrantfile<\/h2>\n<p>Vagrantfile\u30673\u53f0\u306e\u30b2\u30b9\u30c8\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002IP\u30a2\u30c9\u30ec\u30b9\u3084\u30e1\u30e2\u30ea\u306f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li>master : 192.168.123.101 : Kubernetes\u30de\u30b9\u30bf\u30fc\u30ce\u30fc\u30c9<\/li>\n<li>node01 : 192.168.123.201 : Kubernetes\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c91<\/li>\n<li>node02 : 192.168.123.202 : Kubernetes\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c92<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\">\nnodes = {\n&#039;master&#039; =&gt; &#039;192.168.123.101&#039;,\n&#039;node01&#039; =&gt; &#039;192.168.123.201&#039;,\n&#039;node02&#039; =&gt; &#039;192.168.123.202&#039;,\n}\nVagrant.configure(&quot;2&quot;) do |config|\nconfig.vm.box = &quot;ubuntu\/bionic64&quot;\nconfig.vm.box_check_update = false\nnodes.each do |node_name, ipaddr|\nconfig.vm.define node_name do |cf|\ncf.vm.hostname = node_name\ncf.vm.network &quot;private_network&quot;, ip: ipaddr\ncf.vm.provider &quot;virtualbox&quot; do |vb|\nvb.memory = 4096\nend\nend\nend\nend\n<\/pre>\n<h2>k0s\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u306e\u8d77\u52d5: Calico\u7de8<\/h2>\n<p>master\u30b2\u30b9\u30c8\u306b\u3066\u3001 <a href=\"https:\/\/github.com\/k0sproject\/k0s\/releases\">https:\/\/github.com\/k0sproject\/k0s\/releases<\/a> \u304b\u3089\u57f7\u7b46\u6642\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b v1.22.2+k0s.1 \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ curl -sSLf https:\/\/github.com\/k0sproject\/k0s\/releases\/download\/v1.22.2%2Bk0s.1\/k0s-v1.22.2+k0s.1-amd64 &gt; k0s\n$ sudo mv k0s \/usr\/local\/bin\/k0s\n$ sudo chmod +x \/usr\/local\/bin\/k0s\n$ k0s version\nv1.22.2+k0s.1\n<\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u8a2d\u5b9a\u3092 default-config \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u51fa\u529b\u3057\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u5909\u66f4\u3057\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30e9\u30b0\u30a4\u30f3\u306bCalico\u3092\u4f7f\u3046\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s default-config &gt; k0s.yaml.orig\n$ cp -a k0s.yaml.orig k0s.yaml\n$ vi k0s.yaml\n<\/pre>\n<p>\u5dee\u5206\u306f\u6b21\u306e\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\">\n$ diff -u k0s.yaml.orig k0s.yaml\n--- k0s.yaml.orig 2021-10-25 06:19:14.292920391 +0000\n+++ k0s.yaml 2021-10-25 06:24:38.659022388 +0000\n@@ -4,26 +4,22 @@\nname: k0s\nspec:\napi:\n- address: 10.0.2.15\n+ address: 192.168.123.101\nport: 6443\nk0sApiPort: 9443\nsans:\n- - 10.0.2.15\n- 192.168.123.101\nstorage:\ntype: etcd\netcd:\n- peerAddress: 10.0.2.15\n+ peerAddress: 192.168.123.101\nnetwork:\npodCIDR: 10.244.0.0\/16\nserviceCIDR: 10.96.0.0\/12\n- provider: kuberouter\n- calico: null\n- kuberouter:\n- mtu: 0\n- peerRouterIPs: &quot;&quot;\n- peerRouterASNs: &quot;&quot;\n- autoMTU: true\n+ provider: calico\n+ calico:\n+ ipAutodetectionMethod: cidr=192.168.123.0\/24\n+ kuberouter: null\nkubeProxy:\ndisabled: false\nmode: iptables\n<\/pre>\n<p>spec.api\u3068spec.storage\u306e\u5909\u66f4\u306f\u4ee5\u524d\u306e\u30d6\u30ed\u30b0\u300c<a href=\"\/lab\/43993\">k0s\u3067Kubernetes\u3092Virtualbox\/Vagrant\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3088\u3046<\/a>\u300d\u3068\u540c\u69d8\u3067\u3059\u3002spec.provider\u306fcalico\u306b\u5909\u66f4\u3057\u3001spec.network.kuberouter\u306f\u3059\u3079\u3066\u524a\u9664\u3057null\u3068\u3057\u307e\u3059\u3002\u305d\u3057\u3066Virtualbox\u306e\u300c10.0.2.15\u300d\u3092\u63b4\u3093\u3067\u3057\u307e\u308f\u306a\u3044\u3088\u3046\u306b\u3001spec.network.calico.ipAutodetecionMethod\u3067cidr=192.168.123.0\/24\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u8a73\u7d30\u306fCalico\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300c<a href=\"https:\/\/docs.projectcalico.org\/reference\/node\/configuration#ip-autodetection-methods\">IP autodetection methods<\/a>\u300d\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3067\u306fk0s\u306e\u521d\u671f\u8a2d\u5b9a\u3068\u8d77\u52d5\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo mkdir \/etc\/k0s\n$ sudo mv k0s.yaml \/etc\/k0s\/\n$ sudo k0s install controller -c \/etc\/k0s\/k0s.yaml\n$ sudo k0s start\n<\/pre>\n<p>\u8d77\u52d5\u306e\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo k0s status\nVersion: v1.22.2+k0s.1\nProcess ID: 14407\nRole: controller\nWorkloads: false\n<\/pre>\n<h2>k0s\u3067\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0: Calico\u7de8<\/h2>\n<p>\u3067\u306f\u3001\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3092\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u3001master\u30b2\u30b9\u30c8\u3067\u53c2\u52a0\u30c8\u30fc\u30af\u30f3\u3092\u6255\u3044\u51fa\u3057\u3066\u3082\u3089\u3044\u307e\u3059\u3002\u306a\u304a\u3001\u3053\u306e\u53c2\u52a0\u30c8\u30fc\u30af\u30f3\u306fbase64\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0+gzip\u3055\u308c\u305fkubeconfig\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo k0s token create --role=worker -c \/etc\/k0s\/k0s.yaml &gt; join-token\n$ base64 -d join-token | zcat | head\napiVersion: v1\nclusters:\n- cluster:\nserver: https:\/\/192.168.123.101:6443\ncertificate-authority-data: LS0tLS1C(\u7701\u7565)\n<\/pre>\n<p>node01\u30b2\u30b9\u30c8\u3067\u3082master\u30b2\u30b9\u30c8\u540c\u69d8\u3001k0s\u30d0\u30a4\u30ca\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u53ef\u80fd\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ curl -sSLf https:\/\/github.com\/k0sproject\/k0s\/releases\/download\/v1.22.2%2Bk0s.1\/k0s-v1.22.2+k0s.1-amd64 &gt; k0s\n$ sudo mv k0s \/usr\/local\/bin\/k0s\n$ sudo chmod +x \/usr\/local\/bin\/k0s\n$ k0s version\nv1.22.2+k0s.1\n<\/pre>\n<p>\u53c2\u52a0\u30c8\u30fc\u30af\u30f3\u3092master\u30b2\u30b9\u30c8\u304b\u3089node01\u30b2\u30b9\u30c8\u306b\u30b3\u30d4\u30fc\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8d77\u52d5\u3092\u884c\u3044\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30de\u30ea\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u554f\u984c\u304c\u3042\u308b\u305f\u3081\u3001 --node-ip \u30aa\u30d7\u30b7\u30e7\u30f3\u3067node01\u30b2\u30b9\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo mkdir \/etc\/k0s\n$ sudo mv join-token \/etc\/k0s\/\n$ sudo k0s install worker --token-file \/etc\/k0s\/join-token --kubelet-extra-args &#039;--node-ip=192.168.123.201&#039;\n$ sudo k0s start\n<\/pre>\n<p>\u8d77\u52d5\u306e\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo k0s status\nVersion: v1.22.2+k0s.1\nProcess ID: 2634\nRole: worker\nWorkloads: true\n<\/pre>\n<p>node02\u30b2\u30b9\u30c8\u3067\u3082\u540c\u69d8\u306b\u3001\u30af\u30e9\u30b9\u30bf\u3078\u53c2\u52a0\u3055\u305b\u307e\u3059\u3002\u3053\u306e\u969b\u3001 --node-ip= \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5fd8\u308c\u305a\u306bnode02\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>master\u30b2\u30b9\u30c8\u306b\u3066\u30012\u3064\u306e\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u306e\u53c2\u52a0\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo cp \/var\/lib\/k0s\/pki\/admin.conf kubeconfig.cfg\n$ sudo chown $USER kubeconfig.cfg\n$ export KUBECONFIG=~\/kubeconfig.cfg\n$ k0s kubectl get nodes\nNAME STATUS ROLES AGE VERSION\nnode01 Ready 20m v1.22.2+k0s\nnode02 Ready 20m v1.22.2+k0s\n<\/pre>\n<p>Calico\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300c<a href=\"https:\/\/docs.projectcalico.org\/getting-started\/clis\/calicoctl\/install\">Install calicoctl<\/a>\u300d\u3092\u53c2\u8003\u306bmaster\u30b2\u30b9\u30c8\u306b\u3066calicoctl\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u306e\u969b\u3001k0s v1.22.2+k0s.1\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bCalico\u306e\u30d0\u30fc\u30b8\u30e7\u30f33.18.1\u306b\u5408\u308f\u305b\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ curl -o calicoctl -O -L &quot;https:\/\/github.com\/projectcalico\/calicoctl\/releases\/download\/v3.18.1\/calicoctl&quot;\n$ chmod +x calicoctl\n$ sudo mv calicoctl \/usr\/local\/bin\n<\/pre>\n<p>calicoctl\u3092\u5b9f\u884c\u3057\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ calicoctl get ippool\nNAME CIDR SELECTOR\ndefault-ipv4-ippool 10.244.0.0\/16 all()\n$ calicoctl get nodes -o wide\nNAME ASN IPV4 IPV6\nnode01 (64512) 192.168.123.201\/24\nnode02 (64512) 192.168.123.202\/24\n<\/pre>\n<p>\u3053\u308c\u3067\u30af\u30e9\u30b9\u30bf\u304c\u5b8c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u52d5\u4f5c\u30c6\u30b9\u30c8: Calico\u7de8<\/h2>\n<p>\u30c7\u30e2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u304a\u99b4\u67d3\u307f\u306e <a href=\"https:\/\/microservices-demo.github.io\/\">Sock Shop<\/a> \u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s kubectl create -f https:\/\/raw.githubusercontent.com\/microservices-demo\/microservices-demo\/master\/deploy\/kubernetes\/complete-demo.yaml\n$ k0s kubectl get pod -n sock-shop\nNAME READY STATUS RESTARTS AGE\ncarts-b4d4ffb5c-fv9hx 1\/1 Running 0 9m22s\ncarts-db-6c6c68b747-shj4b 1\/1 Running 0 9m22s\ncatalogue-759cc6b86-z7dt7 1\/1 Running 0 9m22s\ncatalogue-db-96f6f6b4c-gmsk6 1\/1 Running 0 9m21s\nfront-end-5c89db9f57-4x4pn 1\/1 Running 0 9m21s\norders-7664c64d75-6z68r 1\/1 Running 0 9m21s\norders-db-659949975f-p8s4x 1\/1 Running 0 9m21s\npayment-7bcdbf45c9-wtw8z 1\/1 Running 0 9m21s\nqueue-master-5f6d6d4796-vg9hq 1\/1 Running 0 9m21s\nrabbitmq-5bcbb547d7-mxvv4 2\/2 Running 0 9m21s\nsession-db-7cf97f8d4f-d7rgk 1\/1 Running 0 9m20s\nshipping-7f7999ffb7-4r2h9 1\/1 Running 0 9m20s\nuser-68df64db9c-r88p5 1\/1 Running 0 9m20s\nuser-db-6df7444fc-sq26h 1\/1 Running 0 9m20s\n<\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/192.168.123.201:30001 \u3042\u308b\u3044\u306f http:\/\/192.168.123.202:30001 \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001Sock Shop\u306eUI\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-36771\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/08\/socks-768x553-1.png\" alt=\"\" width=\"768\" height=\"553\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/08\/socks-768x553-1.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/08\/socks-768x553-1-360x259.png 360w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<h2>k0s\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u306e\u8d77\u52d5: Weave Net\u7de8<\/h2>\n<p>\u6539\u3081\u3066VM\u3092\u7528\u610f\u3057\u3001master\/node01\/node02\u30b2\u30b9\u30c8\u306b\u3066k0s\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u8a2d\u5b9a\u3092 default-config \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u51fa\u529b\u3057\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u5909\u66f4\u3057\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3044\u3088\u3046\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s default-config &gt; k0s.yaml.orig\n$ cp -a k0s.yaml.orig k0s.yaml\n$ vi k0s.yaml\n<\/pre>\n<p>\u5dee\u5206\u306f\u6b21\u306e\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\">\n$ diff -u k0s.yaml.orig k0s.yaml\n--- k0s.yaml.orig 2021-10-25 08:02:58.422869999 +0000\n+++ k0s.yaml 2021-10-25 08:03:40.683989995 +0000\n@@ -4,26 +4,21 @@\nname: k0s\nspec:\napi:\n- address: 10.0.2.15\n+ address: 192.168.123.101\nport: 6443\nk0sApiPort: 9443\nsans:\n- - 10.0.2.15\n- 192.168.123.101\nstorage:\ntype: etcd\netcd:\n- peerAddress: 10.0.2.15\n+ peerAddress: 192.168.123.101\nnetwork:\npodCIDR: 10.244.0.0\/16\nserviceCIDR: 10.96.0.0\/12\n- provider: kuberouter\n+ provider: custom\ncalico: null\n- kuberouter:\n- mtu: 0\n- peerRouterIPs: &quot;&quot;\n- peerRouterASNs: &quot;&quot;\n- autoMTU: true\n+ kuberouter: null\nkubeProxy:\ndisabled: false\nmode: iptables\n<\/pre>\n<p>spec.api\u3068spec.storage\u306e\u5909\u66f4\u306f\u4ee5\u524d\u306e\u30d6\u30ed\u30b0\u300c<a href=\"\/lab\/43993\">k0s\u3067Kubernetes\u3092Virtualbox\/Vagrant\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3088\u3046<\/a>\u300d\u3068\u540c\u69d8\u3067\u3059\u3002spec.provider\u306fcustom\u306b\u5909\u66f4\u3057\u3001spec.network.kuberouter\u306f\u3059\u3079\u3066\u524a\u9664\u3057null\u3068\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eKube-Router\u3082\u4ee3\u66ff\u306eCalico\u3082\u3001k0s\u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3067\u306fk0s\u306e\u521d\u671f\u8a2d\u5b9a\u3068\u8d77\u52d5\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo mkdir \/etc\/k0s\n$ sudo mv k0s.yaml \/etc\/k0s\/\n$ sudo k0s install controller -c \/etc\/k0s\/k0s.yaml\n$ sudo k0s start\n<\/pre>\n<p>\u8d77\u52d5\u306e\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo k0s status\nVersion: v1.22.2+k0s.1\nProcess ID: 14407\nRole: controller\nWorkloads: false\n<\/pre>\n<p>\u3067\u306f\u3001Weave Net\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>k0s\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e<a href=\"https:\/\/docs.k0sproject.io\/v1.22.2+k0s.1\/networking\/#custom-cni-configuration\">Custom CNI configuration<\/a>\u306b\u8aac\u660e\u304c\u3042\u308b\u901a\u308a\u3001k0s\u306b\u306f<a href=\"https:\/\/docs.k0sproject.io\/v1.22.2+k0s.1\/manifests\/\">Manifest Deployer<\/a>\u3068\u3044\u3046\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u304a\u308a\u3001\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5b9a\u671f\u7684\u306b\u76e3\u8996\u3057\u3001\u914d\u7f6e\u3055\u308c\u305fKubernetes\u30de\u30cb\u30d5\u30a7\u30b9\u30c8(YAML\u30d5\u30a1\u30a4\u30eb)\u3092\u81ea\u52d5\u7684\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u308a\u3001\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u304c\u524a\u9664\u3055\u308c\u308c\u3070\u30ea\u30bd\u30fc\u30b9\u3082\u81ea\u52d5\u7684\u306b\u524a\u9664\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Weave Net\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u3053\u308c\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>Manifest Deployer\u304c\u5229\u7528\u3059\u308b\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u306f \/var\/lib\/k0s\/manifests \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002\u3053\u306e\u4e0b\u306b\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u3057\u3066 \/var\/lib\/k0s\/manifests\/weavenet \u3092\u4f5c\u6210\u3057\u3001Weave Net\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo mkdir \/var\/lib\/k0s\/manifests\/weavenet\n$ curl -sSLf &quot;https:\/\/cloud.weave.works\/k8s\/net?k8s-version=$(k0s kubectl version | base64 | tr -d &#039;\\n&#039;)&quot; &gt; weavenet.yaml\n$ sudo mv weavenet.yaml \/var\/lib\/k0s\/manifests\/weavenet\n<\/pre>\n<p>\u5c11\u3057\u5f85\u3064\u3068Weave Net\u306eDaemonSet\u304c\u8d77\u52d5\u3059\u308b\u306f\u305a\u3067\u3059\u304c\u2026\u4f55\u3082\u8d77\u304d\u307e\u305b\u3093\u3002k0scontroller\u30b5\u30fc\u30d3\u30b9\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\nOct 25 08:22:34 master k0s[2703]: time=&quot;2021-10-25 08:22:34&quot; level=warning msg=&quot;stack apply failed&quot; bundle=weavenet component=applier error=&quot;unknown api error: name is required&quot;\nOct 25 08:22:34 master k0s[2703]: time=&quot;2021-10-25 08:22:34&quot; level=warning msg=&quot;failed to apply manifests: unknown api error: name is required&quot; component=applier-weavenet\n<\/pre>\n<p>Manifest Deployer\u304cWeave Net\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u306f\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002Weave Net\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u898b\u3066\u307f\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">\napiVersion: v1\nkind: List\nitems:\n- apiVersion: v1\nkind: ServiceAccount\nmetadata:\nname: weave-net\nannotations:\ncloud.weave.works\/launcher-info: |-\n{\n<\/pre>\n<p>\u3053\u306e\u300ckind: List\u300d\u5f62\u5f0f\u306b\u306fmetadata.name\u304c\u306a\u3044\u304b\u3089\u306e\u3088\u3046\u3067\u3059\u3002\u3055\u3089\u306bManifest Deployer\u306e<a href=\"https:\/\/docs.k0sproject.io\/v1.22.2+k0s.1\/manifests\/#note\">Note<\/a>\u3092\u898b\u308b\u3068\u300cExplicitly define the namespace in the manifests (\u8a33:\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306b\u306f\u660e\u793a\u7684\u306bnamespace\u3092\u5b9a\u7fa9\u3059\u308b)\u300d\u3068\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u4eee\u306e\u540d\u524d\u3068namespace\u3092\u4e0e\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">\napiVersion: v1\nkind: List\nmetadata:\nname: weave-net\nnamespace: weave-net\nitems:\n- apiVersion: v1\nkind: ServiceAccount\nmetadata:\nname: weave-net\n<\/pre>\n<p>\u3057\u304b\u3057k0scontroller\u306e\u30ed\u30b0\u3092\u898b\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\nOct 26 01:05:20 master k0s[2606]: time=&quot;2021-10-26 01:05:20&quot; level=warning msg=&quot;stack apply failed&quot; bundle=weavenet component=applier error=&quot;cannot create resource weavenet: the server could not find the requested resource&quot;\nOct 26 01:05:20 master k0s[2606]: time=&quot;2021-10-26 01:05:20&quot; level=warning msg=&quot;stack apply failed&quot; bundle=weavenet component=applier error=&quot;cannot create resource weavenet: the server could not find the requested resource&quot;\nOct 26 01:05:20 master k0s[2606]: time=&quot;2021-10-26 01:05:20&quot; level=warning msg=&quot;stack apply failed&quot; bundle=weavenet component=applier error=&quot;cannot create resource weavenet: the server could not find the requested resource&quot;\nOct 26 01:05:20 master k0s[2606]: time=&quot;2021-10-26 01:05:20&quot; level=warning msg=&quot;stack apply failed&quot; bundle=weavenet component=applier error=&quot;cannot create resource weavenet: the server could not find the requested resource&quot;\nOct 26 01:05:20 master k0s[2606]: time=&quot;2021-10-26 01:05:20&quot; level=warning msg=&quot;stack apply failed&quot; bundle=weavenet component=applier error=&quot;cannot create resource weavenet: the server could not find the requested resource&quot;\n<\/pre>\n<p>\u3053\u3053\u3067\u306f\u53d6\u308a\u4e0a\u3052\u307e\u305b\u3093\u304c\u3001Weave Net\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u300ckind: List\u300d\u5f62\u5f0f\u3067\u306f\u306a\u304f\u3001\u300c---\u300d\u533a\u5207\u308a\u306eYAML\u30d6\u30ed\u30c3\u30af\u5f62\u5f0f\u306b\u3057\u305f\u3068\u3053\u308d\u6b63\u5e38\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002Manifest Deployer\u306e\u30d0\u30b0\u304b\u4ed5\u69d8\u304b\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30d0\u30b0\u30ec\u30dd\u30fc\u30c8\u3092\u9001\u3063\u3066\u3044\u307e\u3059(<a href=\"https:\/\/github.com\/k0sproject\/k0s\/issues\/1211\">Manifest Deployer does not accept kind: List style manifest<\/a>)\u3002\u7d9a\u5831\u3092\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3055\u3066\u3001Manifest Deployer\u3092\u4f7f\u308f\u305a\u3001Weave Net\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300c<a href=\"https:\/\/www.weave.works\/docs\/net\/latest\/kubernetes\/kube-addon\/\">Integrating Kubernetes via the Addon<\/a>\u300d\u306e\u901a\u308a\u306b kubectl apply \u3092\u4f7f\u3046\u3053\u3068\u3067\u3082Weave Net\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u969b\u3001kubectl \u3067\u306f\u306a\u304f k0s kubectl \u3092\u4f7f\u3046\u3053\u3068\u3092\u304a\u5fd8\u308c\u306a\u304f\u30022\u304b\u6240\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s kubectl apply -f &quot;https:\/\/cloud.weave.works\/k8s\/net?k8s-version=$(k0s kubectl version | base64 | tr -d &#039;\\n&#039;)&quot;\nserviceaccount\/weave-net created\nclusterrole.rbac.authorization.k8s.io\/weave-net created\nclusterrolebinding.rbac.authorization.k8s.io\/weave-net created\nrole.rbac.authorization.k8s.io\/weave-net created\nrolebinding.rbac.authorization.k8s.io\/weave-net created\ndaemonset.apps\/weave-net created\n<\/pre>\n<p>\u3053\u308c\u3067Weave Net\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>k0s\u3067\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0: WeaveNet\u7de8<\/h2>\n<p>\u3067\u306f\u3001\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3092\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002Calico\u306e\u5834\u5408\u3068\u540c\u69d8\u306a\u306e\u3067\u3001master\u30b2\u30b9\u30c8\u3067\u306e\u53c2\u52a0\u30c8\u30fc\u30af\u30f3\u306e\u6255\u3044\u51fa\u3057\u3068\u3001node01\/node02\u30b2\u30b9\u30c8\u3067\u306e\u30af\u30e9\u30b9\u30bf\u53c2\u52a0\u624b\u9806\u306f\u7701\u7565\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ sudo cp \/var\/lib\/k0s\/pki\/admin.conf kubeconfig.cfg\n$ sudo chown $USER kubeconfig.cfg\n$ export KUBECONFIG=~\/kubeconfig.cfg\n$ k0s kubectl get nodes\nNAME STATUS ROLES AGE VERSION\nnode01 Ready 20m v1.22.2+k0s\nnode02 Ready 20m v1.22.2+k0s\n<\/pre>\n<p>node01\/node02\u306fReady\u3068\u306a\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4f55\u304b\u69d8\u5b50\u304c\u5909\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s kubectl get pods -A\nNAMESPACE NAME READY STATUS RESTARTS AGE\nkube-system coredns-5ccbdcc4c4-9txs9 0\/1 ContainerCreating 0 28m\nkube-system coredns-5ccbdcc4c4-lmpnv 0\/1 ContainerCreating 0 22m\nkube-system konnectivity-agent-66hxj 0\/1 ContainerCreating 0 9m3s\nkube-system konnectivity-agent-v878z 0\/1 ContainerCreating 0 9m4s\nkube-system kube-proxy-6mqgd 1\/1 Running 0 22m\nkube-system kube-proxy-grvbr 1\/1 Running 0 22m\nkube-system metrics-server-6bd95db5f4-kbcpz 0\/1 ContainerCreating 0 28m\nkube-system weave-net-t8xqj 2\/2 Running 1 (9m11s ago) 9m37s\nkube-system weave-net-x8z67 2\/2 Running 1 (9m9s ago) 9m37s\n<\/pre>\n<p>\u3044\u3064\u307e\u3067\u7d4c\u3063\u3066\u3082coredns\u3001konnectivity-agent\u3001metrics-server Pod\u304cRunning\u306b\u306a\u308a\u307e\u305b\u3093\u3002Event\u3092\u898b\u3066\u307f\u308b\u3068\u3001<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\nWarning FailedCreatePodSandBox 4m14s (x17 over 7m48s) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox &quot;710f088ae6e9de5c4021fcda9efe2f8659f74fe33f2b35f78f3998f888d59e7a&quot;: failed to find plugin &quot;loopback&quot; in path [\/opt\/cni\/bin]\n<\/pre>\n<p>\u4f55\u304b\u30d5\u30a1\u30a4\u30eb\u304c\u8db3\u308a\u306a\u3044\u3088\u3046\u3067\u3059\u3002k0s\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300c<a href=\"https:\/\/docs.k0sproject.io\/v1.22.2+k0s.1\/configuration\/#specnetwork\">Configuration Options<\/a>\u300d\u3092\u898b\u308b\u3068\u3001spec.network.provider\u306e\u9805\u76ee\u306b\u300cBe aware that it is your responsibility to configure all of the CNI-related setups, including the CNI provider itself and all necessary host levels setups (for example, CNI binaries). (\u8a33: CNI\u30d7\u30ed\u30d0\u30a4\u30c0\u81ea\u4f53\u3068\u3059\u3079\u3066\u306e\u30db\u30b9\u30c8\u30ec\u30d9\u30eb\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7(\u4f8b:CNI\u30d0\u30a4\u30ca\u30ea)\u3092\u542b\u3080\u3001CNI\u95a2\u9023\u306e\u3059\u3079\u3066\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u69cb\u6210\u3059\u308b\u306e\u306f\u3001\u30e6\u30fc\u30b6\u306e\u8cac\u4efb\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044)\u300d\u3068\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001Kube-Router\u3084Calico\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3068\u7570\u306a\u308a\u3001\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u306b\u4f5c\u696d\u304c\u5fc5\u8981\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306floopback CNI\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u3044\u308b\u3053\u3068\u304b\u3089<a href=\"https:\/\/github.com\/containernetworking\/plugins\">https:\/\/github.com\/containernetworking\/plugins<\/a>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u306a\u304a\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f<a href=\"https:\/\/github.com\/k0sproject\/cni-node\/blob\/v0.1.0\/Dockerfile\">https:\/\/github.com\/k0sproject\/cni-node\/blob\/v0.1.0\/Dockerfile<\/a>\u304b\u3089v0.9.1\u3068\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>node01\u3068node02\u306b\u3066CNI\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305a \/opt\/cni\/bin \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ ls -l \/opt\/cni\/bin\/\ntotal 11172\nlrwxrwxrwx 1 root root 18 Oct 25 08:30 weave-ipam -&gt; weave-plugin-2.8.1\nlrwxrwxrwx 1 root root 18 Oct 25 08:30 weave-net -&gt; weave-plugin-2.8.1\n-rwxr-xr-x 1 root root 11437320 Oct 25 08:30 weave-plugin-2.8.1\n<\/pre>\n<p>Weave Net\u95a2\u9023\u306e\u3082\u306e\u304b\u5165\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u3053\u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ wget https:\/\/github.com\/containernetworking\/plugins\/releases\/download\/v0.9.1\/cni-plugins-linux-amd64-v0.9.1.tgz\n$ sudo tar xf cni-plugins-linux-amd64-v0.9.1.tgz -C \/opt\/cni\/bin\n$ ls -l \/opt\/cni\/bin\/\ntotal 83448\n-rwxr-xr-x 1 root root 4151672 Feb 5 2021 bandwidth\n-rwxr-xr-x 1 root root 4536104 Feb 5 2021 bridge\n-rwxr-xr-x 1 root root 10270090 Feb 5 2021 dhcp\n-rwxr-xr-x 1 root root 4767801 Feb 5 2021 firewall\n-rwxr-xr-x 1 root root 3357992 Feb 5 2021 flannel\n-rwxr-xr-x 1 root root 4144106 Feb 5 2021 host-device\n-rwxr-xr-x 1 root root 3565330 Feb 5 2021 host-local\n-rwxr-xr-x 1 root root 4288339 Feb 5 2021 ipvlan\n-rwxr-xr-x 1 root root 3530531 Feb 5 2021 loopback\n-rwxr-xr-x 1 root root 4367216 Feb 5 2021 macvlan\n-rwxr-xr-x 1 root root 3966455 Feb 5 2021 portmap\n-rwxr-xr-x 1 root root 4467317 Feb 5 2021 ptp\n-rwxr-xr-x 1 root root 3701138 Feb 5 2021 sbr\n-rwxr-xr-x 1 root root 3153330 Feb 5 2021 static\n-rwxr-xr-x 1 root root 3668289 Feb 5 2021 tuning\n-rwxr-xr-x 1 root root 4287972 Feb 5 2021 vlan\n-rwxr-xr-x 1 root root 3759977 Feb 5 2021 vrf\nlrwxrwxrwx 1 root root 18 Oct 25 08:30 weave-ipam -&gt; weave-plugin-2.8.1\nlrwxrwxrwx 1 root root 18 Oct 25 08:30 weave-net -&gt; weave-plugin-2.8.1\n-rwxr-xr-x 1 root root 11437320 Oct 25 08:30 weave-plugin-2.8.1\n<\/pre>\n<p>\u5c11\u3057\u5f85\u3063\u3066\u307f\u308b\u3068\u3001\u5148\u307b\u3069\u306f\u8d77\u52d5\u3057\u3066\u3044\u306a\u304b\u3063\u305fcoredns\u3001konnectivity-agent\u3001metrics-server Pod\u304cRunning\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s kubectl get pods -A\nNAMESPACE NAME READY STATUS RESTARTS AGE\nkube-system coredns-5ccbdcc4c4-9txs9 1\/1 Running 0 39m\nkube-system coredns-5ccbdcc4c4-lmpnv 1\/1 Running 0 32m\nkube-system konnectivity-agent-66hxj 1\/1 Running 0 19m\nkube-system konnectivity-agent-v878z 1\/1 Running 0 19m\nkube-system kube-proxy-6mqgd 1\/1 Running 0 33m\nkube-system kube-proxy-grvbr 1\/1 Running 0 32m\nkube-system metrics-server-6bd95db5f4-kbcpz 0\/1 Running 0 39m\nkube-system weave-net-t8xqj 2\/2 Running 1 (19m ago) 20m\nkube-system weave-net-x8z67 2\/2 Running 1 (19m ago) 20m\n<\/pre>\n<h2>\u52d5\u4f5c\u30c6\u30b9\u30c8: Weave Net\u7de8<\/h2>\n<p>\u30c7\u30e2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u304a\u99b4\u67d3\u307f\u306e <a href=\"https:\/\/microservices-demo.github.io\/\">Sock Shop<\/a> \u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ k0s kubectl create -f https:\/\/raw.githubusercontent.com\/microservices-demo\/microservices-demo\/master\/deploy\/kubernetes\/complete-demo.yaml\n$ k0s kubectl get pod -n sock-shop\nNAME READY STATUS RESTARTS AGE\ncarts-b4d4ffb5c-s4l92 1\/1 Running 0 6m47s\ncarts-db-6c6c68b747-b9xbp 1\/1 Running 0 6m47s\ncatalogue-759cc6b86-gs4kd 1\/1 Running 0 6m47s\ncatalogue-db-96f6f6b4c-mnhzl 1\/1 Running 0 6m47s\nfront-end-5c89db9f57-79mvj 1\/1 Running 0 6m47s\norders-7664c64d75-plbdk 1\/1 Running 0 6m47s\norders-db-659949975f-8gzsr 1\/1 Running 0 6m47s\npayment-7bcdbf45c9-kcxbq 1\/1 Running 0 6m46s\nqueue-master-5f6d6d4796-8dj6s 1\/1 Running 0 6m46s\nrabbitmq-5bcbb547d7-vwxxq 2\/2 Running 0 6m46s\nsession-db-7cf97f8d4f-hr2mh 1\/1 Running 0 6m46s\nshipping-7f7999ffb7-dr5kq 1\/1 Running 0 6m46s\nuser-68df64db9c-446wm 1\/1 Running 0 6m46s\nuser-db-6df7444fc-dfjsn 1\/1 Running 0 6m46s\n<\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/192.168.123.201:30001 \u3042\u308b\u3044\u306f http:\/\/192.168.123.202:30001 \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001Sock Shop\u306eUI\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-36771\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/08\/socks-768x553-1.png\" alt=\"\" width=\"768\" height=\"553\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/08\/socks-768x553-1.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/08\/socks-768x553-1-360x259.png 360w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u672c\u7a3f\u3067\u306f\u3001k0s\u306b\u5185\u8535\u3055\u308c\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3042\u308bCalico\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3068\u3001k0s\u306b\u5185\u8535\u3055\u308c\u3066\u3044\u306a\u3044Weave Net\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306b\u3064\u307e\u3065\u3044\u305f\u70b9\u3068\u305d\u306e\u89e3\u6c7a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u898b\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\nk0s\u3067\u306fKube-Router\u3068Calico\u304c\u8a2d\u5b9a\u3067\u7c21\u5358\u306b\u5229\u7528\u304c\u53ef\u80fd\u3068\u306a\u308b\u307b\u304b\u3001Weave Net\u306b\u95a2\u3057\u3066\u3082k0s\u7279\u6709\u306e\u4e8b\u60c5\u306f\u3042\u308b\u3082\u306e\u306e\u3001\u4e00\u65e6\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3057\u307e\u3048\u3070\u307e\u3063\u305f\u304f\u554f\u984c\u306a\u304f\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u624b\u8efd\u306bKubernetes\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u304a\u305f\u3081\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001 \u30d5\u30eb\u6a5f\u80fd\u306eKubernetes\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u3092\u5358\u4e00\u30d0\u30a4\u30ca\u30ea\u306b\u540c\u68b1 k0s\u7279\u6709\u306e\u6539\u5909 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":41227,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[31,122,540],"tags":[],"class_list":["post-45685","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-higuchi","category-kubernetes","category-mirantis"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"d-higuchi, Kubernetes, Mirantis |k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001\" \/>\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\/kubernetes\/45685\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"d-higuchi, Kubernetes, Mirantis |k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685\" \/>\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:published_time\" content=\"2021-11-04T02:00:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T06:19:58+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=\"Daisuke Higuchi\" \/>\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=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"11\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\/kubernetes\/45685#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet\",\"datePublished\":\"2021-11-04T02:00:48+00:00\",\"dateModified\":\"2023-08-29T06:19:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685\"},\"wordCount\":2105,\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png\",\"articleSection\":[\"d-higuchi\",\"Kubernetes\",\"Mirantis\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685\",\"name\":\"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet - 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\/kubernetes\/45685#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png\",\"datePublished\":\"2021-11-04T02:00:48+00:00\",\"dateModified\":\"2023-08-29T06:19:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"d-higuchi, Kubernetes, Mirantis |k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#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\/kubernetes\/45685#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\":\"Kubernetes\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet\"}]},{\"@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\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"d-higuchi, Kubernetes, Mirantis |k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001","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\/kubernetes\/45685","og_locale":"ja_JP","og_type":"article","og_title":"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"d-higuchi, Kubernetes, Mirantis |k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2021-11-04T02:00:48+00:00","article_modified_time":"2023-08-29T06:19:58+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":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"11\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet","datePublished":"2021-11-04T02:00:48+00:00","dateModified":"2023-08-29T06:19:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685"},"wordCount":2105,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","articleSection":["d-higuchi","Kubernetes","Mirantis"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685","name":"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet - 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\/kubernetes\/45685#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","datePublished":"2021-11-04T02:00:48+00:00","dateModified":"2023-08-29T06:19:58+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"d-higuchi, Kubernetes, Mirantis |k0s\u3068\u306f\u3001\u8efd\u91cf\u304b\u3064\u4f7f\u3044\u3084\u3059\u3044\u3001100%\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eKubernetes\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45685#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\/kubernetes\/45685#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":"Kubernetes","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes"},{"@type":"ListItem","position":4,"name":"k0s\u3067Kube-Router\u306e\u4ee3\u308f\u308a\u306bCalico\u3084Weave Net\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #calico #weavenet"}]},{"@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\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/45685","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=45685"}],"version-history":[{"count":3,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/45685\/revisions"}],"predecessor-version":[{"id":65836,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/45685\/revisions\/65836"}],"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=45685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=45685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=45685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}