initial commit

This commit is contained in:
ston1th 2019-08-03 22:31:25 +02:00
commit 0e6be50e37
23 changed files with 1069 additions and 0 deletions

38
testapp/api/api-v1.yaml Normal file
View file

@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: testapp-api
labels:
app: testapp-api
version: v1
spec:
replicas: 1
selector:
matchLabels:
app: testapp-api
version: v1
template:
metadata:
labels:
app: testapp-api
version: v1
spec:
containers:
- name: testapp-api
image: 127.0.0.1:5000/testapp/api:v1
imagePullPolicy: Always
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: testapp-api
labels:
app: testapp-api
spec:
ports:
- port: 8080
name: http
selector:
app: testapp-api