kind: Deployment
apiVersion: apps/v1
metadata:
  name: nginx
  namespace: hello-world
  labels:
    app: hello-world
    service: nginx
spec:
  replicas: 2
  selector:
    matchLabels:
      app: hello-world
      service: nginx
  template:
    metadata:
      labels:
        app: hello-world
        service: nginx
    spec:
      containers:
        - name: nginx
          image: localhost:32000/hello-world/nginx:latest
          imagePullPolicy: Always
          ports:
            - containerPort: 80
          resources:
            requests:
              cpu: 10m
              memory: 20Mi
            limits:
              cpu: 50m
              memory: 100Mi
