apiVersion: apps/v1
kind: Deployment
metadata:
  name: sampleapp1-deployment
spec:
  replicas: 2
  selector:
    matchLabels:
      app: trialapp
  template:
    metadata:
      labels:
        app: trialapp
    spec:
      containers:
      - name: k8s-trialapp
        image: containergp01.azurecr.io/sample-rakesh
        imagePullPolicy: Always
        resources:
          limits:
            memory: "256Mi"
            cpu: "500m"
        ports:
        - containerPort: 80
