apiVersion: apps/v1
kind: ReplicaSet
metadata:
  name: myapp-replicaset
  labels: 
    app: myapp
    type: front-end
  annotations:
    buildversion: 1.1.0
spec: 
  replicas: 3
  selector: 
    matchLabels: 
      type: front-end
  template: 
    metadata: 
      name: myapp-pod
      labels: 
        app: myapp
        type: front-end
    spec: 
      containers: 
      - name: nginx-container
        image: nginx
