Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
onkar6699 opened this issue Jun 2, 2021 · 2 comments

Comments

@onkar6699
Copy link

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

@cyb70289
Copy link
Contributor

cyb70289 commented Jun 3, 2021

For testing purpose, spdk service is deployed manually as a standalone service, not by k8s.
However, we do implemented helm charts to deploy spdk and spdk-csi altogether in k8s. You can reference the charts for spdk deployment yaml file.
[1] https://review.spdk.io/gerrit/c/spdk/spdk-csi/+/6691
[2] https://review.spdk.io/gerrit/c/spdk/spdk-csi/+/6924

@cyb70289
Copy link
Contributor

@onkar6699 will you close this issue?

Hamdy-khader referenced this issue in simplyblock-io/simplyblock-csi Aug 22, 2023
Hamdy-khader referenced this issue in simplyblock-io/simplyblock-csi Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants