Skip to content

how to deploy spdk docker image to k8s can anyone give me yaml file ? #1

@onkar6699

Description

@onkar6699

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions