apiVersion: apps/v1
kind: ReplicaSet
metadata:
  name: portal-noticias-replica-set
spec:
  selector:
    matchLabels:
      app: portal-noticias
  template:
    metadata:
      labels:
        app: portal-noticias
    spec:
      containers:
        - name: portal-noticias
          image: aluracursos/portal-noticias:1
          ports:
            - containerPort: 80
          envFrom:
            - configMapRef:
                name: portal-noticias-config-map
  replicas: 3
