SFS Turbo关于K8s CSI插件的使用指导
中文使用说明
Kubernetes CSI提供商:sfs-turbo.csi.huaweicloud.cn
SFS Turbo(Scalable File Service Turbo)为弹性云服务器(ECS、BMS等计算)提供完全托管的可共享文件存储在华为云上。
SFS Turbo兼容网络文件系统协议,可扩展到PB,具有高性能,并无缝处理数据密集型和带宽密集型应用程序。
此存储库包含用于Kubernetes的外部sfsturbo调配程序。
如何在Kubernetes开始
配置
默认配置文件路径:
/etc/sfs-turbo/cloud-config
如果要更改配置文件路径,请修改文件
vi ./deploy/csi-sfs-turbo-controller.yaml
并用你指定的配置文件替换csi-sfs-turbo-controller.yaml
文件中78行的/etc/sfs-turbo/cloud-config
。
配置文件格式:
/etc/sfs-turbo/cloud-config
[Global]
auth-url=https://iam.{region}.myhuaweicloud.com/v3
project-id=xxx
access-key=xxx
secret-key=xxx
region=xxx
availability-zone=xxx
[Vpc]
#The VPC where your cluster resides
id=xxx
subnet-id=xxx
security-group-id=xxx
[Ext]
share-proto=STANDARD or PERFORMANCE
配置项说明:
请登录华为云帐户,在右上角选择我的凭据-> API凭据获取。
tenant-id -> Project ID
access-key -> ak
secret-key -> sk
region -> region name
availability-zone -> az
type -> Select STANDARD or PERFORMANCE
部署
执行如下命令
kubectl create -f ./deploy/
使用
执行如下命令
kubectl create -f ./example/
此时,一个样例已经启动了。
文中提到的文件详情见附件。
Github链接
SFS Turbo CSI Driver:
https://github.com/huaweicloud/huaweicloud-csi-driver/blob/master/docs/sfsturbo/sfsturbo.md
English Readme
sfs-turbo.csi.huaweicloud.cn
Scalable File Service (EFS) provides completely hosted sharable file storage for Elastic Cloud Servers (ECSs)
on huawei clouds.
Compatible with the Network File System protocol, EFS is expandable to petabytes, features high performance,
and seamlessly handles data-intensive and bandwidth-intensive applications.
This repository houses external sfsturbo provisioner for Kubernetes.
Getting Started on Kubernetes
Config
Default configuration file path:
/etc/sfs-turbo/cloud-config
If you want to change the configuration file path
vi ./deploy/csi-sfs-turbo-controller.yaml
and replace /etc/sfs-turbo/cloud-config
with your Cloud Config file in the line 78 of csi-sfs-turbo-controller.yaml.
configuration file format:
/etc/sfs-turbo/cloud-config
[Global]
auth-url=https://iam.{region}.myhuaweicloud.com/v3
project-id=xxx
access-key=xxx
secret-key=xxx
region=xxx
availability-zone=xxx
[Vpc]
#The VPC where your cluster resides
id=xxx
subnet-id=xxx
security-group-id=xxx
[Ext]
share-proto=STANDARD or PERFORMANCE
Description of configuration items:
To obtain the information, log in to your HUAWEI CLOUD account and choose My Credential -> API Credentials in the upper right corner.
tenant-id -> Project ID
access-key -> ak
secret-key -> sk
region -> region name
availability-zone -> az
type -> Select STANDARD or PERFORMANCE
Deploy
kubectl create -f ./deploy/
Usage
kubectl create -f ./example/
Github link:
https://github.com/huaweicloud/huaweicloud-csi-driver/blob/master/docs/sfsturbo/sfsturbo.md
注:账号转移原因,需要转移原账号帖子,原帖子地址:
https://bbs.huaweicloud.cn/forum/thread-177217-1-1.html
- 点赞
- 收藏
- 关注作者
评论(0)