adding kub templates
This commit is contained in:
parent
5188bb0e10
commit
4bab381ca3
2 changed files with 25 additions and 0 deletions
20
lua/custom/templates/k8s-deployment.yaml
Normal file
20
lua/custom/templates/k8s-deployment.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: <name>
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: <name>
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: <name>
|
||||
spec:
|
||||
containers:
|
||||
- name: <name>
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue