testcontainers / testcontainers/testcontainers-python

Feature: Podman Kube Play support

未关闭
#868 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

🚀 enhancement
主要语言
Python
星标
2.3k
派生
386
平均合并
4 小时 40 分钟
30 天内合并 PR
1

描述

What are you trying to do?

Today we can use the DockerCompose class to start a compose file

https://github.com/testcontainers/testcontainers-python/blob/60d21f875f49f52e170b0714e8790080a6cb4c71/core/testcontainers/compose/compose.py#L156-L157

Podman has a unique feature called Podman Kube Play allowing you to start services, formatted in a Kubernetes-like format and run without a Kubernetes cluster, with only containers. This is very useful for workflow where a full Kubernetes cluster is not needed.

In a similar way of starting compose project, it would be nice to be able to start Podman.

Why should it be done this way?

With our Ubuntu GitHub runners, Podman is installed by default, with the Kube Play feature already available, it would ease the setup to directly have support for this feature with testcontainers.


I would be motivated to do the contribution if this is something that can be accepted

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 core/testcontainers/compose/compose.py 开始,重点查看 issue 中引用的 DockerCompose 启动入口,并阅读链接的 Podman Kube Play 文档。确定在没有集群的情况下从 Kubernetes 格式文件启动服务所需的 API 和测试覆盖范围;完成结果应通过测试演示该工作流。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。