Interface for handling PVCs in the kube method
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- go, kubernetes
- 领域
- devops, infrastructure
调研方向
首先跟踪 PVC 规格及其对应 Podman 卷的 kubePlay() 和 kubeDown() 入口点。确定预期的删除和重新创建控制,然后验证应用和删除包含 PVC 与 pod 的 YAML 是否会产生文档中说明的卷生命周期,且不会留下冲突的卷。
由索引模型根据 Issue 内容生成。
描述
Currently, it seems Podman supports the creation of PVCs, through Podman volumes, so if a container in a pod mounts a PVC, Podman will mount a Podman volume onto that container.
Using kubePlay() on a YAML containing a PVC spec should therefore create a Podman volume in the background, but I've observed that kubeDown(), doesn't actually do anything to PVCs specified in a YAML that is passed to it. So if I have a YAML that defines a PVC and a POD, on deletion the POD will get taken down, but nothing will happen to the PVC, so if I try to apply that same YAML again after having deleted it, I get an error saying that a volume already exists, since the original volume never got deleted. This behaviour sort of makes sense, Podman does not want to accidentally delete volumes because the whole point is to persist data, and that requires the volumes to never be deleted I guess.
There is also the issue of letting users tell Harpoon when they want to recreate the volume, there is currently no way for users to do that at the moment.
This would be worth it to look into if we want to clarify/enhance the use of PVCs with the kube method.
- 主要语言
- Go
- 星标
- 178
- 派生
- 25
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 2
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
containers/fetchit 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
containers/fetchit#429 ·
-
Clone from public Codeberg repository fails with authentication required可能已有人在做 @cooktheryan 于 16 天前认领。 未关闭
难度 3/5 半天 新手友好度 65/100
containers/fetchit#425 · 3 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
containers/fetchit#242 ·
-
packaging the fetchit systemd services into RPM?可能重新可做 @cooktheryan 于 1557 天前认领,目前没有进行中的 PR。 未关闭
containers/fetchit#218 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 25/100
containers/fetchit#216 · 2 条评论 ·
查看 containers/fetchit 的全部 Issue
相似的 Issue
-
Area/Agent Lifecycle Aspect/Build & Deploy Severity/Major Type/Bug
难度 2/5 1-3 小时 新手友好度 86/100
wso2/agent-manager#2603 ·
维护者通常 1 天内回复
-
[Enhancement] platform-engineer: a definition change does not re-render running Applications; say how to roll it out可能已有人在做 @anoop2811 今天认领。 未关闭needs-triage type/enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Area/Policies Aspect/API Severity/Major Type/Bug
难度 2/5 1-3 小时 新手友好度 76/100
wso2/api-platform#4468 ·
维护者通常 1 天内回复
-
review: medium
难度 2/5 1-3 小时 新手友好度 78/100
1lck/Lithe-IDEA#2432 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
dsx-ai-factory/health-validation#368 ·
维护者通常 2 天内回复