Kubernetes - Level 2 Deploy Grafana

Regarding the Kubernetes Level 2 question, deploying Grafana on Kubernetes cluster. I am having an issue with the task submission. Having believed I did what was required of the task yet it marked me failed saying the deployment name was not used.

Please can this be reviewed and will appreciate any assistance rendered.

Unfortunately, I can’t upload more than one image.

Hi,

I’ve just checked, and it’s working fine on my end. Please make sure you can access Grafana by clicking the icon in the top right of the lab. It would be helpful if you could share the YAML file you used for deployment so we can check for any configuration issues.


@raymond.baoly I have submitted a review of the task after another attempt. https://engineer.kodekloud.com/public-review?task_id=6407205c741b204d59fbe9ff&user_id=64ad8cb0803455eea0a8a17e

Here is the YAML file
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: grafana-deployment
name: grafana-deployment-datacenter
namespace: grafana
spec:
replicas: 1
selector:
matchLabels:
app: grafana-deployment
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: grafana-deployment
spec:
containers:
- image: grafana/grafana:latest
name: grafana
resources: {}
status: {}

Hi,

There’s no requirement to use the grafana namespace. Just keep it as the default namespace.