额!记录的有点乱,先发出来吧,后续慢慢整理!
更新时间:2024-10-26
1.Kubeadm
方法1
GitHub地址:
https://github.com/kubernetes/kubernetes/blob/v1.30.1/build/dependencies.yaml
方法2
kubeadm config images list --kubernetes-version=v(版本号)
#例如:
kubeadm config images list --kubernetes-version=v1.30.1
2.Containerd && runC
2.1 Containerd
Github地址:
https://github.com/containerd/containerd/blob/main/RELEASES.md
2.2 runC
Github地址:
https://github.com/containerd/containerd/blob/v1.6.33/script/setup/runc-version
3.Istio
GitHub地址:
https://github.com/istio/istio/releases/
#k8s与istio版本对应:
https://istio.io/latest/docs/releases/supported-releases/#support-status-of-istio-releases
4.Calico
官网版本查看:
https://docs.tigera.io/archive
GitHub地址:
https://github.com/projectcalico/calico官网安装方法地址:
https://docs.tigera.io/archive/v3.23/getting-started/kubernetes/self-managed-onprem/onpremises官网yaml下载:
curl https://projectcalico.docs.tigera.io/archive/v3.23/manifests/calico.yaml -O
#官网地址版本对应地址:
#旧的查询地址--先记录
https://projectcalico.docs.tigera.io/archive/v3.23/getting-started/kubernetes/requirements
#指定版本
https://docs.tigera.io/archive/v3.23/getting-started/kubernetes/requirements
#最新版本
https://docs.tigera.io/calico/latest/getting-started/kubernetes/requirements
5.Coredns
GitHub地址:
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/coredns/coredns.yaml.base
GitHub地址-v1.20.15:
https://github.com/kubernetes/kubernetes/blob/v1.20.15/cluster/addons/dns/coredns/coredns.yaml.base
6.Ingress-Controller
GitHub地址:
https://github.com/kubernetes/ingress-nginx/tree/main
安装方法:
https://kubernetes.github.io/ingress-nginx/examples/auth/basic/(3)controller-v1.5.1版本下载
#方法1-基于github地址:
https://github.com/kubernetes/ingress-nginx/blob/controller-v1.5.1/deploy/static/provider/baremetal/deploy.yaml
#方法2-基于安装指南:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.5.1/deploy/static/provider/baremetal/deploy.yaml
#其他版本修改controller-vx.x.x
版本查看:
https://github.com/kubernetes/ingress-nginx/blob/main/README.md#readme
Supported | Ingress-NGINX version | k8s supported version | Alpine Version | Nginx Version | Helm Chart Version |
---|---|---|---|---|---|
🔄 | v1.12.0-beta.0 | 1.31, 1.30, 1.29, 1.28 | 3.20.3 | 1.25.5 | 4.12.0-beta.0 |
🔄 | v1.11.3 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.3 | 1.25.5 | 4.11.3 |
🔄 | v1.11.2 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.0 | 1.25.5 | 4.11.2 |
🔄 | v1.11.1 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.0 | 1.25.5 | 4.11.1 |
🔄 | v1.11.0 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.0 | 1.25.5 | 4.11.0 |
v1.10.5 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.3 | 1.25.5 | 4.10.5 | |
v1.10.4 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.0 | 1.25.5 | 4.10.4 | |
v1.10.3 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.0 | 1.25.5 | 4.10.3 | |
v1.10.2 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.20.0 | 1.25.5 | 4.10.2 | |
v1.10.1 | 1.30, 1.29, 1.28, 1.27, 1.26 | 3.19.1 | 1.25.3 | 4.10.1 | |
v1.10.0 | 1.29, 1.28, 1.27, 1.26 | 3.19.1 | 1.25.3 | 4.10.0 | |
v1.9.6 | 1.29, 1.28, 1.27, 1.26, 1.25 | 3.19.0 | 1.21.6 | 4.9.1 | |
v1.9.5 | 1.28, 1.27, 1.26, 1.25 | 3.18.4 | 1.21.6 | 4.9.0 | |
v1.9.4 | 1.28, 1.27, 1.26, 1.25 | 3.18.4 | 1.21.6 | 4.8.3 | |
v1.9.3 | 1.28, 1.27, 1.26, 1.25 | 3.18.4 | 1.21.6 | 4.8.* | |
v1.9.1 | 1.28, 1.27, 1.26, 1.25 | 3.18.4 | 1.21.6 | 4.8.* | |
v1.9.0 | 1.28, 1.27, 1.26, 1.25 | 3.18.2 | 1.21.6 | 4.8.* | |
v1.8.4 | 1.27, 1.26, 1.25, 1.24 | 3.18.2 | 1.21.6 | 4.7.* | |
v1.7.1 | 1.27, 1.26, 1.25, 1.24 | 3.17.2 | 1.21.6 | 4.6.* | |
v1.6.4 | 1.26, 1.25, 1.24, 1.23 | 3.17.0 | 1.21.6 | 4.5.* | |
v1.5.1 | 1.25, 1.24, 1.23 | 3.16.2 | 1.21.6 | 4.4.* | |
v1.4.0 | 1.25, 1.24, 1.23, 1.22 | 3.16.2 | 1.19.10† | 4.3.0 | |
v1.3.1 | 1.24, 1.23, 1.22, 1.21, 1.20 | 3.16.2 | 1.19.10† | 4.2.5 | |
注释: | github仓库查询版本 | k8s版本 |
7.Prometheus(待验证)
#Prometheus配置:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/
#Prometheus监控组件对应的exporter部署地址:
https://prometheus.io/docs/instrumenting/exporters/
#Prometheus基于k8s服务发现参考:
https://github.com/prometheus/prometheus/blob/release-2.31/documentation/examples/prometheus-kubernetes.yml
#prometheus-operator版本查询
https://github.com/prometheus-operator/kube-prometheus
Prometheus 版本 | Alertmanager 版本 |
---|---|
2.10.x | 0.17.x - 0.19.x |
2.11.x | 0.18.x - 0.20.x |
2.12.x | 0.19.x - 0.21.x |
2.13.x | 0.20.x - 0.22.x |
2.14.x | 0.21.x - 0.23.x |
2.15.x | 0.22.x - 0.24.x |
2.16.x | 0.23.x - 0.25.x |
2.17.x | 0.24.x - 0.26.x |
2.18.x | 0.25.x - 0.27.x |
2.19.x | 0.26.x - 0.28.x |
2.20.x | 0.27.x - 0.29.x |
2.21.x | 0.28.x - 0.30.x |
2.22.x | 0.29.x - 0.31.x |
2.23.x | 0.30.x - 0.32.x |
2.24.x | 0.31.x - 0.33.x |
2.25.x | 0.32.x - 0.34.x |
2.26.x | 0.33.x - 0.35.x |
2.27.x | 0.34.x - 0.36.x |
8.Metrics-Server部署
#github地址:
#1.获取yaml
https://github.com/kubernetes-sigs/metrics-server
#获取yaml
wget https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
####排错参考
#官网
https://github.com/kubernetes-sigs/metrics-server
#CSDN
https://blog.csdn.net/qq_45097352/article/details/121509213
#阿里云
https://help.aliyun.com/document_detail/291404.html
9.Helm
#官网
https://helm.sh/zh/docs/topics/version_skew/
#github地址:
https://github.com/helm/helm
#版本对应地址
https://github.com/helm/helm-www/blob/main/content/en/docs/topics/version_skew.md
10.Kube-state-metrics
https://github.com/kubernetes/kube-state-metrics#kubernetes-deployment
kube-state-metrics | Kubernetes client-go Version |
---|---|
v2.6.0 | v1.24 |
v2.7.0 | v1.25 |
v2.8.2 | v1.26 |
v2.9.2 | v1.26 |
v2.10.0 | v1.27 |
main | v1.28 |
11.Elastic支持一览表
https://www.elastic.co/cn/support/matrix
12.Metrics Server
#github地址:
https://github.com/kubernetes-sigs/metrics-server
指标服务器 | 指标 API 组/版本 | 支持的 Kubernetes 版本 |
---|---|---|
0.6.x | metrics.k8s.io/v1beta1 | 1.19+ |
0.5.x | metrics.k8s.io/v1beta1 | *1.8+ |
0.4.x | metrics.k8s.io/v1beta1 | *1.8+ |
0.3.x | metrics.k8s.io/v1beta1 | 1.8-1.21 |
#在 Kubernetes v1.21+ 上:
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/high-availability-1.21+.yaml
#在 Kubernetes v1.19-1.21 上
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/high-availability.yaml
13.Kubesphere
kubesphere | k8s版本要求 | 详情地址 |
---|---|---|
v1.0.0 | 不支持k8s基础上安装 | https://v1-0.docs.kubesphere.io/docs/zh-CN/installation/intro/ |
v2.0.x | 1.13.0 ≤ K8s Version < 1.16 | https://v2-0.docs.kubesphere.io/docs/zh-CN/installation/install-on-k8s/ |
V2.1.x | 1.15.x ≤ K8s version ≤ 1.17.x | https://v2-1.docs.kubesphere.io/docs/zh-CN/installation/prerequisites/ |
V3.0.0 | 1.15.x,1.16.x,1.17.x,1.18.x | https://v3-0.docs.kubesphere.io/zh/docs/installing-on-kubernetes/introduction/prerequisites/ |
V3.1.x | v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。 | https://v3-1.docs.kubesphere.io/zh/docs/installing-on-kubernetes/introduction/prerequisites/ |
V3.2.x | v1.19.x,v1.20.x,v1.21.x 或 v1.22.x(实验性支持)。 | https://kubesphere.io/zh/docs/installing-on-kubernetes/introduction/prerequisites/ |
V3.3.x | v1.19.x,v1.20.x,v1.21.x,v1.22.x 或 v1.23.x(实验性支持))。 | https://kubesphere.io/zh/docs/installing-on-kubernetes/introduction/prerequisites/ |