13

K8S离线部署笔记-12-NFS动态存储

 2 years ago
source link: https://blog.bluexiii.com/202009/K8S%E7%A6%BB%E7%BA%BF%E9%83%A8%E7%BD%B2%E7%AC%94%E8%AE%B0-12-NFS%E5%8A%A8%E6%80%81%E5%AD%98%E5%82%A8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

K8S离线部署笔记-12-NFS动态存储

Posted on

2020-09-29 Edited on 2021-01-05

# 联网环境
docker pull quay.io/external_storage/nfs-client-provisioner:latest
docker save -o nfs-client-provisioner.tar quay.io/external_storage/nfs-client-provisioner

# 离线环境
docker load -i nfs-client-provisioner.tar
docker tag quay.io/external_storage/nfs-client-provisioner registry.yourcompany.com:5000/external_storage/nfs-client-provisioner
docker push registry.yourcompany.com:5000/external_storage/nfs-client-provisioner
# 配置文件详见FTP目录
kubectl create namespace nfs-client
kubectl apply -f rbac.yaml
kubectl apply -f class.yaml
kubectl apply -f deployment.yaml

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK