apiVersion: apps/v1
kind: Deployment
metadata:
  name: goexample
spec:
  selector:
    matchLabels:
      app: goexample
  replicas: 1
  template:
    metadata:
      labels:
        app: goexample
    spec:
      containers:
        - name: goexample
          image: asatrya/goexample
          resources:
            limits:
              memory: "128Mi"
              cpu: "100m"
          ports:
            - containerPort: 8081