kubeoperator / ansible Goto Github PK
View Code? Open in Web Editor NEWKubeOperator 3.0 Ansible Playbook,替代 2.0 版本中的 kubeasz 组件。
License: Apache License 2.0
KubeOperator 3.0 Ansible Playbook,替代 2.0 版本中的 kubeasz 组件。
License: Apache License 2.0
由于swap未关闭导致的kubelet 无法启动问题。
在安装k8s时,playbook使用 swapoff -a 保证了swap处于关闭状态。后续机器重启,swap未处于关闭状态,因此kubelet无法启动。
我看到项目playbook使用了去除/etc/fstab的办法。但是并不是所有swap都是用fstab进行维护。
以上问题是具体环境中使用遇到的问题。
由于使用默认serviceaccount,导致无法patch对应resource。以下为node-problem-detector日志
E0815 13:11:48.168571 1 manager.go:162] failed to update node conditions: nodes "xxx" is forbidden: User "system:serviceaccount:kube-system:default" cannot patch resource "nodes/status" in API group "" at the cluster scope
can i deploy k8s-cluster only use this ansible-script?
add: I can download kubernets binary package from internet.
cni bin_dir 默认目录为 /opt/cni/bin,额外安装的cni会安装到这个目录下.但是目前containerd
config配置
[plugins.cri.cni]
bin_dir = "{{ bin_dir }}"
conf_dir = "/etc/cni/net.d"
conf_template = ""
cni bin_dir为{{ bin_dir
}},它的值为/usr/local/bin,不符合cni标准.kubeoperator在安装cni如flannel时将flannel
bin同时放在了 /usr/local/bin 以及
/opt/cni/bin,因此cni配置为/usr/local/bin没有问题,但是一旦安装其他第三方cni则将出现问题
For reference https://github.com/mengzyou/iac-examples add support?
reset node but leave /etc/sysconfig/kubelet file
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.