5.3.8.1 实战案例之zookeeper集群
基于PV和PVC作为后端存储,实现zookeeper集群
5.3.8.1.1 下载JDK镜像
root@k8s-master1:~# docker pull elevy/slim_java:8
root@k8s-master1:~# docker tag elevy/slim_java:8 harbor.raymonds.cc/base_images/slim_java:8
root@k8s-master1:~# docker push harbor.raymonds.cc/base_images/slim_java:8
5.3.8.1.2 zookeeper镜像准备
https://www.apache.org/dist/zookeeper #官方程序包下载官方网址
在harbor上创建仓库raymond,并做好同步
5.3.8.1.2.1 构建zookeeper镜像
root@k8s-master1:~# cd /opt/k8s-data/
root@k8s-master1:/opt/k8s-data# ls
ceph-case dockerfile ingres