cookcodeblog / k8s-deploy Goto Github PK
View Code? Open in Web Editor NEW使用kubeadm一键部署kubernetes集群
License: MIT License
使用kubeadm一键部署kubernetes集群
License: MIT License
截图如下
Starting Device Plugin manager
W0830 14:00:52.878098 12189 manager.go:496] Failed to retrieve checkpoint for "kubelet_internal_checkpoint": checkpoint is not found
I0830 14:00:52.878553 12189 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
W0830 14:00:52.881742 12189 container_manager_linux.go:792] CPUAccounting not enabled for pid: 12189
W0830 14:00:52.881761 12189 container_manager_linux.go:795] MemoryAccounting not enabled for pid: 12189
E0830 14:00:53.233752 12189 summary.go:102] Failed to get system container stats for "/user.slice/user-0.slice/session-9.scope": failed to get cgroup stats for "/user.slice/user-0.slice/session-9.scope": failed to get container info for "/user.slice/user-0.slice/session-9.scope": unknown container "/user.slice/user-0.slice/session-9.scope"
I0830 14:01:03.234455 12189 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
有集成Calico计划吗
非常感谢。
装完后再装dashboard 访问ip:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
报下面错误,请问下怎么解决
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "services "https:kubernetes-dashboard:" is forbidden: User "system:anonymous" cannot get services/proxy in the namespace "kube-system"",
"reason": "Forbidden",
"details": {
"name": "https:kubernetes-dashboard:",
"kind": "services"
},
"code": 403
}
flannel 网络没有覆盖docker0 ,宿主机无法访问flannel分配给容器的ip
cp: 无法获取"/etc/kubernetes/kubelet.conf" 的文件状态(stat): 没有那个文件或目录
正在学习,自己撸了一遍感觉可以写自动化,上网一搜就搜到了,非常感谢
使用脚本将镜像拉取到本地了
k8s.gcr.io/kube-proxy 1.14.6 ed8adf767eeb 3 months ago 82.1 MB
k8s.gcr.io/kube-apiserver 1.14.6 0e422c9884cf 3 months ago 209 MB
k8s.gcr.io/kube-controller-manager 1.14.6 4bb274b1f2c3 3 months ago 157 MB
k8s.gcr.io/kube-scheduler 1.14.6 d27987bc993e 3 months ago 81.6 MB
k8s.gcr.io/coredns 1.3.1 eb516548c180 10 months ago 40.3 MB
k8s.gcr.io/etcd 3.3.10 2c4adeb21b4f 11 months ago 258 MB
k8s.gcr.io/pause 3.1 da86e6ba6ca1 23 months ago 742 kB
在kubeadm init --kubernetes-version=v1.14.6 --pod-network-cidr=10.244.0.0/16 --service-cidr=10.96.0.0/12 --ignore-preflight-errors=Swap
时还是从ks.gcr.io拉取镜像
[ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-scheduler:v1.14.6: output: Error response from daemon: Get https://k8s.gcr.io/v1/_ping: dial tcp 74.125.203.82:443: getsockopt: connection refused
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.