当前位置:网站首页>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
边栏推荐
- How do you use lodash linking function- How do you chain functions using lodash?
- Two points -leetcode-540 A single element in an ordered array
- RSRS index timing and large and small disc rotation
- 重绘和回流
- Classes in TS
- FFMpeg example
- Kingbasees plug-in KDB of Jincang database_ database_ link
- Kingbasees plug-in KDB of Jincang database_ date_ function
- Matplotlib -- save graph
- Auman Galaxy new year of the tiger appreciation meeting was held in Beijing - won the double certification of "intelligent safety" and "efficient performance" of China Automotive Research Institute
猜你喜欢

A outsourcing boy's mid-2022 summary
![[nlp] - brief introduction to the latest work of spark neural network](/img/65/35ae0137f4030bdb2b0ab9acd85e16.png)
[nlp] - brief introduction to the latest work of spark neural network

JS realizes lazy loading of pictures

使用BENCHMARKSQL工具对KingbaseES执行测试时报错funcs sh file not found

Competitive product analysis and writing

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

Web - Information Collection

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

Redis persistence principle

Introduction of pointer variables in function parameters
随机推荐
2022 t elevator repair simulation examination question bank and t elevator repair simulation examination question bank
Some information about the developer environment in Chengdu
一名外包仔的2022年中总结
[fxcg] market analysis today
2022 a special equipment related management (elevator) analysis and a special equipment related management (elevator) simulation test
[Thesis Writing] how to write the overall design of JSP tourism network
[set theory] Cartesian product (concept of Cartesian product | examples of Cartesian product | properties of Cartesian product | non commutativity | non associativity | distribution law | ordered pair
Introduction of pointer variables in function parameters
Solve BP Chinese garbled code
商城系统搭建完成后需要设置哪些功能
2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination
[文献阅读] Sparsity in Deep Learning: Pruning and growth for efficient inference and training in NN
智能合约安全审计公司选型分析和审计报告资源下载---国内篇
Fcpx template: sweet memory electronic photo album photo display animation beautiful memory
Two drawing interfaces - 1 Matlab style interface
2022 registration examination for safety production management personnel of hazardous chemical production units and examination skills for safety production management personnel of hazardous chemical
Kingbasees plug-in KDB of Jincang database_ date_ function
Xrandr modify resolution and refresh rate
[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN
Kingbasees plug-in KDB of Jincang database_ exists_ expand