apiVersion: apps/v1
kind: Deployment
metadata:
  name: dotnetdemoapp-deployment
  namespace: default
  labels:
    app: dotnetdemoapp
spec:
  replicas: 1
  selector:
    matchLabels:
      app: dotnetdemoapp
  template:
    metadata:
      labels:
        app: dotnetdemoapp
    spec:
      containers:
        - name: dotnetdemoapp
          image: raznerdeveloper/dotnetshopdemo
          ports:
            - containerPort: 80
          env:
            - name: ASPNETCORE_ENVIRONMENT
              value: Development
            - name: ELASTIC_APM_SERVER_URLS
              value: apm.kube-system.svc.cluster.local:8200