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

边栏推荐
- 13 MySQL constraint
- Using SqlCommand objects in code
- . env. XXX file, with constant, but undefined
- Write some suggestions to current and future doctoral students to sort out and share
- cookie、session、tooken
- RPA tutorial 01: Excel automation from introduction to practice
- Use the htaccess file to prohibit the script execution permission in the directory
- 北京炒股开户选择手机办理安全吗?
- Windows 7 install MySQL error: 1067
- Relevant settings of wechat applet cache expiration time (recommended)
猜你喜欢

How to solve the image pop-up problem when pycharm calls Matplotlib to draw

SQL数据分析之窗口排序函数rank、dense_rank、raw_number与lag、lead窗口偏移函数【用法整理】

Leetcode medium question sharing (5)

下载在线视频 m3u8使用教程

电商RPA机器人,助力品牌电商抢立流量高点

【QT】QtCreator卸载与安装(非正常状态)

Review data desensitization system

UDS bootloader of s32kxxx bootloader

Correlation - intra group correlation coefficient

The origin of usb-if Association and various interfaces
随机推荐
MySQL Replication中并行复制怎么实现
ERP项目施行计划的目的是什么?
4. Object mapping Mapstercover
Windows 7 install MySQL error: 1067
LDR6035智能蓝牙音响可充可放(5.9.12.15.20V)快充快放设备充电
Leetcode medium question sharing (5)
Relevant settings of wechat applet cache expiration time (recommended)
[untitled]
Is it safe to buy funds in a securities account? Where can I buy funds
Material design component - use bottomsheet to show extended content (I)
TS initial use, TS type
.env.xxx 文件,加了常量,卻undefined
安全协议重点
Download the online video m3u8 tutorial
实例讲解将Graph Explorer搬上JupyterLab
cookie、session、tooken
Door level modeling - after class exercises
2021 robocom world robot developer competition - preliminary competition of undergraduate group
求逆序数的三个方法
电商RPA机器人,助力品牌电商抢立流量高点