mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
This imports the k8s-volume test from the tests repo and modifies it slightly to set up the host volume on the AKS host. Fixes: #6566 Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
27 lines
511 B
YAML
27 lines
511 B
YAML
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
kind: Pod
|
|
apiVersion: v1
|
|
metadata:
|
|
name: pv-pod
|
|
spec:
|
|
terminationGracePeriodSeconds: 0
|
|
runtimeClassName: kata
|
|
volumes:
|
|
- name: pv-storage
|
|
persistentVolumeClaim:
|
|
claimName: pv-claim
|
|
containers:
|
|
- name: pv-container
|
|
image: quay.io/prometheus/busybox:latest
|
|
ports:
|
|
command:
|
|
- sleep
|
|
- "120"
|
|
volumeMounts:
|
|
- mountPath: "/mnt/"
|
|
name: pv-storage
|