Sometimes you may want to convert PuppetDSL into Kubernetes Yaml format.
For this we have the compile subcommand.
puppet kubernetes compile --manifest examples/guestbook.pp
The above will output YAML to stdout which could them be used with kubectl or similar tooling.