add kustomize
This commit is contained in:
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
|
Reference in New Issue
Block a user