Interface for handling PVCs in the kube method
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- go, kubernetes
- Domaine
- devops, infrastructure
Piste de recherche
Commencez par suivre les points d’entrée kubePlay() et kubeDown() pour les spécifications de PVC et les volumes Podman correspondants. Déterminez les contrôles prévus pour la suppression et la recréation, puis vérifiez que l’application et la suppression d’un YAML contenant un PVC et un pod produisent le cycle de vie documenté du volume sans laisser de volume en conflit.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Go
- Étoiles
- 178
- Forks
- 25
- Merge moyen
- 1 j 2 h
- PR mergées (30 j)
- 2
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de containers/fetchit
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
containers/fetchit#429 ·
-
Clone from public Codeberg repository fails with authentication requiredPeut-être pris @cooktheryan l’a pris il y a 16 jours. Ouverte
Difficulté 3/5 Une demi-journée Accessibilité débutants 65/100
containers/fetchit#425 · 3 commentaires · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
containers/fetchit#242 ·
-
packaging the fetchit systemd services into RPM?Peut-être à nouveau libre @cooktheryan l’a pris il y a 1557 jours, et aucune pull request n’est ouverte. Ouverte
containers/fetchit#218 · 1 personne assignée ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
containers/fetchit#216 · 2 commentaires ·
Toutes les issues de containers/fetchit
Issues similaires
-
test_archive_is_downloaded_after_logout_login doesn't wait for the storage client after loginOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour
-
list_issues and search_issues: inconsistent `fields` allow-lists (`html_url` rejected by list)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
github/github-mcp-server#3960 ·
Les mainteneurs répondent en général sous 3 jours
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
JuliusBrussee/caveman#1594 ·
Les mainteneurs répondent en général sous 1 jour
-
C-bug O-community X-blathers-triaged
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
cockroachdb/cockroach#176264 · 1 commentaire ·