add kubectl deploy stage

This commit is contained in:
Nana Janashia
2020-12-05 10:12:03 +01:00
parent d2bb88b269
commit c22ccead98
3 changed files with 43 additions and 1 deletions

11
kubernetes/service.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: $APP_NAME
spec:
selector:
app: $APP_NAME
ports:
- protocol: TCP
port: 80
targetPort: 8080