执行KUBECONFIG=~/.kube/config:./other.config kubectl config view --flatten >~/.kube/new_config && cp ~/.kube/new_config ~/.kube/config
在环境变量KUBECONFIG
中,多个文件使用:
分隔
执行KUBECONFIG=~/.kube/config:./other.config kubectl config view --flatten >~/.kube/new_config && cp ~/.kube/new_config ~/.kube/config
在环境变量KUBECONFIG
中,多个文件使用:
分隔