Code Monkey home page Code Monkey logo

k8s-deploy's People

Contributors

cookcodeblog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

k8s-deploy's Issues

感谢大哥分享

正在学习,自己撸了一遍感觉可以写自动化,上网一搜就搜到了,非常感谢

node节点启动kubelet失败: Failed to get system container stats for "/user.slice/user-0.slice/session-9.scope"

截图如下

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

kubeadm init 还是从Googlel拉取镜像

使用脚本将镜像拉取到本地了

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

装完后再装dashboard 访问ip:6443

装完后再装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
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.