摘要: 两步: 1、qulin@k8snode03:~$ tzselect 2、qulin@k8snode03:~$ sudo rm -f /etc/localtime 3、qulin@k8snode03:~$ sudo ln -s /usr/share/zoneinfo/Asia/Shanghai /et 阅读全文
posted @ 2020-03-10 10:55 蟒城贝勒爷 阅读(166) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubunt 阅读全文
posted @ 2020-02-12 22:07 蟒城贝勒爷 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 设置credential kubectl config set-credentials shiyanlou-admin --token eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia 阅读全文
posted @ 2019-12-05 17:26 蟒城贝勒爷 阅读(560) 评论(0) 推荐(0) 编辑
摘要: vscode、golang直接到官司网下载 打开vscode后安装golang的插件,变更配置 "files.autoSave": "afterDelay", "go.useLanguageServer": true, "go.goroot": "/usr/local/go", "go.gopath 阅读全文
posted @ 2019-11-15 14:28 蟒城贝勒爷 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 用k8s官方的说法,如果是学习k8s那么就使用minikube就好了,我的机器如果真起一套5节点的kubeadm集群那是吃不消滴,还是minikube吧 下载安装仅需要一步 curl -Lo minikube http://kubernetes.oss-cn-hangzhou.aliyuncs.co 阅读全文
posted @ 2019-11-05 13:51 蟒城贝勒爷 阅读(990) 评论(0) 推荐(0) 编辑
摘要: 大爱的镜像站无法使用了,咋整?国内源呐~~~~,比如 下拉镜像:quay.io/coreos/flannel:v0.10.0-s390x如果拉取较慢,可以改为:quay-mirror.qiniu.com/coreos/flannel:v0.10.0-s390x 下拉镜像:gcr.io/google_ 阅读全文
posted @ 2019-10-09 17:27 蟒城贝勒爷 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: 解决这个问题我先是升级了官方的im-config套件,升级后发现并没有什么用,然后使用以下方式,做个记录 命令行操作 # 删除搜狗的残留文件 cd ~/.config rm -rf SogouPY.users rm -rf SogouPY rm -rf sogou-qimpanel # 卸载 fci 阅读全文
posted @ 2019-10-04 09:38 蟒城贝勒爷 阅读(1762) 评论(0) 推荐(0) 编辑
摘要: 1、 可以先设置个代理: 1、1 set GO111MODULE=on 1、2 set goproxy=https://goproxy.io2、 添加Golang的插件工作目录:%GOPATH/src/golang.org/x/3、 切换至%GOPATH/src/golang.org/x/后使用gi 阅读全文
posted @ 2019-09-19 16:05 蟒城贝勒爷 阅读(1605) 评论(0) 推荐(1) 编辑
摘要: 想在公司的新项目上使用k8s,那么持续集成和发布就是必须的了,这里写一下之前在部署的时候遇到的问题,分享一个阿里云特别有帮助的文档 https://help.aliyun.com/document_detail/106712.html?spm=a2c4g.11186623.6.813.626e433 阅读全文
posted @ 2019-07-19 00:11 蟒城贝勒爷 阅读(3319) 评论(0) 推荐(0) 编辑
摘要: openshfit版本 v3.11.0,通过ansible-playbook安装 1、遇到这个问题需要在/etc/docker/daemon.json中添加docker的网段: "insecure-registries": ["172.30.0.0/16"] 2、再到 /etc/containers 阅读全文
posted @ 2019-06-24 17:16 蟒城贝勒爷 阅读(594) 评论(0) 推荐(0) 编辑