client-go和golang源碼中的技巧
kubernetes client-go解析
解讀 kubernetes client-go 官方 examples - Part Ⅰ
Prometheus VS InfluxDB https://blog.csdn.net/u011537073/article/details/80305804
Prometheus 源碼解讀(一)
Controlling Access to the Kubernetes API
https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/
Kubernetes(k8s)代碼解讀-apiserver之list-watch篇
Kubernetes 大咖秀徐超《使用 client-go 控制原生及拓展的 Kubernetes API》
https://studygolang.com/articles/9270
進(jìn)德的好文章
https://blog.csdn.net/weixin_42663840
Kubernetes Informer 詳解
Kubernetes deep dive: API Server – part 1
https://blog.openshift.com/kubernetes-deep-dive-api-server-part-1/
Kubernetes Deep Dive: API Server – Part 2
Kubernetes Deep Dive: API Server – Part 3a
https://blog.openshift.com/kubernetes-deep-dive-api-server-part-3a/
Kubernetes Deep Dive: Code Generation for CustomResources
https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/
Kubernets深入系列: API Server
https://www.dazhuanlan.com/2019/09/25/5d8a7f330cfcd/
https://blog.openshift.com/a-look-into-the-technical-details-of-kubernetes-1-16/
https://blog.openshift.com/kubernetes-operators-best-practices/
kube-apiserver的編排文件
/etc/kubernetes/manifests/
使用環(huán)境變量定義api版本
export ETCDCTL_API=3
etcd有目錄結(jié)構(gòu)類似linux文件系統(tǒng)氛堕,獲取所有key看一看:
etcdctl get / --prefix --keys-only
一看就可以大概理解kubenetes的數(shù)據(jù)結(jié)構(gòu)了,查詢命名空間下所有部署的數(shù)據(jù):
etcdctl get /registry/deployments/default --prefix --keys-only
etcdctl del /registry/deployments/default/elevated-dragonfly-spinn-front50
https://jakubbujny.com/2018/09/02/what-stores-kubernetes-in-etcd/
sysdig
httpie
kubectl get crd
kubectl describe crd stu
kubectl get pod -v=9