http://idocs.www.com:8090/display/umstorage/LCM+in+K8S?focusedCommentId=9634065#comment-9634065
如何查看日志
动态获取 lcmapi 所有 pod 的日志,不同 Pod 输出按颜色区分
| # bash -c "$(curl -fsSL https://raw.githubusercontent.com/johanhaleby/kubetail/master/kubetail)" kubetail lcmapi -n storage-system |
|---|
如何进入 tidb 数据库
| # mysql -As -P 4000 -u root --password=umstor_fancy_2019 -Dumstorlcm -h $(kubectl get svc -n storage-system | grep -w "lcm-db-tidb " | awk -F' ' '{ print $3 }') |
|---|
mysql 使用:http://www.mysqltutorial.org/basic-mysql-tutorial.aspx
如何调整 lcmapi 数量
为了方便 debug 可以把数量调整为 1
|
|---|
然后修改 replicas 值,表示有多少个 Pods,例如 1:
|
|---|
如何进入 lcmapi 容器
方便 debug
|
|---|
踩你赞了它
455

被折叠的 条评论
为什么被折叠?



