![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
k8s应用
文章平均质量分 55
k8s部署应用实战
金陵搬砖工
技术-分享-成长
展开
-
k8s部署dubbo-admin0.4.0
部署依赖k8s中已部署zookeeper集群,参见:k8s部署集群版zookeeper3.4创建Deployment集群创建deploy定义vim dubbo-admin-deploy.yamlapiVersion: apps/v1kind: Deploymentmetadata: name: dubbo-admin4-deploy labels: app: dubbo-admin4-deployspec: replicas: 1 selector: match原创 2022-03-19 21:18:01 · 2831 阅读 · 0 评论 -
k8s部署集群版zookeeper3.4
创建本地目录用于zookeeper持久化创建3个持久化文件mkdir -p /Users/renzhengxin/IdeaProjects/k8s/zookeeper/v34/data/{pv1,pv2,pv3}创建持久卷创建3个持久卷定义vim zookeeper-pv.yamlapiVersion: v1kind: PersistentVolumemetadata: name: zookeeper34-pv1spec: capacity: storage: 200M a原创 2022-03-18 13:55:17 · 436 阅读 · 0 评论 -
k8s部署单机版redis3.0
创建本地目录用于redis持久化创建持久化文件mkdir -p /Users/renzhengxin/IdeaProjects/k8s/redis/v33/data创建持久卷创建持久卷定义vim redis-pv.yamlapiVersion: v1kind: PersistentVolumemetadata: name: redis33-pv labels: pv: redis33-pvspec: capacity: storage: 20Gi accessM原创 2022-03-16 13:55:08 · 858 阅读 · 0 评论 -
k8s部署redis-cluster-proxy
编译源代码打包环境centos7.9下载项目源代码git clone git@github.com:RedisLabs/redis-cluster-proxy.git进入项目目录:cd redis-cluster-proxy编译make PREFIX=/usr/local/redis_cluster_proxy install注:未安装git:yum install git注:gcc版本小于5,需要执行以下命令gcc -vyum install centos-release-scl原创 2022-03-15 23:29:19 · 1525 阅读 · 0 评论 -
k8s部署集群版redis3.2
创建持久卷创建6个持久卷定义vim mysql-pv.yamlapiVersion: v1kind: PersistentVolumemetadata: name: redis32-pv1spec: capacity: storage: 200M accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain hostPath: path: "/Users/renzhengxin/Id原创 2022-03-12 13:12:47 · 2337 阅读 · 0 评论 -
k8s部署单机版mysql5.6
k8s本地部署单机版mysql原创 2022-03-06 09:51:58 · 922 阅读 · 0 评论