kata-containers/tests/integration/kubernetes/runtimeclass_workloads/inotify-configmap-pod.yaml
Fabiano Fidêncio 92fff129fd ci: k8s: Don't set cpu limit request for k8s-inotofy test
Without setting the cpu limit / request to 1, we can make this test run
in a smaller VM instance without any issue.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-09-14 22:03:16 +02:00

31 lines
629 B
YAML

#
# Copyright (c) 2021 Apple Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
---
apiVersion: v1
kind: Pod
metadata:
name: inotify-configmap-testing
spec:
containers:
- name: c1
image: quay.io/kata-containers/fsnotify:latest
command: ["bash"]
args: ["-c", "inotifywait --timeout 120 -r /config/ && [[ -L /config/config.toml ]] && echo success" ]
resources:
requests:
memory: 50Mi
limits:
memory: 1024Mi
volumeMounts:
- name: config
mountPath: /config
runtimeClassName: kata
restartPolicy: Never
volumes:
- name: config
configMap:
name: cm