This directory contains interactive tutorial scenarios for Killercoda.
Database-Driven Kubernetes Automation in 10 Minutes
A hands-on tutorial that walks users through:
- Installing Lynq Operator with cert-manager
- Setting up a MySQL database with sample tenant data
- Creating a LynqHub to sync database rows
- Defining a LynqForm template
- Testing the full tenant lifecycle (add, deactivate, reactivate, update)
Duration: ~10 minutes Environment: Kubernetes (kubeadm 1-node)
- Create an account on Killercoda
- Fork/clone this repository
- Go to Killercoda Creator
- Connect your GitHub repository
- Select the
killercodadirectory as the scenarios root - Publish the scenarios
Each scenario follows this structure:
scenario-name/
├── index.json # Scenario configuration
├── intro.md # Introduction page
├── step1.md # Step 1
├── step2.md # Step 2
├── ...
└── finish.md # Completion page
{
"title": "Scenario Title",
"description": "Short description",
"details": {
"intro": { "text": "intro.md" },
"steps": [
{ "title": "Step Title", "text": "step1.md" }
],
"finish": { "text": "finish.md" }
},
"backend": {
"imageid": "kubernetes-kubeadm-1node"
}
}kubernetes-kubeadm-1node- Single node Kubernetes clusterkubernetes-kubeadm-2nodes- Two node Kubernetes clusterubuntu- Plain Ubuntu environment
When creating new scenarios:
- Create a new directory under
killercoda/ - Add
index.jsonwith scenario metadata - Add markdown files for each step
- Use
{{exec}}suffix for executable code blocks - Test locally using Killercoda's preview feature
```bash
kubectl get pods
```{{exec}}This renders as a clickable command that users can execute.