apiVersion: apps/v1
kind: Deployment
metadata:
  name: go-sample-service
spec:
  replicas: 2
  selector:
    matchLabels:
      app: go-sample-service
  template:
    metadata:
      labels:
        app: go-sample-service
    spec:
      containers:
      - name: go-sample-service
        image: go-sample-service
        ports:
        - containerPort: 8080