{"id":45455,"date":"2021-10-18T11:00:40","date_gmt":"2021-10-18T02:00:40","guid":{"rendered":"https:\/\/www.creationline.com\/?p=45455"},"modified":"2023-08-29T15:19:28","modified_gmt":"2023-08-29T06:19:28","slug":"k0s%e3%81%a7kine%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6kubernetes%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%88%e3%82%a2%e3%82%92mysql%e3%81%ab%e3%81%97%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86-k0s","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455","title":{"rendered":"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine"},"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\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e<a href=\"https:\/\/etcd.io\/\">etcd<\/a>\u3067\u306f\u306a\u304f\u3001<a href=\"https:\/\/github.com\/k3s-io\/kine\">Kine<\/a>\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3092\u4f7f\u3063\u3066<a href=\"https:\/\/www.mysql.com\/\">MySQL<\/a>\u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eetcd\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\u30674\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.100 : Kubernetes\u30de\u30b9\u30bf\u30fc\u30ce\u30fc\u30c9<\/li>\n<li>mysql : 192.168.123.101 : MySQL\u30b5\u30fc\u30d0<\/li>\n<li>worker1 : 192.168.123.201 : Kubernetes\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c91<\/li>\n<li>worker2 : 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.100&#039;,\n&#039;mysql&#039; =&gt; &#039;192.168.123.101&#039;,\n&#039;worker1&#039; =&gt; &#039;192.168.123.201&#039;,\n&#039;worker2&#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>MySQL\u30b5\u30fc\u30d0\u306e\u6e96\u5099<\/h2>\n<p>mysql\u30b2\u30b9\u30c8\u306b\u3066\u3001Docker\u3068Docker Compose\u3092\u4f7f\u3063\u3066MySQL\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u6b21\u306e\u624b\u9806\u306b\u5f93\u3044Docker\u3068Docker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.docker.com\/engine\/install\/ubuntu\/\">https:\/\/docs.docker.com\/engine\/install\/ubuntu\/<\/a><\/li>\n<li><a href=\"https:\/\/docs.docker.com\/compose\/install\/\">https:\/\/docs.docker.com\/compose\/install\/<\/a><\/li>\n<\/ul>\n<p>\u6b21\u306e docker-compose.yml \u3067MySQL\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">\nversion: &#039;3.1&#039;\nservices:\ndb:\nimage: mysql:5.7\ncontainer_name: mysql\nrestart: always\nenvironment:\nMYSQL_ROOT_PASSWORD: Passw0rd!\nvolumes:\n- .\/mysql:\/var\/lib\/mysql\nports:\n- 3306:3306\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ docker-compose up -d\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<\/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\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092kine\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-15 02:25:20.366522881 +0000\n+++ k0s.yaml 2021-10-15 02:27:25.542522881 +0000\n@@ -4,16 +4,15 @@\nname: k0s\nspec:\napi:\n- address: 10.0.2.15\n+ address: 192.168.123.100\nport: 6443\nk0sApiPort: 9443\nsans:\n- - 10.0.2.15\n- 192.168.123.100\nstorage:\n- type: etcd\n- etcd:\n- peerAddress: 10.0.2.15\n+ type: kine\n+ kine:\n+ dataSource: mysql:\/\/root:Passw0rd!@tcp(192.168.123.101)\/kine\nnetwork:\npodCIDR: 10.244.0.0\/16\nserviceCIDR: 10.96.0.0\/12\n<\/pre>\n<p>spec.storage.type \u3092 etcd \u304b\u3089 kine \u306b\u5909\u66f4\u3057\u3001spec.storage.kine.dataSource \u306bMySQL\u30b5\u30fc\u30d0\u3078\u306e\u63a5\u7d9a\u60c5\u5831\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002\u5148\u306e docker-compose.yaml \u3067\u8a2d\u5b9a\u3057\u305f MYSQL_ROOT_PASSWORD \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u3001mysql\u30ce\u30fc\u30c9\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\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\nINFO[2021-10-15 02:32:34] creating user: etcd\nINFO[2021-10-15 02:32:34] creating user: kube-apiserver\nINFO[2021-10-15 02:32:34] creating user: konnectivity-server\nINFO[2021-10-15 02:32:34] creating user: kube-scheduler\nINFO[2021-10-15 02:32:34] Installing k0s service\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$ ps axf\n(\u7701\u7565)\n14407 ? Ssl 0:10 \/usr\/local\/bin\/k0s controller --config=\/etc\/k0s\/k0s.y\n14439 ? Sl 0:03 _ \/var\/lib\/k0s\/bin\/kine --endpoint=mysql:\/\/root:Pas\n14449 ? Sl 0:16 _ \/var\/lib\/k0s\/bin\/kube-apiserver --enable-bootstra\n14469 ? Sl 0:00 _ \/var\/lib\/k0s\/bin\/konnectivity-server --agent-serv\n14475 ? Sl 0:01 _ \/var\/lib\/k0s\/bin\/kube-scheduler --leader-elect=tr\n14483 ? Sl 0:04 _ \/var\/lib\/k0s\/bin\/kube-controller-manager --bind-a\n14491 ? Sl 0:00 _ \/usr\/local\/bin\/k0s api --config=\/etc\/k0s\/k0s.yaml\n$ ps auxwwwf | grep &#039;[ e]tcd&#039;\nkube-ap+ 14449 9.8 7.2 1119104 291284 ? Sl 02:34 2:36 _ \/var\/lib\/k0s\/bin\/kube-apiserver\n(\u4e2d\u7565) --etcd-servers=unix:\/\/\/run\/k0s\/kine\/kine.sock:2379\n<\/pre>\n<p>etcd \u306e\u4ee3\u308f\u308a\u306b kine \u304c\u8d77\u52d5\u3057\u3066\u304a\u308a\u3001kube-apiserver \u306f\u63a5\u7d9a\u5148\u306e etcd \u3068\u3057\u3066 kine \u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u76ee\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>mysql\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u3001MySQL\u30b5\u30fc\u30d0\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\n$ mysql -uroot -pPassw0rd! -h 192.168.123.101 --silent\nmysql: [Warning] Using a password on the command line interface can be insecure.\nmysql&gt; show databases;\nDatabase\ninformation_schema\nkine\nmysql\nperformance_schema\nsys\nmysql&gt; use kine;\nmysql&gt; show tables;\nTables_in_kine\nkine\nmysql&gt; show table status from kine\\G\n*************************** 1. row ***************************\nName: kine\nEngine: InnoDB\nVersion: 10\nRow_format: Dynamic\nRows: 403\nAvg_row_length: 3943\nData_length: 1589248\nMax_data_length: 0\nIndex_length: 229376\nData_free: 4194304\nAuto_increment: 451\nCreate_time: 2021-10-15 02:35:00\nUpdate_time: 2021-10-15 02:39:40\nCheck_time: NULL\nCollation: latin1_swedish_ci\nChecksum: NULL\nCreate_options:\nComment:\n<\/pre>\n<p>kine \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u30c6\u30fc\u30d6\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3001\u305d\u306e\u4e2d\u306b\u30c7\u30fc\u30bf\u304c\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>k0s\u3067\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0<\/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.100:6443\ncertificate-authority-data: LS0tLS1C(\u7701\u7565)\n<\/pre>\n<p>worker1\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\u3089worker1\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\u3067worker1\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;\nINFO[2021-10-15 02:45:21] Installing k0s service\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$ ps axf\n(\u7701\u7565)\n2634 ? Ssl 0:02 \/usr\/local\/bin\/k0s worker --kubelet-extra-args=--node\n2658 ? Sl 0:04 _ \/var\/lib\/k0s\/bin\/containerd --root=\/var\/lib\/k0s\/c\n2676 ? Sl 0:00 _ \/var\/lib\/k0s\/bin\/kubelet --container-runtime-endp\n2836 ? Sl 0:00 \/var\/lib\/k0s\/bin\/containerd-shim-runc-v2 -namespace k\n2885 ? Ss 0:00 _ \/pause\n2850 ? Sl 0:00 \/var\/lib\/k0s\/bin\/containerd-shim-runc-v2 -namespace k\n2907 ? Ss 0:00 _ \/pause\n<\/pre>\n<p>worker2\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\u306bworker2\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\nworker1 Ready 3m21s v1.22.2+k0s\nworker2 Ready 52s v1.22.2+k0s\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<\/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 -n sock-shop get pods\nNAME READY STATUS RESTARTS AGE\norders-7664c64d75-cdxp7 1\/1 Running 0 6m4s\nqueue-master-5f6d6d4796-zqm2g 1\/1 Running 0 6m3s\ncarts-db-6c6c68b747-9vmhk 1\/1 Running 0 6m5s\nshipping-7f7999ffb7-qc8mq 1\/1 Running 0 6m2s\nsession-db-7cf97f8d4f-g97pw 1\/1 Running 0 6m3s\ncarts-b4d4ffb5c-qz7rq 1\/1 Running 0 6m5s\nuser-db-6df7444fc-c4v2r 1\/1 Running 0 6m2s\ncatalogue-db-96f6f6b4c-fszzw 1\/1 Running 0 6m4s\norders-db-659949975f-kbnpn 1\/1 Running 0 6m4s\nfront-end-5c89db9f57-bk7jl 1\/1 Running 0 6m4s\nrabbitmq-5bcbb547d7-jblh6 2\/2 Running 0 6m3s\ncatalogue-759cc6b86-8grct 1\/1 Running 0 6m5s\npayment-7bcdbf45c9-5jjzh 1\/1 Running 0 6m3s\nuser-68df64db9c-dhvg7 1\/1 Running 0 6m2s\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\u308bKine\u3092\u5229\u7528\u3057\u3066\u3001\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u3068\u3057\u305fKubernetes\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30c7\u30e2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\nRancher Labs\u306b\u3088\u308b\u3068<a href=\"https:\/\/www.rancher.co.jp\/blog\/2020\/scaling-fleet-kubernetes-million-clusters\/\">\u6570\u5343\u4e07\u306eKubernetes\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306fetcd\u3067\u7ba1\u7406\u3067\u304d\u306a\u3044<\/a>\u305f\u3081\u3001\u5f93\u6765\u306eRDBMS\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306bKine\u3092\u958b\u767a\u3057\u305f\u3068\u306e\u3053\u3068\u3067\u3059\u3002Kine\u306f\u672c\u7a3f\u3067\u8a66\u3057\u305fMySQL\u4ee5\u5916\u306b <a href=\"https:\/\/www.rancher.co.jp\/blog\/2020\/scaling-fleet-kubernetes-million-clusters\/\">PostgreSQL<\/a>\u30fb<a href=\"https:\/\/dqlite.io\/\">Dqlite<\/a>\u30fb<a href=\"https:\/\/www.sqlite.org\/\">SQLite<\/a>\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059(\u672c\u7a3f\u57f7\u7b46\u6642\u70b9: <a href=\"https:\/\/github.com\/k3s-io\/kine\">https:\/\/github.com\/k3s-io\/kine<\/a>)<br \/>\nKine\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092\u30de\u30cd\u30fc\u30b8\u30c9SQL\u306b\u3059\u308b\u306a\u3069\u306e\u69cb\u6210\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002k0s\u3092\u4f7f\u3048\u3070Kine\u3082\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u306e\u3088\u3046\u306a\u69cb\u6210\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u306e\u53c2\u8003\u3068\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\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-45455","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>k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine - 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\/45455\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine - 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\/45455\" \/>\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-10-18T02:00:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T06:19:28+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=\"5\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\\\/45455#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine\",\"datePublished\":\"2021-10-18T02:00:40+00:00\",\"dateModified\":\"2023-08-29T06:19:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455\"},\"wordCount\":1071,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455#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\\\/45455\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455\",\"name\":\"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine - 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\\\/45455#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/k0s-blog-image-768x576-1.png\",\"datePublished\":\"2021-10-18T02:00:40+00:00\",\"dateModified\":\"2023-08-29T06:19:28+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\\\/45455#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/kubernetes\\\/45455#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\\\/45455#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\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine\"}]},{\"@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\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine - 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\/45455","og_locale":"ja_JP","og_type":"article","og_title":"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine - 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\/45455","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-10-18T02:00:40+00:00","article_modified_time":"2023-08-29T06:19:28+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":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine","datePublished":"2021-10-18T02:00:40+00:00","dateModified":"2023-08-29T06:19:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455"},"wordCount":1071,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455#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\/45455","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455","name":"k0s\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine - 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\/45455#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/k0s-blog-image-768x576-1.png","datePublished":"2021-10-18T02:00:40+00:00","dateModified":"2023-08-29T06:19:28+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\/45455#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/kubernetes\/45455#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\/45455#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\u3067kine\u3092\u4f7f\u3063\u3066Kubernetes\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092MySQL\u306b\u3057\u3066\u307f\u3088\u3046 #k0s #mirantis #kubernetes #k8s #kine"}]},{"@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\/45455","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=45455"}],"version-history":[{"count":5,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/45455\/revisions"}],"predecessor-version":[{"id":65835,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/45455\/revisions\/65835"}],"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=45455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=45455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=45455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}