{"id":24076,"date":"2025-11-17T17:20:29","date_gmt":"2025-11-17T17:20:29","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=24076"},"modified":"2025-11-17T17:20:29","modified_gmt":"2025-11-17T17:20:29","slug":"%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8adb%e5%ae%9f%e8%b7%b5%e3%82%b7%e3%83%aa%e3%83%bc%e3%82%ba%e2%91%a2%ef%bc%9akubernetes%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/24076\/","title":{"rendered":"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab"},"content":{"rendered":"\n<\/p>\n<div id=\"\">\n<p><span style=\"font-weight: 400;\">\u524d\u56de\u306fKubernetes\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u306f\u3001\u5b9f\u969b\u306bKubernetes\u306e\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066Kubernetes\u4e0a\u3067DB\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u3092\u30cf\u30f3\u30ba\u30aa\u30f3\u5f62\u5f0f\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4ee5\u4e0b\u306e\u56f31\u306f\u3001\u4eca\u56de\u306e\u30cf\u30f3\u30ba\u30aa\u30f3\u3067\u4f5c\u6210\u3059\u308bKubernetes\u3067MySQL\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5b89\u5b9a\u3057\u3066\u52d5\u304b\u3059\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<div id=\"attachment_50260\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/e24e61aa5a924ba50c68d9de3264426c.jpg?ssl=1\"><img loading=\"lazy\" data-recalc-dims=\"1\" decoding=\"async\" aria-describedby=\"caption-attachment-50260\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/e24e61aa5a924ba50c68d9de3264426c.jpg?resize=600%2C338&amp;ssl=1\" alt=\"\" width=\"600\" height=\"338\" class=\"wp-image-50260\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/e24e61aa5a924ba50c68d9de3264426c.jpg?w=960&amp;ssl=1 960w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/e24e61aa5a924ba50c68d9de3264426c.jpg?resize=940%2C529&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50260\" class=\"wp-caption-text\">\u56f31:StatefulSet\u3067\u69cb\u6210\u3055\u308c\u305fMySQL\u30b3\u30f3\u30c6\u30ca\u306e\u6982\u5ff5\u56f3<\/p>\n<\/div>\n<h2><span id=\"qian_ti_tiao_jian\"><span style=\"font-weight: 400;\">\u524d\u63d0\u6761\u4ef6<\/span><\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">kubectl\u304c\u4f7f\u7528\u53ef\u80fd\u3067\u3042\u308b<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">minikube\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u30d0\u30fc\u30b8\u30e7\u30f3\uff1av1.36.0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u4f7f\u7528\u3059\u308bMySQL\u30b3\u30f3\u30c6\u30ca<\/span>\n<\/li>\n<\/ul>\n<h2><span id=\"shi_qian_zhun_bei\"><span style=\"font-weight: 400;\">\u4e8b\u524d\u6e96\u5099<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u306e\u30cf\u30f3\u30ba\u30aa\u30f3\u3067\u4f7f\u7528\u3059\u308bsample_mysql.yml\u3092\u4ee5\u4e0b\u306b\u8a18\u8f09\u3057\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-YAML\" data-lang=\"yaml\"><code><span style=\"font-weight: 400;\">apiVersion:<\/span> <span style=\"font-weight: 400;\">v1&#13;\nkind: Service&#13;\nmetadata:&#13;\n  name: mysql-service&#13;\n  labels:&#13;\n    app: mysql&#13;\nspec:&#13;\n  ports:&#13;\n  - port: 3306&#13;\n    name: mysql&#13;\n  clusterIP: None&#13;\n  selector:&#13;\n    app: mysql&#13;\n---&#13;\napiVersion: v1&#13;\nkind: Secret&#13;\nmetadata:&#13;\n  name: mysql-secret&#13;\ntype: Opaque&#13;\nstringData:&#13;\n  mysql-root-password: \"mysql_root_password\"&#13;\n&#13;\n---&#13;\napiVersion: apps\/v1&#13;\nkind: StatefulSet&#13;\nmetadata:&#13;\n  name: mysql-statefulset&#13;\nspec:&#13;\n  serviceName: \"mysql-service\" &#13;\n  replicas: 1 &#13;\n  selector:&#13;\n    matchLabels:&#13;\n      app: mysql&#13;\n  template:&#13;\n    metadata:&#13;\n      labels:&#13;\n        app: mysql&#13;\n    spec:&#13;\n      containers:&#13;\n      - name: mysql&#13;\n        image: mysql:8.0&#13;\n        env:&#13;\n        - name: MYSQL_ROOT_PASSWORD&#13;\n          valueFrom:&#13;\n            secretKeyRef:&#13;\n              name: mysql-secret&#13;\n              key: mysql-root-password&#13;\n        volumeMounts:&#13;\n        - name: mysql-persistent-storage&#13;\n          mountPath: \/var\/lib\/mysql&#13;\n&#13;\n    volumeClaimTemplates:&#13;\n    - metadata:&#13;\n      name: mysql-persistent-storage&#13;\n    spec:&#13;\n      accessModes: [ \"ReadWriteOnce\" ]&#13;\n      storageClassName: \"standard\"&#13;\n      resources:&#13;\n        requests:&#13;\n          storage: 1Gi<\/span><\/code><\/pre>\n<\/div>\n<h2><span id=\"zhu_yaonaparameta\"><span style=\"font-weight: 400;\">\u4e3b\u8981\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">sample_mysql.yml\u5185\u306e\u4e3b\u8981\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">kind: Service<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Kubernetes\u306b\u304a\u3044\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b5\u30fc\u30d3\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\u4eca\u56de\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u306fmysql\u3068\u3044\u3046\u30e9\u30d9\u30eb\u304c\u3064\u3044\u305fPod\u3092\u30b5\u30fc\u30d3\u30b9\u306e\u7ba1\u7406\u5bfe\u8c61\u3068\u3059\u308b\u3068\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">kind: Secret<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u306e\u6a5f\u5bc6\u60c5\u5831\u3092\u5b89\u5168\u306b\u683c\u7d0d\u3057\u3001Pod\u306b\u74b0\u5883\u5909\u6570\u3068\u3057\u3066\u6e21\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308bKubernetes\u30ea\u30bd\u30fc\u30b9\u3067\u3042\u308bSecret\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4eca\u56de\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u306fmysql\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u3092\u683c\u7d0d\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">kind: StatefulSet<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u30b9\u30c6\u30fc\u30c8\u30d5\u30eb\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30d7\u30ed\u30a4\u3068\u7ba1\u7406\u3092\u884c\u3046\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308bKubernetes\u30ea\u30bd\u30fc\u30b9\u3067\u3042\u308bStatefulSet\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002StatefulSet\u306fPod\u306b\u56fa\u6709\u306e\u8b58\u5225\u5b50\u3092\u4e0e\u3048\u305f\u308a\u3001\u5b89\u5b9a\u3057\u305f\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u4fdd\u8a3c\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u3067DB\u30b3\u30f3\u30c6\u30ca\u904b\u7528\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">volumeClaimTemplates<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Pod\u3054\u3068\u306b\u6c38\u7d9a\u30dc\u30ea\u30e5\u30fc\u30e0\u8981\u6c42\uff08PVC\uff09\u3092\u52d5\u7684\u306b\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5b9a\u7fa9\u3059\u308b\u3001StatefulSet\u306b\u7279\u6709\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u3059\u3002\u4eca\u56de\u306f\u3053\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u6c38\u7d9a\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">metadata\u306fPVC\u306e\u300c\u540d\u524d\u300d\u306a\u3069\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">\u4eca\u56de\u306f\u300ename: mysql-persistent-storage\u300f\u3067\u540d\u524d\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">spec\u3067\u306f\u4ed5\u69d8\u306e\u5b9a\u7fa9\u3092\u884c\u3044\u307e\u3059\u3002<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">accessModes: [ \u201cReadWriteOnce\u201d ]\u3067\u306f\u30a2\u30af\u30bb\u30b9\u30e2\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002ReadWriteOnce\u306f1\u3064\u306e\u30ce\u30fc\u30c9\u304b\u3089\u306e\u8aad\u307f\u66f8\u304d\u53ef\u80fd\u3068\u3044\u3046\u4ed5\u69d8\u306e\u8a2d\u5b9a\u3067\u3059\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">storageClassName: \u30b9\u30c8\u30ec\u30fc\u30b8\u30af\u30e9\u30b9\u3068\u306f\u3001Kubernetes\u3067\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u7a2e\u985e\u3084\u52d5\u4f5c\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u3059\u3002\u4eca\u56de\u306f\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30af\u30e9\u30b9\u3092standard\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">resources\u306estorage: 1Gi\u3067\u306f\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u5bb9\u91cf\u3068\u3057\u30661Gi\u3092\u8981\u6c42\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span id=\"StatefulSetwo_li_yongshiteMySQLkontenawominikube_shangnidepuroi\"><span style=\"font-weight: 400;\">StatefulSet\u3092\u5229\u7528\u3057\u3066MySQL\u30b3\u30f3\u30c6\u30ca\u3092minikube\u4e0a\u306b\u30c7\u30d7\u30ed\u30a4<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">minikube start\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001minikube\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/span><\/p>\n<div id=\"attachment_50262\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/minikube_start.png?ssl=1\"><img loading=\"lazy\" data-recalc-dims=\"1\" decoding=\"async\" aria-describedby=\"caption-attachment-50262\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/minikube_start.png?resize=600%2C207&amp;ssl=1\" alt=\"\" width=\"600\" height=\"207\" class=\"wp-image-50262\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/minikube_start.png?w=1225&amp;ssl=1 1225w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/minikube_start.png?resize=940%2C324&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50262\" class=\"wp-caption-text\">minikube\u306e\u8d77\u52d5<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">kubectl apply\u306fYAML\u3084JSON\u306a\u3069\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092Kubernetes\u30af\u30e9\u30b9\u30bf\u30fc\u306b\u9069\u7528\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u72b6\u614b\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066sample_mysql.yml\u3092Kubernetes\u30af\u30e9\u30b9\u30bf\u30fc\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">kubectl apply -f \"sample_mysql.yml\"<\/span><\/code><\/pre>\n<\/div>\n<div id=\"attachment_50263\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/apply.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50263\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/apply.png?resize=600%2C50&amp;ssl=1\" alt=\"\" width=\"600\" height=\"50\" class=\"wp-image-50263\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/apply.png?w=1301&amp;ssl=1 1301w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/apply.png?resize=940%2C78&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50263\" class=\"wp-caption-text\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u9069\u7528<\/p>\n<\/div>\n<h2><span id=\"Podto_yong_xuboryumuPVPVCno_zhuang_taiwo_que_ren\"><span style=\"font-weight: 400;\">Pod\u3068\u6c38\u7d9a\u30dc\u30ea\u30e5\u30fc\u30e0\uff08PV\/PVC\uff09\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3000<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">kubectl get\u30b3\u30de\u30f3\u30c9\u306fKubernetes\u30af\u30e9\u30b9\u30bf\u30fc\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001Pod\u3001PVC(PersistentVolumeClaim)\u3001PV(PersistentVolume\uff09\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">kubectl get pods \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001Pod\u306e\u4e00\u89a7\u3068\u305d\u308c\u305e\u308c\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002`STATUS`\u306e\u500b\u6240\u306bRunning\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308c\u3070\u6b63\u5e38\u306b\u7a3c\u50cd\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">kubectl get statefulsets\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001StatefulSet\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u7279\u306b`READY`\u306e\u5024\u304c\u671f\u5f85\u3055\u308c\u308b\u6570\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u5834\u5408\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3068\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\"><br \/><\/span><span style=\"font-weight: 400;\">kubectl get pvc\u3068kubectl get pv\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001PVC\u3068PV\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002PVC\u3068PV\u304cBound\u72b6\u614b\u3067\u3042\u308c\u3070\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u6b63\u5e38\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u307e\u305f\u3001`CLAIM`\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u306f\u5bfe\u5fdc\u3059\u308bPVC\u3084PV\u306e\u540d\u524d\u304c\u8a18\u8f09\u3055\u308c\u3066\u304a\u308a\u3001\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306bStatefulSet\u3067\u306fvolumeClaimTemplates\u306b\u3088\u3063\u3066Pod\u3054\u3068\u306b\u56fa\u6709\u306ePVC\u304c\u4f5c\u6210\u3055\u308c\u3001\u5c02\u7528\u306ePV\u30681\u5bfe1\u3067\u7d10\u3065\u304f\u3053\u3068\u306b\u3088\u308a\u5404Pod\u304c\u5c02\u7528\u306e\u6c38\u7d9a\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>kubectl get pods&#13;\nkubectl get statefulsets&#13;\nkubectl get pvc&#13;\nkubectl get pv&#13;\n<\/code><\/pre>\n<\/div>\n<div id=\"attachment_50264\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pods.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50264\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pods.png?resize=600%2C48&amp;ssl=1\" alt=\"\" width=\"600\" height=\"48\" class=\"wp-image-50264\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pods.png?w=993&amp;ssl=1 993w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pods.png?resize=940%2C76&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50264\" class=\"wp-caption-text\">Kubernetes\u30af\u30e9\u30b9\u30bf\u30fc\u5185\u306epod\u306e\u72b6\u614b\u78ba\u8a8d<\/p>\n<\/div>\n<div id=\"attachment_50265\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_statefulset.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50265\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_statefulset.png?resize=600%2C53&amp;ssl=1\" alt=\"\" width=\"600\" height=\"53\" class=\"wp-image-50265\"\/><\/a><\/p>\n<p id=\"caption-attachment-50265\" class=\"wp-caption-text\">SratefulSet\u306e\u72b6\u614b\u78ba\u8a8d<\/p>\n<\/div>\n<div id=\"attachment_50266\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pvc.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50266\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pvc.png?resize=600%2C58&amp;ssl=1\" alt=\"\" width=\"600\" height=\"58\" class=\"wp-image-50266\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pvc.png?w=1397&amp;ssl=1 1397w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pvc.png?resize=940%2C91&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50266\" class=\"wp-caption-text\">PVC\u306e\u72b6\u614b\u78ba\u8a8d<\/p>\n<\/div>\n<div id=\"attachment_50267\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pv.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50267\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pv.png?resize=600%2C57&amp;ssl=1\" alt=\"\" width=\"600\" height=\"57\" class=\"wp-image-50267\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pv.png?w=1406&amp;ssl=1 1406w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/get_pv.png?resize=940%2C90&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50267\" class=\"wp-caption-text\">PV\u306e\u72b6\u614b\u78ba\u8a8d<\/p>\n<\/div>\n<h2><span id=\"detaga_yong_xu_huasareteirukotowo_que_ren\"><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u304c\u6c38\u7d9a\u5316\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u4eca\u56de\u306fMySQL\u30b3\u30f3\u30c6\u30ca\u5185\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">kubectl exec -it \"kubectl get pods\u3067\u53d6\u5f97\u3057\u305fpod\u540d\" -- mysql -uroot -p<\/span>&#13;\n<span style=\"font-weight: 400;\">CREATE DATABASE \"\u4efb\u610f\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\";<\/span><\/code><\/pre>\n<\/div>\n<div id=\"attachment_50268\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50268\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql1.png?resize=600%2C281&amp;ssl=1\" alt=\"\" width=\"600\" height=\"281\" class=\"wp-image-50268\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql1.png?w=1360&amp;ssl=1 1360w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql1.png?resize=940%2C440&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50268\" class=\"wp-caption-text\">\u521d\u671f\u72b6\u614b\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/p>\n<\/div>\n<div id=\"attachment_50269\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50269\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql2.png?resize=600%2C290&amp;ssl=1\" alt=\"\" width=\"600\" height=\"290\" class=\"wp-image-50269\"\/><\/a><\/p>\n<p id=\"caption-attachment-50269\" class=\"wp-caption-text\">\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u6b21\u306b\u3001Pod\u3092\u524a\u9664\u3057\u3066\u518d\u4f5c\u6210\u3055\u308c\u308b\u69d8\u5b50\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u306e\u624b\u9806\u3067\u306f\u3001Pod\u304c\u524a\u9664\u3055\u308c\u3066\u3082\u30b9\u30c8\u30ec\u30fc\u30b8\u6c38\u7d9a\u5316\u306e\u4ed5\u7d44\u307f\u306b\u3088\u3063\u3066\u30c7\u30fc\u30bf\u304c\u4fdd\u6301\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002StatefulSet\u3067\u306fPod\u304c\u524a\u9664\u3055\u308c\u3066\u3082\u540c\u3058\u540d\u524d\u306ePod\u304c\u518d\u4f5c\u6210\u3055\u308c\u3001PVC\u3084PV\u3082\u305d\u306ePod\u306b\u7d10\u3065\u3044\u305f\u72b6\u614b\u3092\u7dad\u6301\u3057\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">kubectl delete pod \"pod\u540d\"<\/span>&#13;\n<\/code><\/pre>\n<\/div>\n<div id=\"attachment_50270\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/delete_pod.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50270\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/delete_pod.png?resize=600%2C71&amp;ssl=1\" alt=\"\" width=\"600\" height=\"71\" class=\"wp-image-50270\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/delete_pod.png?w=1169&amp;ssl=1 1169w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/delete_pod.png?resize=940%2C112&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50270\" class=\"wp-caption-text\">pod\u306e\u524a\u9664\u3068\u518d\u4f5c\u6210\u306e\u78ba\u8a8d<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">Pod\u306f\u524a\u9664\u3059\u308b\u3068\u81ea\u52d5\u3067\u518d\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002Pod\u306e\u518d\u4f5c\u6210\u5f8cMySQL\u30b3\u30f3\u30c6\u30ca\u5185\u306b\u5165\u308a\u3001\u4f5c\u6210\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u6b8b\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u6b8b\u3063\u3066\u3044\u305f\u3089Kubernetes\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u6c38\u7d9a\u5316\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<div id=\"attachment_50271\" style=\"width: 610px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql3.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50271\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql3.png?resize=600%2C312&amp;ssl=1\" alt=\"\" width=\"600\" height=\"312\" class=\"wp-image-50271\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql3.png?w=1285&amp;ssl=1 1285w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/11\/mysql3.png?resize=940%2C489&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-50271\" class=\"wp-caption-text\">\u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u306e\u78ba\u8a8d<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u306f\u30cf\u30f3\u30ba\u30aa\u30f3\u3092\u901a\u3057\u3066\u3001StatefulSet\u3068PV\/PVC\u306e\u5229\u7528\u306b\u3088\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3067\u5b89\u5168\u306bDB\u3092\u904b\u7528\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6b21\u56de\u306fKubernetes\u4e0a\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30f3\u30c6\u30ca\u304cDB\u30b3\u30f3\u30c6\u30ca\u306b\u63a5\u7d9a\u3059\u308b\u4ed5\u7d44\u307f\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/service\/\">https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/service\/<\/a><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/service\/#headless-services\">https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/service\/#headless-services<\/a><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/kubernetes.io\/docs\/concepts\/configuration\/secret\/\">https:\/\/kubernetes.io\/docs\/concepts\/configuration\/secret\/<\/a><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/kubernetes.io\/docs\/concepts\/workloads\/controllers\/statefulset\/\">https:\/\/kubernetes.io\/docs\/concepts\/workloads\/controllers\/statefulset\/<\/a><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/kubernetes.io\/docs\/reference\/kubectl\/generated\/kubectl_apply\/\">https:\/\/kubernetes.io\/docs\/reference\/kubectl\/generated\/kubectl_apply\/<\/a><\/p>\n<p><!-- Anyway Feedback Container \/\/--><\/p>\n<p><!-- \/\/Anyway Feedback Container --><\/div>\n\n<br \/><a href=\"https:\/\/tech-lab.sios.jp\/archives\/50259\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u524d\u56de\u306fKubernetes\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002 \u4eca\u56de\u306f\u3001\u5b9f\u969b\u306bKubernetes\u306e\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066Kubernetes\u4e0a\u3067DB\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u3092\u30cf\u30f3\u30ba\u30aa\u30f3\u5f62\u5f0f\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u4ee5\u4e0b\u306e [&hellip;]","protected":false},"author":1,"featured_media":24077,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-24076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech-lab.sios.jp\/archives\/50259\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u56de\u306fKubernetes\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002 \u4eca\u56de\u306f\u3001\u5b9f\u969b\u306bKubernetes\u306e\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066Kubernetes\u4e0a\u3067DB\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u3092\u30cf\u30f3\u30ba\u30aa\u30f3\u5f62\u5f0f\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u4ee5\u4e0b\u306e [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech-lab.sios.jp\/archives\/50259\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-17T17:20:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/182a83929d56d33d42283a52cb66cd10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/24076\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab\",\"datePublished\":\"2025-11-17T17:20:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/24076\\\/\"},\"wordCount\":184,\"image\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/182a83929d56d33d42283a52cb66cd10.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/24076\\\/\",\"url\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259\",\"name\":\"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/182a83929d56d33d42283a52cb66cd10.png\",\"datePublished\":\"2025-11-17T17:20:29+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/182a83929d56d33d42283a52cb66cd10.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/182a83929d56d33d42283a52cb66cd10.png\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/50259#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tech-lab.sios.jp\/archives\/50259","og_locale":"ja_JP","og_type":"article","og_title":"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3","og_description":"\u524d\u56de\u306fKubernetes\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002 \u4eca\u56de\u306f\u3001\u5b9f\u969b\u306bKubernetes\u306e\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066Kubernetes\u4e0a\u3067DB\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u3092\u30cf\u30f3\u30ba\u30aa\u30f3\u5f62\u5f0f\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u4ee5\u4e0b\u306e [&hellip;]","og_url":"https:\/\/tech-lab.sios.jp\/archives\/50259","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-11-17T17:20:29+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/182a83929d56d33d42283a52cb66cd10.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/24076\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab","datePublished":"2025-11-17T17:20:29+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/24076\/"},"wordCount":184,"image":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/182a83929d56d33d42283a52cb66cd10.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/24076\/","url":"https:\/\/tech-lab.sios.jp\/archives\/50259","name":"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#primaryimage"},"image":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/182a83929d56d33d42283a52cb66cd10.png","datePublished":"2025-11-17T17:20:29+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech-lab.sios.jp\/archives\/50259"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/182a83929d56d33d42283a52cb66cd10.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/182a83929d56d33d42283a52cb66cd10.png","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/tech-lab.sios.jp\/archives\/50259#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"\u30b3\u30f3\u30c6\u30caDB\u5b9f\u8df5\u30b7\u30ea\u30fc\u30ba\u2462\uff1aKubernetes\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f | SIOS Tech. Lab"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/24076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=24076"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/24076\/revisions"}],"predecessor-version":[{"id":24078,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/24076\/revisions\/24078"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/24077"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=24076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=24076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=24076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}