当前位置:网站首页>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
边栏推荐
- [fxcg] market analysis today
- After job hopping at the end of the year, I interviewed more than 30 companies in two weeks and finally landed
- Function introduction of member points mall system
- How to process the current cell with a custom formula in conditional format- How to address the current cell in conditional format custom formula?
- The latest activation free version of Omni toolbox
- FISCO bcos zero knowledge proof Fiat Shamir instance source code
- FFMpeg example
- Small program animation realizes the running lantern and animation object
- 220214c language learning diary
- Wine travel Jianghu War: Ctrip is strong, meituan is strong, and Tiktok is fighting
猜你喜欢

540. Single element in ordered array

How to retrieve the password for opening word files

一名外包仔的2022年中总结

Web - Information Collection

Why should programmers learn microservice architecture if they want to enter a large factory?

Two drawing interfaces - 1 Matlab style interface

解决bp中文乱码
![[Thesis Writing] how to write the overall design of JSP tourism network](/img/02/841e8870c2ef871c182b9bb8252a83.jpg)
[Thesis Writing] how to write the overall design of JSP tourism network

2022 chemical automation control instrument examination summary and chemical automation control instrument certificate examination

What are the Bluetooth headsets with good sound quality in 2022? Inventory of four high-quality Bluetooth headsets
随机推荐
Two points -leetcode-540 A single element in an ordered array
x Problem B
Priv-app permission异常
The programmer went to bed at 12 o'clock in the middle of the night, and the leader angrily scolded: go to bed so early, you are very good at keeping fit
Asp access teaching management system design finished product
跨境电商多商户系统怎么选
Human resource management system based on JSP
解决bp中文乱码
[no title] 2022 chlorination process examination content and free chlorination process examination questions
Two drawing interfaces - 1 Matlab style interface
[set theory] ordered pair (ordered pair | ordered triple | ordered n ancestor)
GFS distributed file system (it's nice to meet it alone)
[nlp] - brief introduction to the latest work of spark neural network
[set theory] binary relationship (binary relationship notation | binary relationship from a to B | number of binary relationships | example of binary relationship)
2022 a special equipment related management (elevator) analysis and a special equipment related management (elevator) simulation test
Some information about the developer environment in Chengdu
Redis persistence principle
redis 持久化原理
Kingbasees plug-in KDB of Jincang database_ date_ function
使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