Code files

This commit is contained in:
Akhil
2017-07-31 11:33:31 +05:30
parent 073a63ebdd
commit b9ae409ec0
801 changed files with 17535 additions and 0 deletions
@@ -0,0 +1,17 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: _NAME_
spec:
replicas: 1
template:
metadata:
labels:
run: _NAME_
spec:
containers:
- name: _NAME_
image: _IMAGE_
ports:
- containerPort: _PORT_
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: micro
labels:
name: micro
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: _NAME_
labels:
run: _NAME_
spec:
ports:
- port: _PORT_
name: main
protocol: TCP
targetPort: _PORT_
selector:
run: _NAME_
type: NodePort