火山引擎 TOS
先决条件
基本设置
apiVersion: k8s-operator.alluxio.com/v1
kind: UnderFileSystem
metadata:
name: alluxio-tos
namespace: alx-ns
spec:
alluxioCluster: alluxio-cluster
path: tos://<TOS_BUCKET>/<TOS_DIRECTORY>
mountPath: /tos
mountOptions:
fs.tos.accessKeyId: <TOS_ACCESS_KEY>
fs.tos.accessKeySecret: <TOS_ACCESS_KEY_SECRET>
fs.tos.endpoint: <TOS_ENDPOINT>
fs.tos.region: <TOS_REGION>bin/alluxio mount add --path /tos/ --ufs-uri tos://<TOS_BUCKET>/<TOS_DIRECTORY> \
--option fs.tos.accessKeyId=<TOS_ACCESS_KEY> --option fs.tos.accessKeySecret=<TOS_ACCESS_KEY_SECRET> \
--option fs.tos.endpoint=<TOS_ENDPOINT> --option fs.tos.region=<TOS_REGION>高级设置
启用 HTTPS
TOS 分片上传
设置请求重试策略
高并发调优
Last updated