kubernetes cluster - working version

This commit is contained in:
2022-06-20 23:24:17 +02:00
parent 86cd07c4b6
commit fb2895f79d
14 changed files with 99 additions and 20 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: rabbitmq
spec:
selector:
matchLabels:
app: rabbitmq
replicas: 1
template:
metadata:
labels:
app: rabbitmq
spec:
containers:
- name: rabbitmq
image: registry.willemserruys.com/rabbitmq
imagePullPolicy: "IfNotPresent"
ports:
- containerPort: 1883
- containerPort: 15672
imagePullSecrets:
- name: regcred