DNS:10.4.246.1
臭小子、不要亂動(⊙o⊙)哦
git config --global user.name "yansongwei"
git config --global user.email "yansongwei888@163.com"
mkdir dubbo-demo-web
cd dubbo-demo-web
git init
touch README.md
git add .
git commit -m "first commit"
git remote add origin https://gitee.com/nongfuyunwei/dubbo-demo-web.git
git push -u origin master
yansongwei888@163.com
centos7.0內核升級文檔:
https://www.cnblogs.com/panwenbin-logs/p/10213309.html
安裝weave scpoe
問題描述:
The DaemonSet "weave-scope-agent" is invalid: spec.template.spec.containers[0].securityContext.privileged: Forbidden: disallowed by cluster policy
在kube-apiserver.sh配置中添加
--allow-privileged=true #設置為true時,kubernetes允許在Pod中運行擁有系統特權的容器應用。
weave 添加ingress報錯問題解決:
http://www.huilog.com/?p=1093
k8s的node節點服務器重啟后,啟動kube-proxy發現報錯
6月 19 09:57:07 node1 kube-proxy[17770]: E0619 09:57:07.022125 17770 proxier.go:1319] Failed to delete stale service IP 10.254.0.2 connections, error: error deleting connection tracking state for UDP service IP: 10.254.0.2, error: error looking for path of conntrack: exec: "conntrack": executable file not found in $PATH
1
yum -y install conntrack 后重啟kube-proxy,問題解決
metrics安裝失敗:
kube-apiserver日志報錯信息:
loading OpenAPI spec for "v1beta1.metrics.k8s.io" failed with: failed to retrieve openAPI spec, http error: ResponseCode: 503, Body: service unavailable
, Header: map[Content-Type:[text/plain; charset=utf-8] X-Content-Type-Options:[nosniff]]
解決方法:
kubectl delete apiservice v1beta1.metrics.k8s.io
解決思路:
kubectl get apiservice
kubectl get apiservice v1beta1.metrics.k8s.io -o yaml
安裝metrics-server,解決kubeoard安裝失敗問題:
https://www.cnblogs.com/chimeiwangliang/p/9239592.html