《深入剖析Kubernetes》資源連結清單

張衛國發表於2021-03-23

為方便讀者查詢,本文彙總了《深入剖析Kubernetes》一書中涉及的部分網路資源連結。連結內容可能隨時間變化,請讀者知悉。

4.1節
1. 部署工具kubeadm:https://github.com/kubernetes/kubeadm
2. KIND專案:https://github.com/kubernetes-sigs/kind

4.2節
1. kubeadm的高可用部署:https://kubernetes.io/docs/setup/independent/high-availability/
2. Dashboard專案:https://github.com/kubernetes/dashboard

5.1節
1. 《Linux執行緒實現機制分析》:https://www.ibm.com/developerworks/cn/linux/kernel/l-thread/index.html
2. “Design Patterns for Container-based Distributed Systems”:https://www.usenix.org/conference/hotcloud16/workshop-program/presentation/burns
3. virtlet專案:https://github.com/Mirantis/virtlet

5.3節
- “Pod Lifecycle”:https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#example-states

5.7節
- 關於哪種Volume支援哪種AccessMode:https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes

5.8節
- 示例的完整YAML檔案:https://github.com/oracle/kubernetes-website/blob/master/docs/tasks/run-application/mysql-statefulset.yaml

5.11節
- 示例原始碼和文件:https://github.com/resouer/kubernetes-initializer-tutorial

5.12節
1. 示例專案:https://github.com/resouer/k8s-controller-custom-resource
2. “Kubernetes Deep Dive: Code Generation for CustomResources”:https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/

5.15節
1. 《etcd:從應用場景到實現原理的全方位解讀》:http://www.infoq.com/cn/articles/etcd-interpretation-application-scenario-implement-principle
2. backup_cr.yaml:https://github.com/coreos/etcd-operator/blob/master/example/etcd-backup-operator/backup_cr.yaml
3. restore_cr.yaml:https://github.com/coreos/etcd-operator/blob/master/example/etcd-restore-operator/restore_cr.yaml
4. Prometheus專案的Operator:https://github.com/coreos/prometheus-operator
5. Operator SDK:https://github.com/operator-framework/operator-sdk

6.2節
1. Kubernetes內建的20種持久化資料卷實現:https://kubernetes.io/docs/concepts/storage/persistent-volumes/#types-of-persistent-volumes
2. 通過provisioner的配置檔案指定PV裡的各種定義:https://github.com/kubernetes-incubator/external-storage/tree/master/local-volume/helm
3. External Provisioner:https://github.com/kubernetes-incubator/external-storage/tree/master/local-volume
4. External Provisioner的部署方法:https://github.com/kubernetes-incubator/external-storage/tree/master/local-volume#option-1-using-the-local-volume-static-provisioner

6.3節
1. 部署試驗用的NFS伺服器的Docker映象:https://github.com/ehough/docker-nfs-server
2. 示例NFS的FlexVolume的完整實現: https://github.com/kubernetes/examples/blob/master/staging/volumes/flexvolume/nfs
3. 用Go語言編寫FlexVolume: https://github.com/kubernetes/frakti/tree/master/pkg/flexvolume

6.4節
- CSI各個服務介面的的protoc檔案:https://github.com/container-storage-interface/spec/blob/master/csi.proto

7.1節
- “The Layers of the OSI Model Illustrated”:https://www.lifewire.com/layers-of-the-osi-model-illustrated-818017

7.3節
1. Network Configuration文件:https://github.com/containernetworking/cni/blob/master/SPEC.md#network-configuration
2. DNAT:http://linux-ip.net/html/nat-dnat.html

7.5節
- 一鍵安裝Flannel+Calico:https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/flannel

7.8節
1. RFC 3986標準:https://tools.ietf.org/html/rfc3986
2. mandatory.yaml:https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
3. Nginx Lua方案:https://github.com/openresty/lua-nginx-module
4. “咖啡廳”Ingress的所有示例檔案:https://github.com/resouer/kubernetes-ingress/tree/master/examples/complete-example

8.5節
1. NVIDIA GPU device plugin:https://github.com/NVIDIA/k8s-device-plugin
2. FPGA:https://github.com/intel/intel-device-plugins-for-kubernetes
3. SRIOV:https://github.com/intel/sriov-network-device-plugin
4. RDMA:https://github.com/hustcat/k8s-rdma-device-plugin
5. ResourceClass:https://github.com/kubernetes/community/pull/2265

9.3節
- 本節圖片出處:https://www.openstack.org/assets/presentation-media/kata-containers-and-gvisor-a-quantitave-comparison.pdf

10.1節
1. Node Exporter工具:https://github.com/prometheus/node_exporter
2. Node Exporter的監控指標:https://github.com/prometheus/node_exporter#enabled-by-default
3. 生成Key和Cert檔案:https://github.com/kubernetes-incubator/apiserver-builder/blob/master/docs/concepts/auth.md

10.2節
1. Custom Metrics使用示例的庫:https://github.com/resouer/kubeadm-workshop
2. 示例應用的程式碼:https://github.com/resouer/kubeadm-workshop/blob/master/images/autoscaling/server.js
3. KubeBuilder:https://github.com/kubernetes-sigs/kubebuilder

10.3節
1. 方案一的具體操作過程:https://kubernetes.io/docs/user-guide/logging/elasticsearch
2. logrotate:https://linux.die.net/man/8/logrotate

11.3節
- CronHPA:https://github.com/AliyunContainerService/kubernetes-cronhpa-controller

11.4節
1. OAM規範:https://github.com/oam-dev/spec
2. OAM規範的Kubernetes實現:https://github.com/oam-dev/kubevela
3. Flagger開源專案:https://docs.flagger.app/tutorials/nginx-progressive-delivery
4. KubeVela官網:https://kubevela.io
5. KubeVela模板:https://github.com/oam-dev/kubevela/blob/master/vela-templates/web-service.cue
6. OAM Kubernetes Runtime:https://github.com/crossplane/oam-kubernetes-runtime

第12章
1. Kubernetes的設計提議目錄:https://github.com/kubernetes/community/tree/master/contributors/design-proposals
2. Kubernetes Enhancements:https://github.com/kubernetes/enhancements/blob/master/keps
3. Kubernetes Community庫:https://github.com/kubernetes/community

相關文章