Kubernetes Service to Service communication

Asking for help? Comment out what you need so we can get more information to help you!

Hi Everyone. Recently we have been having issues with our deployments. Whenever we make changes to our existing services and build our deployments when the pods are created (say we have scaled 5/5 pods successfully without any errors or CrashLoopbacks) out of the 5 pods atleast one pod stops communicating with the other services. It’s connectivity looks good, no error logs but it doesn’t communicate with other services and does not push any messages to RabbitMQ as well.
We have been trying to know the root cause for this issue.

Cluster information:

Kubernetes version:
Client Version: v1.26.1
Kustomize Version: v4.5.7
Server Version: v1.23.17-gke.1700
Cloud being used: GCP
Installation method: GKE
Host OS:
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

apiVersion: apps/v1
kind: Deployment
metadata:
name: article-service-deployment
namespace: test-system
spec:
replicas: 1
selector:
matchLabels:
app: articles
template:
metadata:
labels:
app: articles
version: v1
spec:
containers:
- image:
imagePullPolicy: IfNotPresent
name: article-service
#resources:
#requests:
#memory: “950Mi”
#cpu: “300m”
#limits:
#memory: “2000Mi”
#cpu: “500m”
ports:
- containerPort: 80
envFrom:
- configMapRef:
name: config-map
- secretRef:
name: secret