apiVersion: apps/v1
kind: Deployment
metadata: 
  name: sistema-noticias-deployment
spec:
  template:
    metadata: 
      name: sistema-noticias
      labels: 
        app: sistema-noticias
    spec:
      containers: 
        - name: sistema-noticias-container
          image: aluracursos/sistema-noticias:1
          ports:
            - containerPort: 80
          envFrom: 
            - configMapRef:
                name: sistema-configmap
  replicas: 3
  selector: 
    matchLabels: 
      app: sistema-noticias
            