mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-21 16:57:08 +00:00
tests: run k8s-file-volume on a given node
This test can give false-positive on a multi-node cluster. Changed it to use the new get_one_kata_node() and the modified exec_host() to run the setup commands on a given node (that has kata installed) and ensure the test pod is scheduled at that same node. Fixes #7619 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
@@ -11,6 +11,7 @@ spec:
|
||||
terminationGracePeriodSeconds: 0
|
||||
runtimeClassName: kata
|
||||
restartPolicy: Never
|
||||
nodeName: NODE
|
||||
volumes:
|
||||
- name: shared-file
|
||||
hostPath:
|
||||
|
Reference in New Issue
Block a user