当前位置:网站首页>heketi 记录
heketi 记录
2022-07-02 00:06:00 【胖胖胖胖胖虎】
Heketi
配置环境变量
export HEKETI_CLI_SERVER=http://`kubectl get svc | grep heketi | awk 'NR==1{print $3}'`:8080
Heketi 常用命令
1、拓展卷
https://blog.csdn.net/qn0007/article/details/107695720#comments_21054980
heketi-cli volume expand --volume=6e1551730d3d6798fd8d6013d7a0b705 --expand-size=12
2、拓扑信息
heketi-cli topology info --user admin --secret 'My Secret' --server http://10.1.232.197:8080
3、node device volume
heketi-cli node list --user admin --secret 'My Secret' --server http://10.1.232.197:8080
---
heketi-cli device info --user admin --secret 'My Secret' --server http://10.1.232.197:8080
---
heketi-cli volume list --user admin --secret 'My Secret' --server http://10.1.232.197:8080
4、添加新卷
heketi-cli device add --node 45592633b57aecb15fe93bbd3f910e64 --name /dev/sdc --user admin --secret 'My Secret' --server http://10.1.232.197:8080
Heketi-UI
https://github.com/orachide/heketi-ui
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: heketi-ui
labels:
app: heketi-ui
spec:
replicas: 1
selector:
matchLabels:
app: heketi-ui
serviceName: heketi-ui-service
template:
metadata:
labels:
app: heketi-ui
spec:
containers:
- name: heketi-ui
image: docker-registry-node:5000/heketi-ui:latest
imagePullPolicy: IfNotPresent
env:
- name: HEKETI_SERVER_URL
value: 'http://10.1.232.197:8080'
- name: HEKETI_SERVER_USER
valueFrom:
secretKeyRef:
name: heketi-admin-secret
key: HEKETI_SERVER_USER
- name: HEKETI_SERVER_SECRET
valueFrom:
secretKeyRef:
name: heketi-admin-secret
key: HEKETI_SERVER_SECRET
- name: "TZ"
value: "Asia/Shanghai"

边栏推荐
- Selectively inhibiting learning bias for active sampling
- TS initial use, TS type
- 在代码中使用SqlCommand对象
- [es practice] safe operation mode on ES
- Is it safe for qiniu college to open an account? How to open an account?
- const // It is a const object... class nullptr_ t
- PyCharm调用matplotlib绘图时图像弹出问题怎么解决
- Record the accidental success and failure of uploading large files
- MySQL: the difference between insert ignore, insert and replace
- [QT] solve the problem that QT MSVC 2017 cannot compile
猜你喜欢

4. Object mapping Mapstercover

使用uni-simple-router,动态传参 TypeError: Cannot convert undefined or null to object

Selectively inhibiting learning bias for active sampling

SQL Server 安装指南

Chapter 6 data flow modeling

Leetcode medium question sharing (5)

比较通俗易懂的PID理解

2021 robocom world robot developer competition - preliminary competition of higher vocational group

Using uni simple router, dynamically pass parameters typeerror: cannot convert undefined or null to object
![[embedded system course design] a single key controls the LED light](/img/c9/076618208bbab0b95faa5a7e644a07.png)
[embedded system course design] a single key controls the LED light
随机推荐
记录一下大文件上传偶然成功偶然失败问题
一个实习生的CnosDB之旅
Correlation - intra group correlation coefficient
SQL Server 安裝指南
Kubernetes resource object introduction and common commands (III)
Overview of edge calculation
正则表达式收集
const // It is a const object...class nullptr_t
实例讲解将Graph Explorer搬上JupyterLab
Digital transformation has a long way to go, so how to take the key first step
Huawei HMS core joins hands with hypergraph to inject new momentum into 3D GIS
PWN attack and defense world cgpwn2
Timer和ScheduledThreadPoolExecutor的区别
比较通俗易懂的PID理解
Difficult to get up syndrome (bit by bit greed)
LDR6035智能蓝牙音响可充可放(5.9.12.15.20V)快充快放设备充电
Jielizhi, production line assembly link [chapter]
Openwrt enable kV roaming
RPA教程01:EXCEL自动化从入门到实操
Leetcode medium question sharing (5)