kubectl v1.18 no longer appears to fully support --record and “kubectl run --restart=Always” now only produces a Pod instead of a Deployment.
Can this question be reviewed / updated / dropped?
It does not appear to be possible for students to perform the provided solution.