Acessei o bash do pod-1 e não consegui me comunicar som o pod-2.
Conteúdo do .yaml
apiVersion: v1
kind: Service
metadata:
name: svc-pod-2
spec:
type: ClusterIP
selector:
app: segundo-pod
ports:
- port: 80
---
apiVersion: v1
kind: Pod
metadata:
name: pod-2
labels:
name: segundo-pod
spec:
containers:
- name: container-pod-2
image: nginx:latest
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 80