mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-04-28 03:31:06 +00:00
* Added bash e2e test for static pods. Checks for net1 interface on pod. Signed-off-by: nicklesimba <simha.nikhil@gmail.com> * Enable static pod test in CI Signed-off-by: nicklesimba <simha.nikhil@gmail.com> * Addressed review comments Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
12 lines
254 B
YAML
12 lines
254 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: static-web
|
|
annotations:
|
|
k8s.v1.cni.cncf.io/networks: "bridge-nad"
|
|
spec:
|
|
containers:
|
|
- name: web
|
|
image: centos:8
|
|
command: ["/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait"]
|