JaneLiuL

Results 21 issues of JaneLiuL

## 问题描述 群里有些小伙伴私聊问我如何基于scheduler framework扩展自己的应用,在这里粗略说一下。 假如是基于打分环节扩展,首先需要实现接口,包括Name,Score和ScoreExtensions。 实现完成之后,可以在cmd/kube-scheduler/scheduler.go里面加上 ` command := app.NewSchedulerCommand( app.WithPlugin(nodeload.Name, nodeload.New) )` 然后编译,待编译完成,由于我是用kubeadm安装的集群,所以我的调度器是读的/etc/kuberxx/manifest/kube-scheduler.yml启动的pod,移走文件之后,然后用编译好的二进制启动./kube-scheduler --config=config.xml,然后进入测试环节。 ## 备注 建议群里大佬出个分享文章?

status/replied

[cl-oreilly-kubernetes-operators-ebook-f21452-202001-en_2.pdf](https://github.com/cloudnativeto/sig-k8s-source-code/files/5032228/cl-oreilly-kubernetes-operators-ebook-f21452-202001-en_2.pdf) [Programming Kubernetes.pdf](https://github.com/cloudnativeto/sig-k8s-source-code/files/5032231/Programming.Kubernetes.pdf)

# 例子理解 我们从一段最简单的代码入手,这段代码块主要是监听了namespace,对于有新的namespace添加,就打印namespace的名字,我们看看K8S源码,看看这个黑盒子实际在在K8S发生了什么动作? ```go func main() { // in cluster get config config, err := rest.InClusterConfig() if err != nil { panic(err.Error()) } // cilentset clientset, err := kubernetes.NewForConfig(config) ......

Must have: 1. 准备一套环境已经安装好go软件 2. 准备《Kubernetes源码剖析》书籍, 书籍是1.14版本。 3. 准备一套K8S环境,要求版本在1.4或以上 4. 阅读go 代码软件一个,推荐 IDEA

hi i use `fake-kubelet` before, and would like to have a try for kwok. is there any guide for how to use kwok? look forward for readme enhancement. :)

kind/documentation

看到朋友圈了,如果大佬愿意可以来我司,远程工作, 工作家庭平衡,无996,无pua, 可以发简历到我邮箱: [email protected]

### What would you like to be added as baseline addon monitoring and security check should consider to be add into kubespray ### Why is this needed monitoring and security...

lifecycle/stale
kind/feature

### What would you like to be added in our environment, not support to helm add outside helm repo. we can only bring this helm chart as vendor package in...

lifecycle/stale
kind/feature

### What would you like to be added 1. support install none cni to kubespray 2. support integrate antrea cni ### Why is this needed some company they have commercial...

lifecycle/stale
kind/feature

**Describe the bug** Apply loki helm chart docs/example/oss/overrides-oss-gcs.yaml values when helm install loki pod will fail as below ``` failed parsing config: /etc/loki/config/config.yaml: yaml: unmarshal errors: line 33: field bucketNames...