当前位置:网站首页>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
边栏推荐
- [free completion] development of course guidance platform (source code +lunwen)
- Fcpx template: sweet memory electronic photo album photo display animation beautiful memory
- 跨境电商多商户系统怎么选
- [set theory] inclusion exclusion principle (including examples of exclusion principle)
- Matplotlib -- save graph
- 智能合约安全审计公司选型分析和审计报告资源下载---国内篇
- Kubernetes source code analysis (I)
- 2022-02-13 (347. Top k high frequency elements)
- Square root of X
- Web - Information Collection
猜你喜欢

2022 P cylinder filling test content and P cylinder filling simulation test questions

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

Youdao cloud notes

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

FISCO bcos zero knowledge proof Fiat Shamir instance source code

4 years of experience to interview test development, 10 minutes to end, ask too

Five elements of user experience

Employee attendance management system based on SSM

Use the benchmarksql tool to perform a data prompt on kingbases. The jdbc driver cannot be found

Some information about the developer environment in Chengdu
随机推荐
Use the benchmarksql tool to perform a data prompt on kingbases. The jdbc driver cannot be found
How to use kotlin to improve productivity: kotlin tips
Ffmpeg mix
xrandr修改分辨率與刷新率
2022 P cylinder filling test content and P cylinder filling simulation test questions
Bugku CTF daily question baby_ flag. txt
[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN
Priv-app permission异常
I've been in software testing for 8 years and worked as a test leader for 3 years. I can also be a programmer if I'm not a professional
2022 a special equipment related management (elevator) analysis and a special equipment related management (elevator) simulation test
4 years of experience to interview test development, 10 minutes to end, ask too
AWS VPC
JS realizes the animation effect of text and pictures in the visual area
PostgreSQL database high availability Patroni source code learning - etcd class
Feature_selection
AWS VPC
Basic use of continuous integration server Jenkins
Preliminary cognition of C language pointer
2022 chemical automation control instrument examination summary and chemical automation control instrument certificate examination
Xrandr modifier la résolution et le taux de rafraîchissement