apiVersion: apps/v1
kind: ReplicaSet
metadata:
  name: rs-nginx
  labels:
    app: rs
spec:
  replicas: 3
  selector:
    matchLabels:
      app: nginx-app
  template: 
    metadata:
      name: nginx-pod
      labels:
        app: nginx-app
    spec:
     containers:
       - name: nginx-container
         image: nginx

