diff --git a/scenarios/data/deployment-rollback.json b/scenarios/data/deployment-rollback.json index 3309e0e..6bb5c99 100644 --- a/scenarios/data/deployment-rollback.json +++ b/scenarios/data/deployment-rollback.json @@ -5,7 +5,7 @@ "difficulty": "Easy", "type": "task", "weight": 5, - "description": "## Rolling Back a Deployment\n\nA deployment `api-server` was mistakenly updated to a broken image. Your task is to roll it back to the previous working revision.\n\n**Your task:**\n\nRoll back the `api-server` deployment to its previous revision.\n\n```bash\n# Check rollout history\nkubectl rollout history deployment/api-server\n# Rollback\nkubectl rollout undo deployment/api-server\n```", + "description": "## Rolling Back a Deployment\n\nA deployment `api-server` was mistakenly updated to a broken image. Your task is to roll it back to the previous working revision.\n\n**Your task:**\n\nRoll back the `api-server` deployment to its previous revision.\n\n> 💡 Tip: Check `kubectl rollout --help` for subcommands that deal with revision history.", "hints": [ { "title": "Undo a rollout", diff --git a/scenarios/data/dry-run-manifest-basics.json b/scenarios/data/dry-run-manifest-basics.json index 491b024..c5b4227 100644 --- a/scenarios/data/dry-run-manifest-basics.json +++ b/scenarios/data/dry-run-manifest-basics.json @@ -5,7 +5,7 @@ "difficulty": "Easy", "type": "task", "weight": 4, - "description": "## Generating and Applying Manifests with Dry Run\n\nInstead of writing YAML from scratch, you can use `kubectl` to generate templates using `--dry-run=client -o yaml` and then apply them.\n\n**Your task:**\n\nUse `kubectl run` with `--dry-run=client -o yaml` to generate a Pod manifest for `web-pod` using image `httpd:alpine`, then pipe it directly to `kubectl apply -f -` to create the pod.\n\n```bash\nkubectl run web-pod --image=httpd:alpine --dry-run=client -o yaml | kubectl apply -f -\n```", + "description": "## Generating and Applying Manifests with Dry Run\n\nInstead of writing YAML from scratch, you can use `kubectl` to generate templates using `--dry-run=client -o yaml` and then apply them.\n\n**Your task:**\n\nUse `kubectl run` with `--dry-run=client -o yaml` to generate a Pod manifest for `web-pod` using image `httpd:alpine`, then pipe it directly to `kubectl apply` to create the pod.\n\n> 💡 Tip: Chain the `kubectl run` dry-run output directly into `kubectl apply` using a pipe.", "hints": [ { "title": "Combine dry-run with apply", diff --git a/scenarios/data/rolling-update-task.json b/scenarios/data/rolling-update-task.json index b5ad0b2..a44f4ba 100644 --- a/scenarios/data/rolling-update-task.json +++ b/scenarios/data/rolling-update-task.json @@ -5,7 +5,7 @@ "difficulty": "Easy", "type": "task", "weight": 5, - "description": "## Perform a Rolling Update\n\nA Deployment named `app-v1` is running `nginx:1.24`. Your team needs to upgrade it to `nginx:1.25`.\n\n**Your task:**\n\nUpdate the image of the `app-v1` deployment to `nginx:1.25` using a rolling update strategy. Ensure all replicas are running the new image.\n\n```bash\n# Hint: kubectl set image can update an image in-place\nkubectl set image deployment/ =\n```", + "description": "## Perform a Rolling Update\n\nA Deployment named `app-v1` is running `nginx:1.24`. Your team needs to upgrade it to `nginx:1.25`.\n\n**Your task:**\n\nUpdate the image of the `app-v1` deployment to `nginx:1.25` using a rolling update strategy. Ensure all replicas are running the new image.", "hints": [ { "title": "Set a new image on a Deployment", diff --git a/scenarios/data/scale-deployment.json b/scenarios/data/scale-deployment.json index 02154a1..4f11fe0 100644 --- a/scenarios/data/scale-deployment.json +++ b/scenarios/data/scale-deployment.json @@ -5,7 +5,7 @@ "difficulty": "Easy", "type": "task", "weight": 4, - "description": "## Scaling a Deployment\n\nA deployment named `webapp` is currently running with **1 replica**. Traffic has increased and you need to scale it up.\n\n**Your task:**\n\nScale the `webapp` deployment to **4 replicas** and verify all pods become Ready.\n\n```bash\n# You can use the imperative command\nkubectl scale deployment webapp --replicas=4\n# Or edit the manifest\nkubectl edit deployment webapp\n```", + "description": "## Scaling a Deployment\n\nA deployment named `webapp` is currently running with **1 replica**. Traffic has increased and you need to scale it up.\n\n**Your task:**\n\nScale the `webapp` deployment to **4 replicas** and verify all pods become Ready.", "hints": [ { "title": "Scale imperatively",