{"id":813,"date":"2020-09-27T09:41:37","date_gmt":"2020-09-27T01:41:37","guid":{"rendered":"https:\/\/www.linuxdevops.cn\/?p=813"},"modified":"2023-06-09T09:33:53","modified_gmt":"2023-06-09T01:33:53","slug":"helm-creates-kubernetes-storageclass-based-on-nfs","status":"publish","type":"post","link":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/","title":{"rendered":"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass"},"content":{"rendered":"

\u4ecb\u7ecd\uff1a<\/p>\n

\u4f7f\u7528Helm\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5c06\u81ea\u5b9a\u4e49\u5b58\u50a8\u7c7b\u5b89\u88c5\u5230Kubernetes\u96c6\u7fa4\u4e2d\u3002\u5b83\u8fd8\u5c06NFS\u5ba2\u6237\u7aef\u914d\u7f6e\u7a0b\u5e8f\u5b89\u88c5\u5230\u7fa4\u96c6\u4e2d\uff0c\u8be5\u7fa4\u96c6\u4ece\u5355\u4e2aNFS\u5171\u4eab\u52a8\u6001\u521b\u5efa\u6301\u4e45\u5377\u3002<\/p>\n

\u4e00\u3001NFS \u670d\u52a1\u5668\u7aef\u5b89\u88c5<\/p>\n

#yum \u5b89\u88c5 NFS \u5b89\u88c5\u5305\nyum install nfs-utils\n#\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\nsystemctl enable rpcbind\nsystemctl enable nfs\n#\u542f\u52a8 NFS \u670d\u52a1\nsystemctl start rpcbind\nsystemctl start nfs\n#\u5728\u670d\u52a1\u7aef\u914d\u7f6e\u4e00\u4e2a\u5171\u4eab\u76ee\u5f55\nmkdir -p \/data\/k8s-test\n#\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\uff0c\u914d\u7f6e\u76f8\u5173\u6743\u9650\nvi \/etc\/exports\n#\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e\n\/data\/k8s-test 192.168.0.1\/24(rw,sync,no_root_squash,no_all_squash)\n\n#\/opt\/data: \u5171\u4eab\u76ee\u5f55\u4f4d\u7f6e\u3002\n#192.168.0.1\/24: \u5ba2\u6237\u7aef IP \u8303\u56f4\uff0c* \u4ee3\u8868\u6240\u6709\uff0c\u5373\u6ca1\u6709\u9650\u5236\u3002\n#rw: \u6743\u9650\u8bbe\u7f6e\uff0c\u53ef\u8bfb\u53ef\u5199\u3002\n#sync: \u540c\u6b65\u5171\u4eab\u76ee\u5f55\u3002\n#no_root_squash: \u53ef\u4ee5\u4f7f\u7528 root \u6388\u6743\u3002\n#no_all_squash: \u53ef\u4ee5\u4f7f\u7528\u666e\u901a\u7528\u6237\u6388\u6743\u3002\n\n#\u4fee\u6539\u540e\u91cd\u542f\nsystemctl restart nfs\n\n#\u53ef\u4ee5\u68c0\u67e5\u4e00\u4e0b\u672c\u5730\u7684\u5171\u4eab\u76ee\u5f55\nshowmount -e localhost\n#\u8fd9\u6837\uff0c\u670d\u52a1\u7aef\u5c31\u914d\u7f6e\u597d\u4e86<\/code><\/pre>\n

\u4e8c\u3001 \u914d\u7f6enfs \u5b58\u50a8\u7c7b\u3002<\/p>\n

1\u3001\u4e0b\u8f7dhelm charts<\/p>\n

helm repo add moikot https:\/\/moikot.github.io\/helm-charts\nhelm pull moikot\/nfs-client-provisioner\n\u89e3\u538b\uff1a\ntar -zxvf nfs-client-provisioner-1.2.9.tgz<\/code><\/pre>\n

\"img\"<\/p>\n

2\u3001\u4fee\u6539values.yaml<\/p>\n

\u4fee\u6539\u4ee5\u4e0b\u90e8\u5206\u3002<\/p>\n

\"img\"<\/p>\n

\u5b89\u88c5<\/p>\n

helm install nfs-client-provisioner .<\/code><\/pre>\n

\"img\"<\/p>\n

\u68c0\u67e5
\n\"file\"<\/p>\n

\"img\"<\/p>\n

\u8be6\u60c5\u53c2\u8003: https:\/\/artifacthub.io\/packages\/helm\/moikot\/nfs-client-provisioner<\/a><\/p>\n

\n

\u955c\u50cf\u4e0b\u8f7d\u6162\u53ef\u66ff\u6362\u4e3a\u963f\u91cc\u6e90\u955c\u50cf<\/p>\n

registry.cn-hangzhou.aliyuncs.com\/wang_feng\/nfs-client-provisioner:3.1.0<\/p>\n<\/blockquote>\n

\u9519\u8bef\u5904\u7406\uff1a<\/p>\n

\u5982\u679c\u521b\u5efapvc\u65f6\u4e00\u76f4\u5904\u4e8epending\u72b6\u6001\uff0c\u67e5\u770bpvc\u62a5\u9519<\/p>\n

  Normal  ExternalProvisioning  13s (x2 over 25s)  persistentvolume-controller  waiting for a volume to be created, either by external provisioner "nfs-client" or manually created by system administrator<\/code><\/pre>\n

\u67e5\u770bkubectl logs nfs-client-provisioner-6df55f9474-fdnpc\u7684\u65e5\u5fd7\u6709\u5982\u4e0b\u4fe1\u606f\uff1a<\/p>\n

E1022 07:01:24.615869       1 controller.go:1004] provision "default\/test-claim" class "nfs-storage": unexpected error getting claim reference: selfLink was empty, can't make reference<\/code><\/pre>\n

