Task Failed - Deploy Jenkins on Kubernetes

Hi Team,
Task failed without explanation.
Please see the below command and let me know what went wrong.
Thanks

maybe you use Tab instead of spaces. Can you post ur yaml?

Hi Team,
Please see the below codes.

Even if i do use Tab , it supposed to give me an error isnt it?
Thanks for your reply.
Please let me know.
Thanks

You didn’t add label app=jenkins to the metadata section of Deployment.

Hi,
Please see the below screenshot.
isn’t that’s what was asked?
image
If not, should I just add the below code
metadata:
label app = jenkins ?
Thanks

@mdrkarim

apiVersion: apps/v1
kind: Deployment
metadata:
name: jenkins-deployment
labels:
app: jenkins

seems image is not right. . you need to stick to what is mentioned in the task

Thanks for replying back.
Wanted to make sure the below code is what we need
image
Thanks

HI tgp,
Can you please provide some more information.
Not sure which one u r talking about.
Thanks

@mdrkarim

Move name: jenkins-deployment one space to the right.

The image should be jenkins not jenkins/jenkins:lts

image used for the container should be jenkins

Thanks to both of you for the help. Cheers