diff options
Diffstat (limited to 'testsuites/kubestone/samples')
-rw-r--r-- | testsuites/kubestone/samples/__init__.py | 0 | ||||
-rw-r--r-- | testsuites/kubestone/samples/deployment_sample.yaml | 21 | ||||
-rw-r--r-- | testsuites/kubestone/samples/pod_sample.yaml | 11 |
3 files changed, 32 insertions, 0 deletions
diff --git a/testsuites/kubestone/samples/__init__.py b/testsuites/kubestone/samples/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/testsuites/kubestone/samples/__init__.py diff --git a/testsuites/kubestone/samples/deployment_sample.yaml b/testsuites/kubestone/samples/deployment_sample.yaml new file mode 100644 index 00000000..f7f95dee --- /dev/null +++ b/testsuites/kubestone/samples/deployment_sample.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment + labels: + app: nginx +spec: + replicas: 3 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx:1.7.9 + ports: + - containerPort: 80 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'] |