Boa tarde, Daniel
Executei os dois arquivos abaixo: portal-noticias.yml
apiVersion: v1
kind: Pod
metadata:
name: portal-noticias
labels:
app: portal-noticias
spec:
containers:
- name: portal-noticias-container
image: aluracursos/portal-noticias:1
ports:
- containerPort: 80
svc-portal-noticias.yml
apiVersion: v1
kind: Service
metadata:
name: svc-portal-noticias
spec:
type: NodePort
ports:
- port: 80
#targetPort: 80
nodePort: 30000
selector:
app: portal-noticias
com os comandos kubectl get pods e kubectl get svc, o service e o pod são iniciados corretamente, porem no navegador e no curl retorna connection refused.
Sabe o que pode ser?