\u53c2\u8003\u4e00\u4e0b\u6587\u7ae0\u5904\u7406\uff1ahttps:\/\/www.cnblogs.com\/xull0651\/p\/15439162.html<\/a><\/p>\n

https:\/\/github.com\/kubernetes-sigs\/nfs-subdir-external-provisioner\/issues\/25<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

\u4ecb\u7ecd\uff1a \u4f7f\u7528Helm\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5c06\u81ea\u5b9a\u4e49\u5b58\u50a8\u7c7b\u5b89\u88c5\u5230Kubernetes\u96c6\u7fa4\u4e2d\u3002\u5b83\u8fd8\u5c06NFS\u5ba2\u6237\u7aef\u914d\u7f6e\u7a0b\u5e8f\u5b89\u88c5<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,17,18],"tags":[56,116,55,57,58],"yoast_head":"\nHelm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass - Linux\u81ea\u52a8\u5316\u8fd0\u7ef4<\/title>\n<meta name=\"description\" content=\"\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u96c6\u7fa4\u4e2d\u5b89\u88c5\u548c\u914d\u7f6e\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6587\u7ae0\u4ece\u5b89\u88c5NFS\u670d\u52a1\u5668\u5f00\u59cb\uff0c\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u4e2d\u90e8\u7f72NFS\u5ba2\u6237\u7aef\uff0c\u5e76\u4e3aKubernetes\u96c6\u7fa4\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6700\u540e\uff0c\u6587\u7ae0\u8fd8\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2a\u5b58\u50a8\u7c7b\u4e3aKubernetes\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002\" \/>\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.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass - Linux\u81ea\u52a8\u5316\u8fd0\u7ef4\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u96c6\u7fa4\u4e2d\u5b89\u88c5\u548c\u914d\u7f6e\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6587\u7ae0\u4ece\u5b89\u88c5NFS\u670d\u52a1\u5668\u5f00\u59cb\uff0c\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u4e2d\u90e8\u7f72NFS\u5ba2\u6237\u7aef\uff0c\u5e76\u4e3aKubernetes\u96c6\u7fa4\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6700\u540e\uff0c\u6587\u7ae0\u8fd8\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2a\u5b58\u50a8\u7c7b\u4e3aKubernetes\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux\u81ea\u52a8\u5316\u8fd0\u7ef4\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-27T01:41:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-09T01:33:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxdevops.cn\/wp-content\/uploads\/2020\/09\/image-1-1024x65.png\" \/>\n<meta name=\"author\" content=\"\u7ba1\u7406\u5458\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\"},\"author\":{\"name\":\"\u7ba1\u7406\u5458\",\"@id\":\"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1\"},\"headline\":\"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass\",\"datePublished\":\"2020-09-27T01:41:37+00:00\",\"dateModified\":\"2023-06-09T01:33:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\"},\"wordCount\":50,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1\"},\"keywords\":[\"helm\",\"helm\u5b89\u88c5nfs\",\"kubernetes\",\"nfs\",\"storageclass\"],\"articleSection\":[\"Kubernetes\",\"Linux\",\"Linux\u670d\u52a1\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\",\"url\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\",\"name\":\"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass - Linux\u81ea\u52a8\u5316\u8fd0\u7ef4\",\"isPartOf\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/#website\"},\"datePublished\":\"2020-09-27T01:41:37+00:00\",\"dateModified\":\"2023-06-09T01:33:53+00:00\",\"description\":\"\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u96c6\u7fa4\u4e2d\u5b89\u88c5\u548c\u914d\u7f6e\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6587\u7ae0\u4ece\u5b89\u88c5NFS\u670d\u52a1\u5668\u5f00\u59cb\uff0c\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u4e2d\u90e8\u7f72NFS\u5ba2\u6237\u7aef\uff0c\u5e76\u4e3aKubernetes\u96c6\u7fa4\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6700\u540e\uff0c\u6587\u7ae0\u8fd8\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2a\u5b58\u50a8\u7c7b\u4e3aKubernetes\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.linuxdevops.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\/\/www.linuxdevops.cn\/linux\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.linuxdevops.cn\/#website\",\"url\":\"https:\/\/www.linuxdevops.cn\/\",\"name\":\"Linux\u81ea\u52a8\u5316\u8fd0\u7ef4\",\"description\":\"Linux\u81ea\u52a8\u5316\u8fd0\u7ef4\u7b14\u8bb0\",\"publisher\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1\"},\"alternateName\":\"linuxdevops\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.linuxdevops.cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1\",\"name\":\"\u7ba1\u7406\u5458\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.linuxdevops.cn\/wp-content\/uploads\/2019\/07\/cropped-index.jpg\",\"contentUrl\":\"https:\/\/www.linuxdevops.cn\/wp-content\/uploads\/2019\/07\/cropped-index.jpg\",\"width\":512,\"height\":512,\"caption\":\"\u7ba1\u7406\u5458\"},\"logo\":{\"@id\":\"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/image\/\"},\"description\":\"\u7ba1\u7406\u5458\",\"url\":\"https:\/\/www.linuxdevops.cn\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass - Linux\u81ea\u52a8\u5316\u8fd0\u7ef4","description":"\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u96c6\u7fa4\u4e2d\u5b89\u88c5\u548c\u914d\u7f6e\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6587\u7ae0\u4ece\u5b89\u88c5NFS\u670d\u52a1\u5668\u5f00\u59cb\uff0c\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u4e2d\u90e8\u7f72NFS\u5ba2\u6237\u7aef\uff0c\u5e76\u4e3aKubernetes\u96c6\u7fa4\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6700\u540e\uff0c\u6587\u7ae0\u8fd8\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2a\u5b58\u50a8\u7c7b\u4e3aKubernetes\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002","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.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/","og_locale":"zh_CN","og_type":"article","og_title":"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass - Linux\u81ea\u52a8\u5316\u8fd0\u7ef4","og_description":"\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u96c6\u7fa4\u4e2d\u5b89\u88c5\u548c\u914d\u7f6e\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6587\u7ae0\u4ece\u5b89\u88c5NFS\u670d\u52a1\u5668\u5f00\u59cb\uff0c\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u4e2d\u90e8\u7f72NFS\u5ba2\u6237\u7aef\uff0c\u5e76\u4e3aKubernetes\u96c6\u7fa4\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6700\u540e\uff0c\u6587\u7ae0\u8fd8\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2a\u5b58\u50a8\u7c7b\u4e3aKubernetes\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002","og_url":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/","og_site_name":"Linux\u81ea\u52a8\u5316\u8fd0\u7ef4","article_published_time":"2020-09-27T01:41:37+00:00","article_modified_time":"2023-06-09T01:33:53+00:00","og_image":[{"url":"https:\/\/www.linuxdevops.cn\/wp-content\/uploads\/2020\/09\/image-1-1024x65.png"}],"author":"\u7ba1\u7406\u5458","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#article","isPartOf":{"@id":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/"},"author":{"name":"\u7ba1\u7406\u5458","@id":"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1"},"headline":"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass","datePublished":"2020-09-27T01:41:37+00:00","dateModified":"2023-06-09T01:33:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/"},"wordCount":50,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1"},"keywords":["helm","helm\u5b89\u88c5nfs","kubernetes","nfs","storageclass"],"articleSection":["Kubernetes","Linux","Linux\u670d\u52a1"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/","url":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/","name":"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass - Linux\u81ea\u52a8\u5316\u8fd0\u7ef4","isPartOf":{"@id":"https:\/\/www.linuxdevops.cn\/#website"},"datePublished":"2020-09-27T01:41:37+00:00","dateModified":"2023-06-09T01:33:53+00:00","description":"\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u96c6\u7fa4\u4e2d\u5b89\u88c5\u548c\u914d\u7f6e\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6587\u7ae0\u4ece\u5b89\u88c5NFS\u670d\u52a1\u5668\u5f00\u59cb\uff0c\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Helm\u5728Kubernetes\u4e2d\u90e8\u7f72NFS\u5ba2\u6237\u7aef\uff0c\u5e76\u4e3aKubernetes\u96c6\u7fa4\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eNFS\u7684\u5b58\u50a8\u7c7b\u3002\u6700\u540e\uff0c\u6587\u7ae0\u8fd8\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2a\u5b58\u50a8\u7c7b\u4e3aKubernetes\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002","breadcrumb":{"@id":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxdevops.cn\/2020\/09\/helm-creates-kubernetes-storageclass-based-on-nfs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.linuxdevops.cn\/"},{"@type":"ListItem","position":2,"name":"Linux","item":"https:\/\/www.linuxdevops.cn\/linux\/"},{"@type":"ListItem","position":3,"name":"Helm \u521b\u5efa\u57fa\u4e8enfs \u7684kubernetes storageclass"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxdevops.cn\/#website","url":"https:\/\/www.linuxdevops.cn\/","name":"Linux\u81ea\u52a8\u5316\u8fd0\u7ef4","description":"Linux\u81ea\u52a8\u5316\u8fd0\u7ef4\u7b14\u8bb0","publisher":{"@id":"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1"},"alternateName":"linuxdevops","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxdevops.cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":["Person","Organization"],"@id":"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/3e206335d5796fdd8679e449df72a0d1","name":"\u7ba1\u7406\u5458","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/image\/","url":"https:\/\/www.linuxdevops.cn\/wp-content\/uploads\/2019\/07\/cropped-index.jpg","contentUrl":"https:\/\/www.linuxdevops.cn\/wp-content\/uploads\/2019\/07\/cropped-index.jpg","width":512,"height":512,"caption":"\u7ba1\u7406\u5458"},"logo":{"@id":"https:\/\/www.linuxdevops.cn\/#\/schema\/person\/image\/"},"description":"\u7ba1\u7406\u5458","url":"https:\/\/www.linuxdevops.cn\/author\/root\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/posts\/813"}],"collection":[{"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/comments?post=813"}],"version-history":[{"count":13,"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/posts\/813\/revisions"}],"predecessor-version":[{"id":1179,"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/posts\/813\/revisions\/1179"}],"wp:attachment":[{"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/media?parent=813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/categories?post=813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxdevops.cn\/wp-json\/wp\/v2\/tags?post=813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}