From 018391b2f2dfcb366584d59d1f51c03668820184 Mon Sep 17 00:00:00 2001 From: mohammed Date: Sun, 19 May 2024 17:16:19 +0200 Subject: [PATCH] fix: spec.template.matchLabels.app to spec.selector.matchLabels.app --- software/20.Kubernetes/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/20.Kubernetes/README.md b/software/20.Kubernetes/README.md index 70e3dce7..51a5a22b 100644 --- a/software/20.Kubernetes/README.md +++ b/software/20.Kubernetes/README.md @@ -78,7 +78,7 @@ The Deployment resource for the database must: - Have the name `mongo-deployment`. - Have one replica. - Feature one container based on the `mongo` image. -- Have the `spec.template.matchLabels.app` field and the `spec.template.metadata.labels.app` set to `mongo`. This will be important for later. +- Have the `spec.selector.matchLabels.app` field and the `spec.template.metadata.labels.app` set to `mongo`. This will be important for later. - Expose the port `27017` The Deployment resource for the web server must: @@ -86,7 +86,7 @@ The Deployment resource for the web server must: - Be of kind `Deployment`. - Have the name `server-deployment`. - Have one replica. -- Feature one container based on the `rojasdiego/poc-innovation:kubernetes-workshop` image. +- Feature one container based on the `rojasdiego/ poc-innovation:kubernetes-workshop` image. - Expose the port `3000` Once your deployments YAML are valid, **apply** them with the `kubectl` command.