You need to enable JavaScript to run this app.
Volcengine Kubernetes Engine

Volcengine Kubernetes Engine

Copy page
Download PDF
Storage
Container storage
Copy page
Download PDF
Container storage
This topic describes considerations, configuration recommendations, and best practices for using container storage resources in VKE, including PersistentVolume (PV), PersistentVolumeClaim (PVC), and StorageClass (SC).​
Permission details for mounting TOS PVs​
Mounting TOS PVs in Linux requires root access by default. To allow users with other permissions than root permissions to modify TOS PV configuration, you can add the additional_args field in the static TOS PVs, as in the additional_args: "-o allow_other" example. The following code provides a complete example of a PV configuration:​
​
apiVersion: v1​
kind: PersistentVolume​
metadata:​
name: pv-tos​
spec:​
accessModes:​
- ReadWriteMany​
capacity:​
storage: 1Gi​
csi:​
driver: tos.csi.volcengine.com​
volumeHandle: pv-tos​
volumeAttributes:​
# Replaced by the url of your region.​
url: "http://tos-s3-cn-beijing.volces.com"​
# Replaced by the bucket name you want to use.​
bucket: "csi-test"​
# Replaced by the subPath in bucket you want to use.​
path: /test​
# You can specify any other options used by the s3fs command in here.​
additional_args: "-o allow_other"​
nodePublishSecretRef:​
# Replaced by the name and namespace of your secret.​
name: tos-secret​
namespace: kube-system​
​
​
Last updated: 2026.07.23 11:53:57