更新时间:2022-12-07 GMT+08:00
放置镜像到images目录
images目录下存放服务部署时需要的所有镜像。以etcd为例,etcd服务包含x86和ARM两种CPU架构的镜像,分别叫etcd-3.5.0-x86_64.tar,etcd-3.5.0-aarch64.tar,那么目录结构为:
etcd/ | --- package/ | --- images/ | --- etcd-3.5.0-x86_64.tar | --- etcd-3.5.0-aarch64.tar
有的服务比较复杂,依赖其它的服务,比如kafka依赖zookeeper,zookeeper的镜像也要放置在images目录下:
kafka/ | --- package/ | --- images/ | --- kafka-2.5.0-x86_64.tar | --- kafka-2.5.0-aarch64.tar | --- zookeeper-3.4.0-x86_64.tar | --- zookeeper-3.4.0-aarch64.tar
父主题: 制作流程