当前位置:网站首页>Heketi record
Heketi record
2022-07-02 00:10:00 【Pangpang Pang Hu】
Heketi
Configure environment variables
export HEKETI_CLI_SERVER=http://`kubectl get svc | grep heketi | awk 'NR==1{print $3}'`:8080
Heketi Common commands
1、 Expansion volume
https://blog.csdn.net/qn0007/article/details/107695720#comments_21054980
heketi-cli volume expand --volume=6e1551730d3d6798fd8d6013d7a0b705 --expand-size=12
2、 Topology information
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、 Add new volume
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"
边栏推荐
猜你喜欢
mysql之B tree 以及 B+tree
Use pair to do unordered_ Key value of map
Dongge cashes in and the boss retires?
Asp .NetCore 微信订阅号自动回复之文本篇
毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?
多表操作-一对一,一对多与多对多
RPA教程01:EXCEL自动化从入门到实操
Ldr6035 smart Bluetooth audio can continuously charge and discharge mobile devices
leetcode96不同的二叉搜索樹
Deep learning | three concepts: epoch, batch, iteration
随机推荐
Review data desensitization system
Guide d'installation du serveur SQL
USB-IF协会与各种接口的由来
PyTorch学习记录
实例讲解将Graph Explorer搬上JupyterLab
Chapter 6 data flow modeling
Download the online video m3u8 tutorial
下载在线视频 m3u8使用教程
如何提升数据质量
Key points and difficulties of the course "information content security" at Harbin Institute of Technology
多表操作-一对一,一对多与多对多
Shell process control
Data analysis methodology and previous experience summary [notes dry goods]
MySQL Replication中并行复制怎么实现
回顾数据脱敏系统
leetcode96不同的二叉搜索树
[embedded system course design] a single key controls the LED light
cookie、session、tooken
【QT】對於Qt MSVC 2017無法編譯的問題解决
ADO. Net SqlDataAdapter object