apiVersion: apps/v1
kind: Deployment
metadata:
  name: go-hostname-deployment
  labels:
    client: internal
    version: 1.0.0
    environtment: dev
  annotations:
      description: Practice Kubernetes Deployment
spec:
  replicas: 3
  selector:
    matchLabels:
      app: go-hostname
  template:
    metadata:
      name: go-hostname-pod
      labels:
        app: go-hostname
    spec:
      containers:
        - name: go-hostname
          image: momo89/go-hostname
          ports:
            - containerPort: 5000
