Files
platform/test/busybox.yaml
2017-07-10 13:40:53 +02:00

51 lines
820 B
YAML

apiVersion: v1
kind: Service
metadata:
name: bbox
labels:
run: bbox
spec:
type: NodePort
ports:
- port: 8080
targetPort: 80
protocol: TCP
name: http
- port: 443
protocol: TCP
name: https
selector:
run: bbox
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: busybox
namespace: default
spec:
replicas: 1
template:
metadata:
labels:
app: busybox
spec:
containers:
- image: busybox
name: busybox
command:
- sleep
- "3600"
ports:
- containerPort: 80
volumeMounts:
- mountPath: /data
name: nfs-vol
volumes:
- name: nfs-vol
nfs:
path: /data
server: git01.itpartner.intern
readOnly: false