{"id":16598,"date":"2019-06-20T12:00:14","date_gmt":"2019-06-20T03:00:14","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=16598"},"modified":"2019-10-17T11:10:04","modified_gmt":"2019-10-17T02:10:04","slug":"kubernetes%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8d%e3%83%bc%e3%83%a0%e3%81%a7%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%97%e3%81%ae%e5%85%a5%e5%8a%9b%e3%82%92%e6%a5%bd","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/kubernetes%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8d%e3%83%bc%e3%83%a0%e3%81%a7%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%97%e3%81%ae%e5%85%a5%e5%8a%9b%e3%82%92%e6%a5%bd\/","title":{"rendered":"[Kubernetes]\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u3067\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306e\u5165\u529b\u3092\u697d\u306b\u3057\u3088\u3046\uff01"},"content":{"rendered":"<p><strong>Kuberentes<\/strong>\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<strong>Pods<\/strong>\u3084<strong>Deployments<\/strong>\u306a\u3069\u304c\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3067\u3059\u3002<code>kubectl<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u306f\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001PersistentVolumeClaim\u306a\u3069\u5b57\u6570\u304c\u591a\u3044\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306e\u5165\u529b\u306b\u306f\u30b9\u30da\u30eb\u30df\u30b9\u3084\u5165\u529b\u306e\u624b\u9593\u306a\u3069\u3001\u82e6\u52b4\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u672c\u8a18\u4e8b\u3067\u306fKuerentes\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u5165\u529b\u3092\u697d\u306b\u3059\u308b\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u306e\u8abf\u3079\u65b9\u3068\u4e00\u89a7\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306e\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u3068\u306f\uff1f<\/h2>\n<p>Kuberentes\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306e\u3046\u3061\u3001\u3044\u304f\u3064\u304b\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306b\u306f\u7701\u7565\u5f62\u306e\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u5148\u307b\u3069\u4f8b\u306b\u51fa\u3057\u305f<strong>PersistentVolumeClaim<\/strong>\u306e\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u306f<strong>pvc<\/strong>\u306b\u306a\u308a\u307e\u3059\u3002\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u306f\u901a\u5e38\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u540d\u306e\u4ee3\u308f\u308a\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre># \u3069\u3061\u3089\u3082\u7d50\u679c\u306f\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\n$ kubectl get PersistentVolumeClaim\n$ kubectl get pvc\n<\/pre>\n<h2>\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u3092\u8abf\u3079\u308b\u65b9\u6cd5\u306f\uff1f<\/h2>\n<p>\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u306f\u3001<code>kubectl api-resources<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>$ kubectl api-resources\nNAME                              SHORTNAMES   APIGROUP                       NAMESPACED   KIND\nbindings                                                                      true         Binding\ncomponentstatuses                 cs                                          false        ComponentStatus\nconfigmaps                        cm                                          true         ConfigMap\nendpoints                         ep                                          true         Endpoints\n...(\u7701\u7565)...\n<\/pre>\n<p><strong>SHORTNAMES<\/strong>\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u304c\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u306b\u306a\u308a\u307e\u3059\u3002SHORTNAMES\u304c\u7a7a\u6b04\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306b\u306f\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u3068API\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e00\u89a7<\/h2>\n<p>\u4ee5\u4e0b\u306e\u8868\u306f\u8a18\u4e8b\u57f7\u7b46\u6642\u70b9\u306eGKE\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d0\u30fc\u30b8\u30e7\u30f3\u306ev1.12\u306e\u30b0\u30eb\u30fc\u30d7\u3001\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3001\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u3001API\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e00\u89a7\u3067\u3059\u3002<br \/>\nShortnames\u304c\u7a7a\u6b04\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306b\u306f\u3001\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u304c\u3042\u308a\u307e\u305b\u3093\u3002Group\u3068Version\u306f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u306eapiVersion\u3067\u6307\u5b9a\u3059\u308b\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<table style=\"font-size: 10pt\" width=\"280\">\n<tbody>\n<tr>\n<th width=\"70\">Group<\/th>\n<th width=\"70\">Kind<\/th>\n<th width=\"70\">Shortnames<\/th>\n<th width=\"70\">Version<\/th>\n<\/tr>\n<tr>\n<td width=\"70\">admissionregistration.k8s.io<\/td>\n<td>InitializerConfiguration<\/td>\n<td><\/td>\n<td>v1alpha1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">admissionregistration.k8s.io<\/td>\n<td>MutatingWebhookConfiguration<\/td>\n<td><\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">admissionregistration.k8s.io<\/td>\n<td>ValidatingWebhookConfiguration<\/td>\n<td><\/td>\n<td>v1beat1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apiextensions.k8s.io<\/td>\n<td>CustomResourceDefinition<\/td>\n<td>crd, crds<\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apiregistration.k8s.io<\/td>\n<td>APIService<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apps<\/td>\n<td>ControllerRevision<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apps<\/td>\n<td>DaemonSet<\/td>\n<td>ds<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apps<\/td>\n<td>Deployment<\/td>\n<td>deploy<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apps<\/td>\n<td>ReplicaSet<\/td>\n<td>rs<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">apps<\/td>\n<td>StatefulSet<\/td>\n<td>sts<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">authentication.k8s.io<\/td>\n<td>TokenReview<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">authorization.k8s.io<\/td>\n<td>LocalSubjectAccessReview<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">authorization.k8s.io<\/td>\n<td>SelfSubjectAccessReview<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">authorization.k8s.io<\/td>\n<td>SelfSubjectRulesReview<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">authorization.k8s.io<\/td>\n<td>SubjectAccessReview<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">autoscaling<\/td>\n<td>HorizontalPodAutoscaler<\/td>\n<td>hpa<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">batch<\/td>\n<td>CronJob<\/td>\n<td>cj<\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">batch<\/td>\n<td>Job<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">certificates.k8s.io<\/td>\n<td>CertificateSigningRequest<\/td>\n<td>csr<\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Binding<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>ComponentStatus<\/td>\n<td>cs<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>ConfigMap<\/td>\n<td>cm<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Container<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Endpoints<\/td>\n<td>ep<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Event<\/td>\n<td>ev<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>LimitRange<\/td>\n<td>limits<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Namespace<\/td>\n<td>ns<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Node<\/td>\n<td>no<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>PersistentVolume<\/td>\n<td>pv<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>PersistentVolumeClaim<\/td>\n<td>pvc<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Pod<\/td>\n<td>po<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>PodTemplate<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>ReplicationControl<\/td>\n<td>rc<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>ResourceQuota<\/td>\n<td>quota<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td>core<\/td>\n<td>Secret<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Service<\/td>\n<td>svc<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>ServiceAccount<\/td>\n<td>sa<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">core<\/td>\n<td>Volume<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">extensions<\/td>\n<td>Ingress<\/td>\n<td>ing<\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">extensions<\/td>\n<td>PodSecurityPolicy<\/td>\n<td>psp<\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">networking.k8s.io<\/td>\n<td>NetworkPolicy<\/td>\n<td>netpol<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">policy<\/td>\n<td>PodDisruptionBudget<\/td>\n<td>pdb<\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">rbac.authorization.k8s.io<\/td>\n<td width=\"70\">ClusterRole<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">rbac.authorization.k8s.io<\/td>\n<td>ClusterRoleBinding<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">rbac.authorization.k8s.io<\/td>\n<td>Role<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">rbac.authorization.k8s.io<\/td>\n<td>RoleBinding<\/td>\n<td><\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">scheduling.k8s.io<\/td>\n<td>PriorityClass<\/td>\n<td><\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">settings.k8s.io<\/td>\n<td>PodPreset<\/td>\n<td><\/td>\n<td>v1alpha1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">storage.k8s.io<\/td>\n<td>StorageClass<\/td>\n<td>sc<\/td>\n<td>v1<\/td>\n<\/tr>\n<tr>\n<td width=\"70\">storage.k8s.io<\/td>\n<td>VolumeAttachment<\/td>\n<td><\/td>\n<td>v1beta1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306fKubernetes\u306b\u304a\u3051\u308b\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306e\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u306e\u4f7f\u3044\u65b9\u3068\u8abf\u3079\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306b\u306f\u6587\u5b57\u6570\u304c\u591a\u3044\u3082\u306e\u304c\u591a\u3044\u306e\u3067\u3001\u30b7\u30e7\u30fc\u30c8\u30cd\u30fc\u30e0\u3092\u6d3b\u7528\u3057\u3066\u5feb\u9069\u306aKubernetes\u3092\u4f7f\u3063\u305f\u958b\u767a\u3068\u904b\u7528\u3092\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_17346\" style=\"width: 508px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.skyfantasylab.work\/\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-17346\" class=\"size-full wp-image-17346\" src=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512.png\" alt=\"\u30b9\u30ab\u30a4\u30a2\u30fc\u30c1 \u30d5\u30a1\u30f3\u30bf\u30b8\u30fc\u7814\u7a76\u5ba4\" width=\"498\" height=\"498\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512.png 498w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512-150x150.png 150w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2019\/09\/SFL-logo-white-512-300x300.png 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/a><p id=\"caption-attachment-17346\" class=\"wp-caption-text\">\u30b9\u30ab\u30a4\u30a2\u30fc\u30c1 \u30d5\u30a1\u30f3\u30bf\u30b8\u30fc\u7814\u7a76\u5ba4<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Kuberentes\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Pods\u3084Deployments\u306a\u3069\u304c\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3067\u3059\u3002kubectl\u30b3\u30de\u30f3\u30c9\u3067\u306f\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001PersistentVo&#8230;<\/p>\n","protected":false},"author":1,"featured_media":16382,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"16598","footnotes":""},"categories":[518,83,190],"tags":[394],"class_list":{"0":"post-16598","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ci-cd","8":"category-devops","9":"category-gcp","10":"tag-kubernetes","11":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/16598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=16598"}],"version-history":[{"count":10,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/16598\/revisions"}],"predecessor-version":[{"id":17367,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/16598\/revisions\/17367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/16382"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=16598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=16598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=16598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}