Have anyone found this issue? I even tested it in a simple docker-desktop local cluster and confirms the above
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
name: rabbitmq
namespace: test
spec:
selector:
matchLabels:
app: rabbitmq
template:
metadata:
creationTimestamp: null
labels:
app: rabbitmq
deployment: IDHP
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- rabbitmq
topologyKey:
kubernetes.io/hostname weight: 50
containers:
- env:
- name: RABBITMQ_DEFAULT_USER
value: admin
- name: RABBITMQ_DEFAULT_PASS
value: Midiway2018$
- name: RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS
value: -rabbit path_prefix "/rabbitmq/"
image: rabbitmq:3.10-alpine
imagePullPolicy: Always
livenessProbe:
exec:
command:
- rabbitmq-diagnostics
- ping
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: rabbitmq
readinessProbe:
exec:
command:
- rabbitmq-diagnostics
- ping
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 800m
memory: 2560Mi
requests:
cpu: 15m
memory: 500Mi
securityContext:
allowPrivilegeEscalation: false
capabilities: {}
privileged: false
readOnlyRootFilesystem: false
runAsNonRoot: false
startupProbe:
exec:
command:
- rabbitmq-diagnostics
- ping
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
stdin: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
tty: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: nexusall
- name: nexus-ssl-vm
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30