当前位置:网站首页>Mount NFS in kubesphere
Mount NFS in kubesphere
2022-07-03 04:30:00 【Heyue Keyan】
kubesphere mount nfs
Configure the client machine , Make the client machine support nfs
yum install -y nfs-utils rpcbind
establish nfs Mounted configuration file
vim /opt/kubesphere/nfs-client.yaml
nfs:
server: "192.168.0.2" # This is the server IP address. Replace it with your own.
path: "/mnt/demo" # Replace the exported directory with your own.
storageClass:
defaultClass: false
Add the following content to the cluster configuration file
vim /opt/kubesphere/sample.yaml
Catch up append
addons:
- name: nfs-client
namespace: kube-system
sources:
chart:
name: nfs-client-provisioner
repo: https://charts.kubesphere.io/main
valuesFile: /home/ubuntu/nfs-client.yaml # Use the path of your own NFS-client configuration file.
install nfs volume
./kk create cluster -f sample.yaml
Check the log
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
verification
Use the following command to find the corresponding nfs Of pod In operation
kubectl get sc
see pod state
kubectl get pod -n kube-system
边栏推荐
- [pat (basic level) practice] - [simple simulation] 1063 calculate the spectral radius
- 2022 Shandong Province safety officer C certificate examination content and Shandong Province safety officer C certificate examination questions and analysis
- [Chongqing Guangdong education] reference materials for design and a better life of Zhongyuan Institute of science and technology
- 2022-02-13 (347. Top k high frequency elements)
- vulnhub HA: Natraj
- Know that Chuangyu cloud monitoring - scanv Max update: Ecology OA unauthorized server request forgery and other two vulnerabilities can be detected
- PostgreSQL database high availability Patroni source code learning - etcd class
- [dynamic programming] subsequence problem
- MongoDB 慢查询语句优化分析策略
- Daily question - ugly number
猜你喜欢

一名外包仔的2022年中总结

GFS distributed file system (it's nice to meet it alone)

使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭

2022 Shandong Province safety officer C certificate examination content and Shandong Province safety officer C certificate examination questions and analysis

Five elements of user experience

540. Single element in ordered array

Redis persistence principle

FISCO bcos zero knowledge proof Fiat Shamir instance source code

使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错

Some information about the developer environment in Chengdu
随机推荐
Php+mysql registration landing page development complete code
[NLP]—sparse neural network最新工作简述
金仓数据库KingbaseES 插件kdb_date_function
[software testing-6] & Test Management
因子选股-打分模型
[set theory] set concept and relationship (true subset | empty set | complete set | power set | number of set elements | power set steps)
Five elements of user experience
GFS分布式文件系统(光是遇见已经很美好了)
使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错
2022 electrician (Advanced) examination papers and electrician (Advanced) examination skills
使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver
Some information about the developer environment in Chengdu
[set theory] binary relationship (definition field | value field | inverse operation | inverse synthesis operation | restriction | image | single root | single value | nature of synthesis operation)
How to use kotlin to improve productivity: kotlin tips
Why should programmers learn microservice architecture if they want to enter a large factory?
Integration of Android high-frequency interview questions (including reference answers)
Matplotlib -- save graph
SSM based campus part-time platform for College Students
Know that Chuangyu cloud monitoring - scanv Max update: Ecology OA unauthorized server request forgery and other two vulnerabilities can be detected
[Chongqing Guangdong education] reference materials for design and a better life of Zhongyuan Institute of science and technology