背景
在安裝kubernetes時會出現無法訪問映象站的情況,透過GitHub將kubernetes映象推送到阿里雲之後,即可使用阿里雲地址引用所需映象,現已同步映象5000+,當前還在陸續同步。倉庫使用 Github Action 每天自動執行指令碼同步映象到阿里雲。
程式碼倉庫
https://github.com/cby-chen/sys\_images
若有需要自行研究 後續更新會在倉庫更新
目前有如下映象倉庫,後續會陸續增加
docker.elastic.co:
- elasticsearch/elasticsearch
- kibana/kibana
- logstash/logstash
- beats/filebeat
- beats/heartbeat
- beats/packetbeat
- beats/auditbeat
- beats/journalbeat
- beats/metricbeat
- apm/apm-server
- app-search/app-search
quay.io:
- coreos/flannel
- ceph/ceph
- cephcsi/cephcsi
- csiaddons/k8s-sidecar
- csiaddons/volumereplication-operator
- prometheus/prometheus
- prometheus/alertmanager
- prometheus/pushgateway
- prometheus/blackbox-exporter
- prometheus/node-exporter
- prometheus-operator/prometheus-config-reloader
- prometheus-operator/prometheus-operator
- brancz/kube-rbac-proxy
k8s.gcr.io:
- etcd
- kube-proxy
- kube-apiserver
- kube-scheduler
- kube-controller-manager
- coredns/coredns
- dns/k8s-dns-node-cache
- metrics-server/metrics-server
- ingress-nginx/controller
- ingress-nginx/kube-webhook-certgen
- kube-state-metrics/kube-state-metrics
- prometheus-adapter/prometheus-adapter
- sig-storage/nfs-subdir-external-provisioner
- sig-storage/csi-node-driver-registrar
- sig-storage/csi-provisioner
- sig-storage/csi-resizer
- sig-storage/csi-snapshotter
- sig-storage/csi-attacher
gcr.io:
- kaniko-project/executor
使用方式
docker.elastic.co/kibana/{image_name} ==> registry.cn-hangzhou.aliyuncs.com/chenby/{image_name}
quay.io/csiaddons/{image_name} ==> registry.cn-hangzhou.aliyuncs.com/chenby/{image_name}
k8s.gcr.io/{image_name} ==> registry.cn-hangzhou.aliyuncs.com/chenby/{image_name}
....
拉去映象
docker pull registry.cn-hangzhou.aliyuncs.com/chenby/kube-scheduler:[映象版本號]
https://www.oiox.cn/
https://www.chenby.cn/
https://cby-chen.github.io/
https://weibo.com/u/5982474121
https://blog.csdn.net/qq\_33921750
https://my.oschina.net/u/3981543
https://www.zhihu.com/people/...
https://segmentfault.com/u/hp...
https://juejin.cn/user/331578...
https://space.bilibili.com/35...
https://cloud.tencent.com/dev...
https://www.jianshu.com/u/0f8...
https://www.toutiao.com/c/use...
CSDN、GitHub、知乎、開源中國、思否、掘金、簡書、騰訊雲、嗶哩嗶哩、今日頭條、新浪微博、個人部落格、全網可搜《小陳運維》