Kubernetes Troubleshooting

Please look into this. I sucessfully completed the task as per requirement and below is screenshot of the kubernetes objects I deployed but I was marked failed.
thor@jump_host ~$ kubectl get all
NAME READY STATUS RESTARTS AGE
pod/mysql-deployment-74f5dd5cdf-btxgh 1/1 Running 0 106s

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 443/TCP 39m
service/mysql NodePort 10.96.206.227 3306:30011/TCP 5m43s

NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/mysql-deployment 1/1 1 1 106s

NAME DESIRED CURRENT READY AGE
replicaset.apps/mysql-deployment-74f5dd5cdf 1 1 1 106s
thor@jump_host ~$ kubectl get persistentVolume
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
mysql-pv 250Mi RWO Retain Bound default/mysql-pv-claim standard 6m14s
thor@jump_host ~$ kubectl get persistentVolumeClaim
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
mysql-pv-claim Bound mysql-pv 250Mi RWO standard 6m32s
thor@jump_host ~$

Pls check the selector of “service/mysql” should be match with “deployment.apps/mysql-deployment” Label.

Basically, check the label & selector of POD and its service…

The label app: mysql is same in the deployment, service and pod