Running Kubernetes resource files in Podman
Now that we've learned how to generate Kubernetes YAML files containing the necessary resources to deploy our applications, we want to test them in a real scenario.
For this book, we will use the WordPress application again, both in its simple form with a single container and in its multi-pod variation.
The following examples are also available in this book's GitHub repository – you can choose to use the resources that have been generated from your labs or use the prepared manifests in this book's repository.
Important Note
Don't forget to clean up all the previous workloads before testing the creation of Kubernetes resources with Podman.
For all our examples, we will use the podman play kube
command. It offers us an easy and intuitive interface for managing the execution of complex stacks with a good degree of customization.
The first example will be based on the single-pod manifest:
$ podman...