daniel-hutao / k8s-source-code-analysis Goto Github PK
View Code? Open in Web Editor NEW《k8s-1.13版本源码分析》
Home Page: https://www.danielhu.cn/k8s-source-code-analysis/
License: Apache License 2.0
《k8s-1.13版本源码分析》
Home Page: https://www.danielhu.cn/k8s-source-code-analysis/
License: Apache License 2.0
k8s刚入门的小白,page 404呀
k8s每一代的连代码架构都不一样了。
请问下 如何通过写死启动参数 来调试kube-scheduler?
https://github.com/daniel-hutao/k8s-source-code-analysis/blob/master/prepare/get-code.md
修改 git clone git clone https://github.com/kubernetes/kubernetes.git 为
git clone -b release-1.13 https://github.com.cnpmjs.org/kubernetes/kubernetes.git
友情催更
RT
假期看完了 scheduler 的源码分析,写得很棒!希望能继续更新后面的 controller, kubelet, apiserver, 如果人手紧缺,我也可以尝试下 😄
章节1.2.2 测试环境搭建--镜像准备部分,直接拉取docker官方镜像源速度较慢,可通过配置阿里镜像源加速器解决。
# 增加镜像源配置,镜像源地址获取地址:https://cr.console.aliyun.com/cn-hangzhou/mirrors
mkdir -p /etc/docker
# 替换下方 ${ID}为自己的加速地址
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://${ID}.mirror.aliyuncs.com"]
}
EOF
# 重启服务
systemctl daemon-reload
systemctl restart docker
还在更新么
原启动命令:
kubeadm init --pod-network-cidr=10.100.0.0/16
追加参数后:
# --kubernetes-version: 用于指定 k8s版本
# --apiserver-advertise-address:用于指定使用 Master的哪个network interface进行通信,若不指定,则 kubeadm会自动选择具有默认网关的 interface
# --pod-network-cidr:用于指定Pod的网络范围,该参数使用依赖于使用的网络方案。
kubeadm init --pod-network-cidr=10.100.0.0/16 --kubernetes-version=v1.13.3 --apiserver-advertise-address 192.168.124.12
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.