当前位置:网站首页>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"

边栏推荐
- Concurrentskiplistmap -- principle of table skipping
- const // It is a const object... class nullptr_ t
- 2021 robocom world robot developer competition - semi finals of higher vocational group
- 【模板】自适应辛普森积分
- 使用 pair 做 unordered_map 的键值
- Resumption of attack and defense drill
- Jielizhi Bluetooth headset quality control and production skills [chapter]
- Correlation - intra group correlation coefficient
- Deep learning | three concepts: epoch, batch, iteration
- 电商RPA机器人,助力品牌电商抢立流量高点
猜你喜欢

leetcode96不同的二叉搜索樹

PWN attack and defense world cgpwn2

Why does blocprovider feel similar to provider?

E-commerce RPA robot helps brand e-commerce to achieve high traffic

Correlation - intra group correlation coefficient

实例讲解将Graph Explorer搬上JupyterLab

安全协议重点

Relatively easy to understand PID understanding

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

S32Kxxx bootloader之UDS bootloader
随机推荐
PWN attack and defense world cgpwn2
[QT] QT cannot find a solution to the compiler using msvc2017
实例讲解将Graph Explorer搬上JupyterLab
Asp . Text of automatic reply to NETCORE wechat subscription number
Halcon knowledge: an attempt of 3D reconstruction
牛客-练习赛101-推理小丑
Review data desensitization system
华为HMS Core携手超图为三维GIS注入新动能
Multi table operation - one to one, one to many and many to many
下载在线视频 m3u8使用教程
Windows 7 安装MYSQL 错误:1067
MySQL: the difference between insert ignore, insert and replace
SQL数据分析之子查询的综合用法和案例题【耐心整理】
ERP项目施行计划的目的是什么?
Windows installation WSL (II)
在长城证券上买基金安全吗?
Shell custom function
正则表达式收集
多表操作-一对一,一对多与多对多
vue 强制清理浏览器缓存