kubernetes 常见问题整理 https://www.cnblogs.com/qingfeng2010/p/10642408.html 使用kubectl 命令报错 报错: [root@k8s-master ~]# kubectl get pod The connection to the server localhost:8080 was refused - did you specify the right host or port? 原因: 由于使用kubeadm安装的k8s ,所以…
在学习git的过程中,遇到如下问题,特整理如下: 1 error:src refspec master does not match any 问题产生 a git服务器使用如下命令新建一个项目 $ cd /opt/git $ mkdir project.git $ cd project.git $ git --bare init b 客户端clone代码并提交 $ cd myproject $ git init $ git add . $ git commit -m 'initial commi…