apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
fabric8.io/iconUrl: https://raw.githubusercontent.com/docker-library/docs/81187b7b50f5af5bdb64d75882f4d9c782ad52c3/rabbitmq/logo.png
labels:
app: rabbitmq
provider: rabbit
version: 3.6.11-management
group: com.rabbit
name: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
app: rabbitmq
provider: rabbit
group: com.rabbit
template:
metadata:
annotations:
fabric8.io/iconUrl: https://raw.githubusercontent.com/docker-library/docs/81187b7b50f5af5bdb64d75882f4d9c782ad52c3/rabbitmq/logo.png
labels:
app: rabbitmq
provider: rabbit
version: 3.6.11-management
group: com.rabbit
spec:
containers:
- env:
- name: RABBITMQ_DEFAULT_USER
value: "guest"
- name: RABBITMQ_DEFAULT_PASS
k8s 部署rabbitmq单节点
最新推荐文章于 2024-09-15 00:15:00 发布
本文档详细介绍了如何在Kubernetes(k8s)环境中部署一个RabbitMQ单节点实例,适用于大数据背景下的消息队列服务。内容涵盖配置、安装和网络设置等关键步骤。
摘要由CSDN通过智能技术生成