I’ve got an error message "template’s spec resources limits ‘memory’ for ‘iron-gallery’ deployment is not ‘100Mi’ under namespace ‘iron-namespace-nautilus’ ". There may be a discrepancy in the description of the task and validation. Please have a look.
"There is iron gallery app the Nautilus DevOps team was developing. They have recently customized the app and going to deploy the same on the Kubernetes cluster. Below you can find more details:
- Create a namespace iron-namespace-nautilus
- Create a deployment iron-gallery-deployment-nautilus for iron gallery under the same namespace you created.
:- Labels run should be iron-gallery.
:- Replicas count should be 1.
:- Selector’s matchLabels run should be iron-gallery.
:- Template labels run should be iron-gallery under metadata.
:- The container should be named as iron-gallery-container-nautilus, use kodekloud/irongallery:2.0 image ( use exact image name / tag ).
:- Resources limits for memory should be 100Mi and for CPU should be 50m.
:- First volumeMount name should be config, its mountPath should be /usr/share/nginx/html/data.
:- Second volumeMount name should be images, its mountPath should be /usr/share/nginx/html/uploads.
:- First volume name should be config and give it emptyDir and second volume name should be images, also give it emptyDir.