Added base project
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: laravel-app
|
||||
namespace: dad-group-x
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: laravel-app
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: laravel-app
|
||||
spec:
|
||||
priorityClassName: high-priority
|
||||
containers:
|
||||
- name: api
|
||||
image: registry-172.22.21.115.sslip.io/dad-group-x/api:v1.0.0
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "300m"
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: laravel-app
|
||||
namespace: dad-group-x
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
selector:
|
||||
app: laravel-app
|
||||
Reference in New Issue
Block a user