Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually, I believe "podman generate kube" is even better: https://www.redhat.com/sysadmin/kubernetes-workloads-podman-...

You can run your docker-compose file, then run "podman generate kube" and you will get a Kubernates yaml file.

Then you can run:

$ escaped=$(system-escape ~/guestbook.yaml)

$ systemctl --user start podman-kube@$escaped.service

And you can enable it to start on boot. It will read the yaml file and create the pod.



Or you just run the kubelet(with systemd) and drop your manifests I to /etc/kubernetes/manifests

Nothing can kube better than the kubelet! The new sidecar support for init containers can be used today. Every other abstraction is playing catch up


FYI you'll have to enable lingering for your user on that system. Otherwise your user services won't start on _boot_ but only when you log in.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: