apiVersion: apps/v1beta1
kind: Deployment
metadata:
  name: helloservice
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: helloservice
    spec:
      containers:
      - name: helloservice
        image: vishipayyallore/helloservice:latest
        ports:
        - containerPort: 80
        env:
        - name: ASPNETCORE_URLS
          value: http://*:80
apiVersion: v1
kind: Service
metadata:
  name: helloservice
spec:
  type: LoadBalancer
  ports:
  - port: 80
  selector:
    app: helloservice