Outils pour utilisateurs

Outils du site


tech:notes_podman_quadlet

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_podman_quadlet [2026/10/12 21:48] – créée Jean-Baptistetech:notes_podman_quadlet [2026/10/14 14:45] (Version actuelle) – Jean-Baptiste
Ligne 4: Ligne 4:
 # Notes podman quadlet # Notes podman quadlet
  
 +Voir :
 +* https://blog.stephane-robert.info/docs/conteneurs/moteurs-conteneurs/podman/quadlet/
  
  
Ligne 48: Ligne 50:
  
  
 +
 +-----------
 +
 +## Podman & K8S
 +
 +~~~bash
 +podman generate kube intelligent_lovelace --podman-only > pod.yaml
 +~~~
 +
 +`pod.yaml`
 +~~~ini
 +# Save the output of this file and use kubectl create -f to import
 +# it into Kubernetes.
 +#
 +# Created with podman-5.8.6
 +apiVersion: v1
 +kind: Pod
 +metadata:
 +  annotations:
 +    io.podman.annotations.init/intelligentlovelace: "TRUE"
 +  creationTimestamp: "2026-10-12T19:55:35Z"
 +  labels:
 +    app: intelligentlovelace-pod
 +  name: intelligentlovelace-pod
 +spec:
 +  containers:
 +  - command:
 +    - sleep
 +    - inf
 +    image: docker.io/library/debian:latest
 +    name: intelligentlovelace
 +~~~
 +
 +
 +~~~bash
 +podman kube play pod.yaml
 +~~~
  
  
  
  
tech/notes_podman_quadlet.1791834517.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki