diff --git a/kustomize/deployment.yaml b/kustomize/deployment.yaml new file mode 100644 index 0000000..2ecb36a --- /dev/null +++ b/kustomize/deployment.yaml @@ -0,0 +1,24 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: toy + labels: + app: toy + +spec: + replicas: 3 + selector: + matchLabels: + app: toy + template: + metadata: + labels: + app: toy + spec: + containers: + - name: toy + image: git.kill0.net/ryanc/toy:latest + ports: + - name: web + containerPort: 4567 diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml new file mode 100644 index 0000000..c443d2e --- /dev/null +++ b/kustomize/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: toy +resources: + - deployment.yaml