调研kubernetes的过程中碰到个问题,如下图所示:
kubectl create ingress demo-localhost --class=nginx --rule=demo.localdev.me/*=demo:80
zsh: no matches found: --rule=demo.localdev.me/*=demo:80
编辑.zshrc
文件
vim ~/.zshrc
在.zshrc
末尾加上setopt no_nomatch
if [ -f ~/.bash_profile ]; then
source ~/.bash_profile
fi
setopt no_nomatch
使.zshrc
文件生效
source ~/.zshrc