kubernetes: added pod and service description templates
parent
6398c62fc0
commit
7c88a3bf72
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue