azure pipeline 추가

This commit is contained in:
kimscott
2020-02-03 15:12:49 +09:00
parent bc911859d7
commit a2ae16fec3
3 changed files with 172 additions and 0 deletions

16
kubernetes/deploy.yaml Normal file
View File

@@ -0,0 +1,16 @@
apiVersion : apps/v1beta1
kind: Deployment
metadata:
name: product
spec:
replicas: 1
template:
metadata:
labels:
app: product
spec:
containers:
- name: product
image: myeventstormingregistry.azurecr.io/product
ports:
- containerPort: 8080

12
kubernetes/service.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: product
labels:
app: product
spec:
ports:
- port: 8080
targetPort: 8080
selector:
app: product