add basic tests for users

This commit is contained in:
Brandon B. Jozsa 2016-12-24 10:37:55 -05:00
parent 60908c237a
commit 4071565f66
2 changed files with 27 additions and 0 deletions

14
tests/dns-test.yaml Normal file
View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Pod
metadata:
name: dns-test
namespace: kube-system
spec:
containers:
- image: busybox
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
name: busybox
restartPolicy: Always

13
tests/pvc-test.yaml Normal file
View File

@ -0,0 +1,13 @@
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc-test
annotations:
volume.beta.kubernetes.io/storage-class: general
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi