kata-containers/tests/integration/kubernetes/runtimeclass_workloads/pod-hostname.yaml
alex.lyn b25538f670 ci: Introduce CI to validate pod hostname
Fixes #10422

Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
2024-10-21 16:32:56 +01:00

20 lines
363 B
YAML

#
# Copyright (c) 2024 Ant Group.
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: v1
kind: Pod
metadata:
name: test-pod-hostname
spec:
terminationGracePeriodSeconds: 0
runtimeClassName: kata
restartPolicy: Never
containers:
- image: quay.io/prometheus/busybox:latest
name: pod-hostname-c01
command: ["sh"]
args: ["-c", "hostname"]