提交 76c354ed 编写于 作者: RunAtWorld's avatar RunAtWorld

klog

上级 61821108
......@@ -33,6 +33,17 @@ kinto(){
}
klog(){
if [ -n "$1" ] ; then
keyword=$1
else
echo 'please input keyword'
return 0
fi
getpod_by_keyword pod_by_word ${keyword}
kubectl logs ${pod_by_word}
}
klogf(){
if [ -n "$1" ] ; then
keyword=$1
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册