The first fix should be clear - the output from Kubectl will explain what you need to do.
When you get the kubectl apply
working you'll find the app still isn't running - you'll need to dig into the details for the objects to see why.
Remember it's the same set of rules that stopped the Pi app from running, so it will need the same sort of fixes.
Need more? Here's the solution.