Simple Deployment

Basic single pod, single container deployment

Parameters

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: {{ name }}
  name: {{ name }}
spec:
{% if replicas > 1 %}  replicas: {{ replicas }}
{% endif %}  selector:
    matchLabels:
      app: {{ name }}
  template:
    metadata:
      labels:
        app: {{ name }}
    spec:
      containers:
      - image: {{ image }}
        name: {{ name }}