test full deploy

This commit is contained in:
ducoterra
2020-04-22 13:27:40 -04:00
parent 070c9cd477
commit d0b44de0f8
5 changed files with 75 additions and 28 deletions

25
k8s/deploy.yaml Normal file
View File

@@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
spec:
selector:
matchLabels:
app: test
template:
metadata:
labels:
app: test
spec:
containers:
- name: test
image: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
resources:
limits:
memory: "256Mi"
cpu: "250m"
requests:
memory: "1Mi"
cpu: "1m"
ports:
- containerPort: 8000