summaryrefslogtreecommitdiffstats
path: root/testsuites/kubestone/samples/pod_sample.yaml
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-08-15 12:39:33 +0800
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-08-16 20:25:07 +0800
commiteacf878ec5372a6db4596c9cbc78ef96bf2453b9 (patch)
treee1d525b9c645ee10fc26f203e5b899d0e34cd9e6 /testsuites/kubestone/samples/pod_sample.yaml
parent480c3c51a0a2bcc67ac5ca1d96cb63153bf9fff8 (diff)
add k8s capacity test case
JIRA: BOTTLENECK-243 Change-Id: I0f36aac10cf0e05560051c785ada397e0c97e112 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'testsuites/kubestone/samples/pod_sample.yaml')
-rw-r--r--testsuites/kubestone/samples/pod_sample.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/kubestone/samples/pod_sample.yaml b/testsuites/kubestone/samples/pod_sample.yaml
new file mode 100644
index 00000000..3035cbb2
--- /dev/null
+++ b/testsuites/kubestone/samples/pod_sample.yaml
@@ -0,0 +1,11 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: myapp-pod
+ labels:
+ app: myapp
+spec:
+ containers:
+ - name: myapp-container
+ image: busybox
+ command: ['sh', '-c', 'echo Hello Kubernetes! && sleep 3600']