Alireza Nasri:
Hi, good morning
I have got a task assigned a snip of task is here.
I want to know what labels run means here?
Create a deployment iron-gallery-deployment-datacenter
for iron gallery
under the same namespace you created.
:- Labels run
should be iron-gallery
.
:- Replicas count should be 1
.
Nguyen Duc Quynh:
run=iron-gallery
unnivkn:
alias k=kubectl
k -n my-namespace create deployment iron-gallery-deployment-datacenter --image=nginx
k -n my-namespace label deployment iron-gallery-deployment-datacenter run=iron-gallery
k -n my-namespace get deploy iron-gallery-deployment-datacenter --show-labels
Alireza Nasri:
I can write a manifest file to deploy the app . is that fine?