SPDX-License-Identifier: Apache-2.0
Copyright (c) Arm Limited and Contributors
Copyright (c) Intel Corporation
FROM fedora:33
ARG TAG=v20.01
ARG ARCH=native
WORKDIR /root
RUN dnf install -y git
RUN git clone https://github.com/spdk/spdk --branch ${TAG} --depth 1 &&
cd spdk && git submodule update --init --depth 1 && scripts/pkgdep.sh
RUN cd spdk &&
./configure --disable-tests --without-vhost --without-virtio
--with-rdma --target-arch=${ARCH} &&
make
i am using this docker image i want to deploy it on k8s how i can ?
i am able to run container using following command
sudo docker run -it --rm --name spdkdev --privileged --net host -v /dev/hugepages:/dev/hugepages -v /dev/shm:/dev/shm spdkdev /root/spdk/app/spdk_tgt/spdk_tgt
how i can deploy to k8s . thanks in advance