add kustomize
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m1s
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m1s
This commit is contained in:
parent
949ec2f719
commit
72d77a5d7a
24
kustomize/deployment.yaml
Normal file
24
kustomize/deployment.yaml
Normal file
@ -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
|
6
kustomize/kustomization.yaml
Normal file
6
kustomize/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: toy
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
Loading…
Reference in New Issue
Block a user