4 ms·
There's apparently a 'podman play kube' command that can take some k8s yaml like pod descriptions and instantiate them directly: https://docs.podman.io/en/lates
by qbasic_forever 4y ago
There's apparently a 'podman play kube' command that can take some k8s yaml like pod descriptions and instantiate them directly: https://docs.podman.io/en/latest/markdown/podman-play-kube.1.html https://docs.podman.io/en/latest/markdown/podman-play-kube.1... I hadn't heard of this until now but it sounds pretty nifty!
- arinlen 4y ago> There's apparently a 'podman play kube' command that can take some k8s yaml like pod descriptions and instantiate them directly Wow that's a heck of a killer feature. Once Podmam implements a replacement for Docker's docker swarm, Docker is effectively deprecated.
- qbasic_forever 4y agoI honestly wouldn't put much faith in swarm being viable for long. Mirantis basically stopped working on it before they broke docker apart. The current docker company seems much more focused on developer experience tooling, not distributed systems. There are some longstanding swarm issues and bugs, particularly with changing configurations or one time jobs, that will probably never be fixed. I'd go straight to kubernetes and skip swarm personally. Stuff like k3s make kubernetes much easier to deploy at a small scale. Or I'd look at Hashi's nomad if something about k8s was really a blocker.
- pkulak 4y agoExactly. Here's a pod.yaml I use for testing a service at work: https://gist.github.com/pkulak/d22407b887461b416891b78fb3793971 https://gist.github.com/pkulak/d22407b887461b416891b78fb3793... It can probably be even more concise, but I stopped stripping stuff out here.