当前位置:网站首页>TKE跨云联网挂载CFS
TKE跨云联网挂载CFS
2022-07-17 19:04:00 【陈敬伟】
目前TKE使用PVC和PV创建CFS,只能选择当前VPC下的CFS实例。有时用户有诉求,想挂载其他VPC下的CFS实例可以参考如下:
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-ccn
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 10Gi
csi:
driver: com.tencent.cloud.csi.cfs
volumeAttributes:
host: 10.2.2.66
path: /
volumeHandle: cfs-pv2
persistentVolumeReclaimPolicy: Retain
volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-operationdata
namespace: default
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 10Gi
storageClassName: ""
volumeMode: Filesystem
volumeName: pv-operationdata[[email protected] /data]# kubectl exec -it nginx-d98d55878-445cv bash
[email protected]:/# df -h
Filesystem Size Used Avail Use% Mounted on
overlay 50G 7.8G 39G 17% /
tmpfs 64M 0 64M 0% /dev
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
10.2.2.66:/ 10G 32M 10G 1% /mnt
/dev/vda1 50G 9.6G 38G 21% /etc/hosts
/dev/vdb 50G 7.8G 39G 17% /etc/hostname
shm 64M 0 64M 0% /dev/shm
tmpfs 3.9G 12K 3.9G 1% /run/secrets/kubernetes.io/serviceaccount
tmpfs 3.9G 0 3.9G 0% /proc/acpi
tmpfs 3.9G 0 3.9G 0% /proc/scsi
tmpfs 3.9G 0 3.9G 0% /sys/firmware
[email protected]:/# cd /mnt/
[email protected]:/mnt# ls
123 aa bb data etc vshm4707边栏推荐
- Onvif protocol related: 3.1.3 get screenshot URL in digest mode
- 【7.12】Codeforces Round #806 (Div. 4)
- 【码蹄集新手村 600 题】科学计数法的实现方式,输出指数形式
- "Technology podcast month" day 10: meta podcast: talk about Podcasting
- 【码蹄集新手村 600 题】运算符 / 在不同的运算顺序中的类型转换
- Onvif protocol related: 4.1.4 WS username token method to obtain the stream address
- [record of question brushing] 13 Roman numeral to integer
- 基于MOS管的防反接电路设计仿真
- How to earn money in low-level cities
- 基于PMOS的过压保护(OVP)电路仿真
猜你喜欢

【考研词汇训练营】Day 5 —— alarmist,cooperate,point,benefit,industrial,revolution,mechanize
![[code hoof set novice village 600 question] calculate the number of digits of an integer](/img/4b/4c2b6889decd30bb2e0f3b28dee0cf.png)
[code hoof set novice village 600 question] calculate the number of digits of an integer

Google Earth engine - 1992 present mixed coordinate ocean model, water temperature and salinity (global ocean data set HYCOM)

【Acwing】第60场周赛 题解

Principle of voice communication network

onvif协议相关:4.1.3 WS-Username token方式获取截图url

健康防猝指南3:健康保健

Onvif protocol related: 2.1.1 get token in none mode

ONVIF Protocol Related: 4.1.3 WS - username token Method get capture d'écran URL

【码蹄集新手村 600 题】float 与 double 的格式说明符
随机推荐
[JS reverse crawler] - Youdao translation JS reverse practice
【动态规划】—— 最长上升子序列模型
Android开发大厂面试,做好这3个准备,规划好自己
[code hoof set novice village question 600] formatted input and output, using 0 to replace the completed space
「津津乐道播客」#392 原汤话原食:仲夏夜,马砂、肉串儿、趿拉板儿
onvif协议相关:2.1.2 none方式获取截图url
About XML file (VII) - XML DTD
忘掉Postman,Apifox更好用
STL string find substring
asterisk:No compatible codecs, not accepting this offer!
【7.12】Codeforces Round #806 (Div. 4)
卤味店,如何在低线城市挣钱
[learn FPGA programming from scratch -53]: high level chapter - FPGA development based on IP core - principle and configuration of PLL PLL IP core (Xilinx)
onvif协议相关:3.1.4 Digest方式获取流地址
[code hoof set novice village question 600] format specifier of float and double
语音通信网络的原理
STL string输出与修改
【码蹄集新手村 600 题】运算符 / 在不同的运算顺序中的类型转换
How to upgrade Flink job gracefully?
大家好,问一下数据库没开始binlog如何实时同步么,有没有好的方案