{"id":61106,"date":"2023-05-09T10:00:59","date_gmt":"2023-05-09T01:00:59","guid":{"rendered":"https:\/\/www.creationline.com\/?p=61106"},"modified":"2023-08-29T15:30:47","modified_gmt":"2023-08-29T06:30:47","slug":"k0s%e3%81%a8wasmedge%e3%81%a7wasm%e3%82%92%e5%8b%95%e3%81%8b%e3%81%9d%e3%81%86-k0s-kubernetes-k8s-webassembly-wasm-wasi","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106","title":{"rendered":"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi"},"content":{"rendered":"<p>\u4ee5\u524d<a href=\"\/lab\/60397\">Docker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f<\/a>\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08<a href=\"https:\/\/k0sproject.io\/\">k0s<\/a>\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6\u30ca\u30e9\u30f3\u30bf\u30a4\u30e0\u3068\u3057\u3066 <a href=\"https:\/\/containerd.io\/\">containerd<\/a> \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u307b\u307c\u540c\u3058\u3088\u3046\u306a\u624b\u9806\u3067\u5b9f\u73fe\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002\u65e9\u901f\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><strong>\u6ce8\u610f: \u672c\u7a3f\u306e\u5185\u5bb9\u306f\u5b9f\u9a13\u3067\u3042\u308a\u3001\u672c\u756a\u74b0\u5883\u3067\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u958b\u767a\u4e2d\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u591a\u6570\u5229\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u4eca\u5f8c\u52d5\u4f5c\u304c\u5909\u66f4\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/strong><\/p>\n<h2>\u4eee\u60f3\u30de\u30b7\u30f3\u74b0\u5883\u306e\u6e96\u5099<\/h2>\n<p>\u307e\u305a\u4eee\u60f3\u30de\u30b7\u30f3\u74b0\u5883\u3092<a href=\"https:\/\/www.vagrantup.com\/\">Vagrant<\/a> + <a href=\"https:\/\/www.virtualbox.org\/\">VirtualBox<\/a>\u3067\u6e96\u5099\u3057\u307e\u3057\u3087\u3046\u3002\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u7528VM\u30921\u3064\u3001\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u7528VM\u30922\u3064\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\">\n# -*- mode: ruby -*-\n# vi: set ft=ruby :\n\nVagrant.configure(&quot;2&quot;) do |config|\nconfig.vm.box = &quot;rockylinux\/9&quot;\nconfig.vm.box_check_update = false\n\nconfig.vm.define &quot;main&quot; do |cf|\ncf.vm.hostname = &quot;main&quot;\ncf.vm.network &quot;private_network&quot;, ip: &quot;192.168.56.101&quot;\ncf.vm.provider &quot;virtualbox&quot; do |vb|\nvb.memory = 4096\nend\nend\n\n( 1..2 ).each do |i|\nconfig.vm.define &quot;node0#{i}&quot; do |cf|\ncf.vm.hostname = &quot;node0#{i}&quot;\ncf.vm.network &quot;private_network&quot;, ip: &quot;192.168.56.20#{i}&quot;\ncf.vm.provider &quot;virtualbox&quot; do |vb|\nvb.memory = 4096\nend\nend\nend\nend\n<\/pre>\n<h2>k0s\u306b\u3088\u308bKubernetes\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<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>\u00a0k0s\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=\"\/lab\/50291\">\u30db\u30ef\u30a4\u30c8\u30da\u30fc\u30d1\u30fc<\/a>\u3084\u300c<a href=\"\/video\/lrbqxnpz8ok\">5\u5206\u3067\u308f\u304b\u308bk0s<\/a>\u300d\u52d5\u753b\u30b7\u30ea\u30fc\u30ba\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u5074<\/h3>\n<p><a href=\"https:\/\/docs.k0sproject.io\/v1.27.1+k0s.0\/install\/\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u3082\u3068\u306bk0s v1.27.1\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u7528VM\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ curl -sSLf https:\/\/get.k0s.sh | sudo sh\nDownloading k0s from URL: https:\/\/github.com\/k0sproject\/k0s\/releases\/download\/v1.27.1+k0s.0\/k0s-v1.27.1+k0s.0-amd64\nk0s is now executable in \/usr\/local\/bin\n[vagrant@main ~]$ k0s version\nv1.27.1+k0s.0\n[vagrant@main ~]$\n<\/pre>\n<p>k0s\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fIP\u30a2\u30c9\u30ec\u30b9\u306e\u5909\u66f4\u306e\u307f\u3092\u884c\u3063\u3066\u304a\u308a\u3001\u4ed6\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\">\n[vagrant@main ~]$ k0s config create &gt; k0s.yaml.orig\n[vagrant@main ~]$ cp -a k0s.yaml.orig k0s.yaml\n[vagrant@main ~]$ vi k0s.yaml\n[vagrant@main ~]$ diff -u k0s.yaml.orig k0s.yaml\n--- k0s.yaml.orig 2023-04-27 08:16:32.898589360 +0000\n+++ k0s.yaml 2023-04-27 08:17:41.367440655 +0000\n@@ -5,11 +5,10 @@\nname: k0s\nspec:\napi:\n- address: 10.0.2.15\n+ address: 192.168.56.101\nk0sApiPort: 9443\nport: 6443\nsans:\n- - 10.0.2.15\n- 192.168.56.101\n- fe80::a00:27ff:fefc:e996\n- fe80::a00:27ff:fee4:c9e9\n@@ -72,7 +71,7 @@\nstorage:\netcd:\nexternalCluster: null\n- peerAddress: 10.0.2.15\n+ peerAddress: 192.168.56.101\ntype: etcd\ntelemetry:\nenabled: true\n[vagrant@main ~]$\n<\/pre>\n<p>\u3053\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u3082\u3068\u306b\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u7528VM\u306bKubernetes\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ sudo mkdir \/etc\/k0s\n[vagrant@main ~]$ sudo mv k0s.yaml \/etc\/k0s\/\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s install controller -c \/etc\/k0s\/k0s.yaml\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s start\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s status\nVersion: v1.27.1+k0s.0\nProcess ID: 4094\nRole: controller\nWorkloads: false\nSingleNode: false\n[vagrant@main ~]$\n<\/pre>\n<p>\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u53c2\u52a0\u7528\u30c8\u30fc\u30af\u30f3\u3092\u6255\u3044\u51fa\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s token create --role=worker \/etc\/k0s\/k0s.yaml &gt; join-token\n[vagrant@main ~]$\n<\/pre>\n<p>\u3053\u306e join-token \u30d5\u30a1\u30a4\u30eb\u3092\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u7528VM\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u5074<\/h3>\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u7528VM\u304b\u3089\u30b3\u30d4\u30fc\u3057\u305f join-token \u30d5\u30a1\u30a4\u30eb\u3092\u3082\u3068\u306b\u30af\u30e9\u30b9\u30bf\u306b\u53c2\u52a0\u3055\u305b\u307e\u3059\u3002node01 \u3068 node02 \u3067 --node-ip \u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u4e0e\u3048\u308bIP\u30a2\u30c9\u30ec\u30b9\u304c\u7570\u306a\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002\u305d\u308c\u305e\u308c\u306eVM\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@node01 ~]$ curl -sSLf https:\/\/get.k0s.sh | sudo sh\nDownloading k0s from URL: https:\/\/github.com\/k0sproject\/k0s\/releases\/download\/v1.27.1+k0s.0\/k0s-v1.27.1+k0s.0-amd64\nk0s is now executable in \/usr\/local\/bin\n[vagrant@node01 ~]$ sudo mkdir \/etc\/k0s\n[vagrant@node01 ~]$ sudo mv join-token \/etc\/k0s\/\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s install worker --token-file \/etc\/k0s\/join-token --kubelet-extra-args &#039;--node-ip=192.168.56.201&#039;\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s start\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s status\nVersion: v1.27.1+k0s.0\nProcess ID: 3992\nRole: worker\nWorkloads: true\nSingleNode: false\nKube-api probing successful: true\nKube-api probing last error:\n[vagrant@node01 ~]$\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@node02 ~]$ curl -sSLf https:\/\/get.k0s.sh | sudo sh\nDownloading k0s from URL: https:\/\/github.com\/k0sproject\/k0s\/releases\/download\/v1.27.1+k0s.0\/k0s-v1.27.1+k0s.0-amd64\nk0s is now executable in \/usr\/local\/bin\n[vagrant@node02 ~]$ sudo mkdir \/etc\/k0s\n[vagrant@node02 ~]$ sudo mv join-token \/etc\/k0s\/\n[vagrant@node02 ~]$ sudo \/usr\/local\/bin\/k0s install worker --token-file \/etc\/k0s\/join-token --kubelet-extra-args &#039;--node-ip=192.168.56.202&#039;\n[vagrant@node02 ~]$ sudo \/usr\/local\/bin\/k0s start\n[vagrant@node02 ~]$ sudo \/usr\/local\/bin\/k0s status\nVersion: v1.27.1+k0s.0\nProcess ID: 3993\nRole: worker\nWorkloads: true\nSingleNode: false\nKube-api probing successful: true\nKube-api probing last error:\n[vagrant@node02 ~]$\n<\/pre>\n<h3>\u30af\u30e9\u30b9\u30bf\u306e\u78ba\u8a8d<\/h3>\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d7\u30ec\u30fc\u30f3\u7528VM\u3067\u30af\u30e9\u30b9\u30bf\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s kubectl get nodes\nNAME STATUS ROLES AGE VERSION\nnode01 Ready 4m14s v1.27.1+k0s\nnode02 Ready 110s v1.27.1+k0s\n[vagrant@main ~]$\n<\/pre>\n<p>\u3053\u308c\u3067k0s\u306b\u3088\u308bKubernetes\u30af\u30e9\u30b9\u30bf\u304c\u6e96\u5099\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>WasmEdge\u3068runwasi\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>WasmEdge\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u3067\u306f\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u7528VM\u306b <a href=\"https:\/\/wasmedge.org\/\">WasmEdge<\/a> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002WasmEdge \u3068\u306f\u3001WASI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3067\u304d\u308b\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30fc\u30f3\u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u4e00\u7a2e\u3067\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001\u672c\u7a3f\u57f7\u7b46\u6642\u70b9\u3067\u306eWasmEdge\u6700\u65b0\u7248 0.12.0 \u3067\u306f\u3046\u307e\u304f\u52d5\u4f5c\u3057\u307e\u305b\u3093\uff08\u53c2\u8003\uff1a<a href=\"https:\/\/github.com\/containerd\/runwasi\/issues\/91\">failed to start shim: start failed: terminate called after throwing an instance of 'std::out_of_range'<\/a>\uff09\u30021\u3064\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u53e4\u3044 0.11.2 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@node01 ~]$ curl -sSf https:\/\/raw.githubusercontent.com\/WasmEdge\/WasmEdge\/master\/utils\/install.sh | bash -s -- -v 0.11.2\n(\u4e2d\u7565)\n[vagrant@node01 ~]$ sudo cp -a .wasmedge\/lib\/libwasmedge.so* \/usr\/local\/lib\/\n[vagrant@node01 ~]$ sudo -E sh -c &#039;echo &quot;\/usr\/local\/lib&quot; &gt; \/etc\/ld.so.conf.d\/libwasmedge.conf&#039;\n[vagrant@node01 ~]$ sudo ldconfig\n[vagrant@node01 ~]$\n<\/pre>\n<h3>runwasi\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u5f15\u304d\u7d9a\u304d <a href=\"https:\/\/github.com\/containerd\/runwasi\">runwasi<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u308c\u306f <a href=\"https:\/\/containerd.io\/\">containerd<\/a> \u304b\u3089 WASI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u904e\u53bb\u8a18\u4e8b\u300c<a href=\"\/lab\/60397\">Docker\u3067WASM\u3092\u52d5\u304b\u305d\u3046<\/a>\u300d\u3067\u4f5c\u6210\u3057\u305f\u30d0\u30a4\u30ca\u30ea\u3092\u518d\u5229\u7528\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f \/var\/lib\/k0s\/bin \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@node01 ~]$ sudo cp containerd-* \/var\/lib\/k0s\/bin\/\n[vagrant@node01 ~]$ sudo ls -l \/var\/lib\/k0s\/bin\/containerd-*\n-r-xr-x---. 1 root root 6557696 Apr 27 08:21 \/var\/lib\/k0s\/bin\/containerd-shim\n-r-xr-x---. 1 root root 8265728 Apr 27 08:21 \/var\/lib\/k0s\/bin\/containerd-shim-runc-v1\n-r-xr-x---. 1 root root 12009472 Apr 27 08:21 \/var\/lib\/k0s\/bin\/containerd-shim-runc-v2\n-rwxr-xr-x. 1 root root 6809232 Apr 27 08:29 \/var\/lib\/k0s\/bin\/containerd-shim-wasmedged-v1\n-rwxr-xr-x. 1 root root 9048000 Apr 27 08:29 \/var\/lib\/k0s\/bin\/containerd-shim-wasmedge-v1\n-rwxr-xr-x. 1 root root 9449304 Apr 27 08:29 \/var\/lib\/k0s\/bin\/containerd-wasmedged\n[vagrant@node01 ~]$\n<\/pre>\n<h3>containerd\u306e\u8a2d\u5b9a\u5909\u66f4<\/h3>\n<p>containerd \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u3001 runwasi \u3068\u9023\u643a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\">\n[vagrant@node01 ~]$ sudo \/var\/lib\/k0s\/bin\/containerd config default &gt; containerd.toml.orig\n[vagrant@node01 ~]$ cp -a containerd.toml.orig containerd.toml\n[vagrant@node01 ~]$ vi containerd.toml\n[vagrant@node01 ~]$ diff -u containerd.toml.orig containerd.toml\n--- containerd.toml.orig 2023-04-27 08:38:44.110896751 +0000\n+++ containerd.toml 2023-04-27 08:42:51.521164921 +0000\n@@ -3,8 +3,8 @@\noom_score = 0\nplugin_dir = &quot;&quot;\nrequired_plugins = []\n-root = &quot;\/var\/lib\/containerd&quot;\n-state = &quot;\/run\/containerd&quot;\n+root = &quot;\/var\/lib\/k0s\/containerd&quot;\n+state = &quot;\/run\/k0s\/containerd&quot;\ntemp = &quot;&quot;\nversion = 2\n\n@@ -19,7 +19,7 @@\nuid = 0\n\n[grpc]\n- address = &quot;\/run\/containerd\/containerd.sock&quot;\n+ address = &quot;\/run\/k0s\/containerd.sock&quot;\ngid = 0\nmax_recv_message_size = 16777216\nmax_send_message_size = 16777216\n@@ -108,6 +108,9 @@\n\n[plugins.&quot;io.containerd.grpc.v1.cri&quot;.containerd.runtimes]\n\n+ [plugins.&quot;io.containerd.grpc.v1.cri&quot;.containerd.runtimes.wasmedge]\n+ runtime_type = &quot;io.containerd.wasmedge.v1&quot;\n+\n[plugins.&quot;io.containerd.grpc.v1.cri&quot;.containerd.runtimes.runc]\nbase_runtime_spec = &quot;&quot;\ncni_conf_dir = &quot;&quot;\n[vagrant@node01 ~]$ sudo cp -a containerd.toml \/etc\/k0s\/\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s stop\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s start\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s status\nVersion: v1.27.1+k0s.0\nProcess ID: 28179\nRole: worker\nWorkloads: true\nSingleNode: false\nKube-api probing successful: true\nKube-api probing last error:\n[vagrant@node01 ~]$\n<\/pre>\n<h3>containerd + runwasi + WasmEdge\u306e\u30c6\u30b9\u30c8<\/h3>\n<p>containerd \u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s ctr image pull --platform=wasi\/wasm32 docker.io\/michaelirwin244\/wasm-example:latest\n(\u4e2d\u7565)\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s ctr run --rm --runtime=io.containerd.wasmedge.v1 docker.io\/michaelirwin244\/wasm-example:latest wasm-example\n[2023-05-08 05:38:50.926] [info] loading failed: malformed section id, Code: 0x25\n[2023-05-08 05:38:50.926] [info] AOT arch type unmatched.\n[2023-05-08 05:38:50.927] [info] Load AOT section failed. Use interpreter mode instead.\nServer is now running\n<\/pre>\n<p>\u300cServer is now running\u300d\u3068\u8868\u793a\u3055\u308c\u305f\u3089\u6210\u529f\u3067\u3059\u3002CTRL+C \u3067\u7d42\u4e86\u3057\u307e\u3057\u3087\u3046\u3002\u3082\u3057\u3001<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@node01 ~]$ sudo \/usr\/local\/bin\/k0s ctr run --rm --runtime=io.containerd.wasmedge.v1 docker.io\/michaelirwin244\/wasm-example:latest wasm-example\nError: failed to start shim: start failed: terminate called after throwing an instance of &#039;std::out_of_range&#039;\nwhat(): bitset::reset: __position (which is 1) &gt;= _Nb (which is 1)\n: signal: aborted (core dumped): unknown\nUsage:\nk0s ctr [flags]\n\nFlags:\n-h, --help help for ctr\n\n[vagrant@node01 ~]$\n<\/pre>\n<p>\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3068\u306a\u3063\u305f\u3089\u3001WasmEdge 0.12.0 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u30021\u3064\u53e4\u3044WasmEdge 0.11.2 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u53c2\u8003\uff1a<a href=\"https:\/\/github.com\/containerd\/runwasi\/issues\/91\">failed to start shim: start failed: terminate called after throwing an instance of 'std::out_of_range'<\/a>\uff09\u3002<\/p>\n<p>WasmEdge \u3068 runwasi \u3092\u3082\u30461\u3064\u306e\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u7528VM\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u3067\u306f\u624b\u9806\u306f\u7701\u7565\u3057\u307e\u3059\u3002<\/p>\n<h2>Kubernetes\u306bWASI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3044\u3088\u3044\u3088Kubernetes\u3067WASI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u307e\u305aWasmEdge\u7528\u306eRuntimeClass\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">\n[vagrant@main ~]$ vi wasmedge.yaml\napiVersion: node.k8s.io\/v1\nkind: RuntimeClass\nmetadata:\nname: wasmedge\nhandler: wasmedge\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s kubectl apply -f wasmedge.yaml\nruntimeclass.node.k8s.io\/wasmedge created\n[vagrant@main ~]$\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u3092Deployment\u3067\u914d\u7f6e\u3057\u3001NodePort\u3067\u5230\u9054\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">\n[vagrant@main ~]$ vi wasm-example-deployment.yaml\napiVersion: v1\nkind: Service\nmetadata:\nname: wasm-example-svc\nspec:\ntype: NodePort\nports:\n- port: 8080\nselector:\napp: wasm-example\n---\napiVersion: apps\/v1\nkind: Deployment\nmetadata:\nname: wasm-example\nspec:\nreplicas: 2\nselector:\nmatchLabels:\napp: wasm-example\ntemplate:\nmetadata:\nlabels:\napp: wasm-example\nspec:\nruntimeClassName: wasmedge\ncontainers:\n- name: wasm-example\nimage: michaelirwin244\/wasm-example\nports:\n- containerPort: 8080\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s kubectl apply -f wasm-example-deployment.yaml\nservice\/wasm-example-svc created\ndeployment.apps\/wasm-example created\n[vagrant@main ~]$\n<\/pre>\n<p>\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s kubectl get svc\nNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\nkubernetes ClusterIP 10.96.0.1 443\/TCP 10d\nwasm-example-svc NodePort 10.105.207.55 8080:31037\/TCP 97s\n[vagrant@main ~]$ sudo \/usr\/local\/bin\/k0s kubectl get pods\nNAME READY STATUS RESTARTS AGE\nwasm-example-6dd64b8fb6-c95mn 1\/1 Running 0 112s\nwasm-example-6dd64b8fb6-ksckw 1\/1 Running 0 112s\n[vagrant@main ~]$\n<\/pre>\n<p>\u8d77\u52d5\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ curl 192.168.56.202:31037 ; echo\nHello world from Rust running with Wasm! Send POST data to \/echo to have it echoed back to you\n[vagrant@main ~]$\n<\/pre>\n<p>\u5fdc\u7b54\u304c\u8fd4\u3063\u3066\u304d\u307e\u3057\u305f\uff01 \u6307\u793a\u901a\u308a\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n[vagrant@main ~]$ curl --data &#039;Hello, World!&#039; 192.168.56.202:31037\/echo ; echo\nHello, World!\n[vagrant@main ~]$\n<\/pre>\n<p>\u3053\u3061\u3089\u3082\u610f\u56f3\u901a\u308a\u306b\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff01<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u672c\u7a3f\u3067\u306f Vagrant + Virtualbox \u3067\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u6e96\u5099\u3057\u3001k0s \u3067 Kubernetes \u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3057\u3001WasmEdge + runwasi \u3067WASI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<br \/>\n\u307e\u3060\u307e\u3060\u30d9\u30fc\u30bf\u7248\u30fb\u958b\u767a\u4e2d\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3084\u6a5f\u80fd\u3070\u304b\u308a\u3067\u69cb\u7bc9\u3059\u308b\u306e\u3082\u4e00\u82e6\u52b4\u3067\u3059\u304c\u3001\u6210\u719f\u304c\u9032\u3081\u3093\u3067\u624b\u8efd\u306b\u306a\u308c\u3070WASM\u304c\u52d5\u3044\u3066\u3044\u308bKubernetes\u74b0\u5883\u3068\u3044\u3046\u306e\u3082\u5897\u3048\u3066\u3044\u304f\u3068\u601d\u3044\u307e\u3059\u3002\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\u3067\u306f\u5f15\u304d\u7d9a\u304d WebAssmbly \u3068 Kubernetes \u306b\u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6\u30ca\u30e9\u30f3\u30bf\u30a4\u30e0\u3068\u3057\u3066 containerd \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":58360,"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-61106","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.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"d-higuchi, Kubernetes, Mirantis |\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6\" \/>\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\/61106\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"d-higuchi, Kubernetes, Mirantis |\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106\" \/>\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=\"2023-05-09T01:00:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T06:30:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/01\/WebAssembly_Logo_02.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1506\" \/>\n\t<meta property=\"og:image:height\" content=\"795\" \/>\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=\"7\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\\\/61106#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi\",\"datePublished\":\"2023-05-09T01:00:59+00:00\",\"dateModified\":\"2023-08-29T06:30:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106\"},\"wordCount\":1492,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/WebAssembly_Logo_02.png\",\"articleSection\":[\"d-higuchi\",\"Kubernetes\",\"Mirantis\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106\",\"name\":\"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi - 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\\\/61106#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/WebAssembly_Logo_02.png\",\"datePublished\":\"2023-05-09T01:00:59+00:00\",\"dateModified\":\"2023-08-29T06:30:47+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"d-higuchi, Kubernetes, Mirantis |\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/WebAssembly_Logo_02.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/WebAssembly_Logo_02.png\",\"width\":1506,\"height\":795},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/61106#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\":\"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi\"}]},{\"@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":"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"d-higuchi, Kubernetes, Mirantis |\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6","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\/61106","og_locale":"ja_JP","og_type":"article","og_title":"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"d-higuchi, Kubernetes, Mirantis |\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106","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":"2023-05-09T01:00:59+00:00","article_modified_time":"2023-08-29T06:30:47+00:00","og_image":[{"width":1506,"height":795,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/01\/WebAssembly_Logo_02.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":"7\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi","datePublished":"2023-05-09T01:00:59+00:00","dateModified":"2023-08-29T06:30:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106"},"wordCount":1492,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/01\/WebAssembly_Logo_02.png","articleSection":["d-higuchi","Kubernetes","Mirantis"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106","name":"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi - 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\/61106#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/01\/WebAssembly_Logo_02.png","datePublished":"2023-05-09T01:00:59+00:00","dateModified":"2023-08-29T06:30:47+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"d-higuchi, Kubernetes, Mirantis |\u4ee5\u524dDocker\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u672c\u7a3f\u3067\u306fKubernetes\uff08k0s\uff09\u3067WASM\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002Kubernetes\u306fDocker\u540c\u69d8\u3001\u30b3\u30f3\u30c6","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/01\/WebAssembly_Logo_02.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/01\/WebAssembly_Logo_02.png","width":1506,"height":795},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/61106#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":"Kubernetes\u3067WASM\u3092\u52d5\u304b\u305d\u3046 #k0s #kubernetes #k8s #webassembly #wasm #wasi"}]},{"@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\/61106","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=61106"}],"version-history":[{"count":8,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/61106\/revisions"}],"predecessor-version":[{"id":65849,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/61106\/revisions\/65849"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/58360"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=61106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=61106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=61106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}