kubernetes: added pod and service description templates

pull/11/head
Sameer Naik 2015-07-21 21:44:58 +05:30
parent 6398c62fc0
commit 7c88a3bf72
2 changed files with 30 additions and 0 deletions

16
kubernetes/pod.yml Normal file
View File

@ -0,0 +1,16 @@
apiVersion: v1
kind: Pod
metadata:
name: bind
labels:
name: bind
spec:
containers:
- name: bind
image: sameersbn/bind
env:
- name: WEBMIN_ENABLED
value: false
ports:
- containerPort: 53
protocol: UDP

14
kubernetes/service.yml Normal file
View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: bind
labels:
name: bind
spec:
type: LoadBalancer
ports:
- port: 53
targetPort: 53
protocol: UDP
selector:
name: bind