Skip to content

chamodshehanka/kertify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kertify - Kubernetes Exam Simulator

Kertify is a CLI tool designed to help you prepare for Kubernetes certifications like CKAD and CKA. It runs against a real Kubernetes cluster (like Kind) and provides a realistic, interactive exam environment.

Kertify CLI Kertify CLI

Features

  • 🖥️ Interactive TUI: Full terminal UI with exam selection, question navigation, and timers.
  • ⏱️ Real Exam Timer: Simulates the 2-hour exam duration.
  • 🎯 Scenario-Based Questions: Randomly selected practical tasks (e.g., creating Pods, Deployments, Services).
  • Instant Validation: Validate your answers instantly against the cluster without leaving the tool.
  • 📊 Results Summary: Get a detailed report of your performance at the end.
  • 🛠️ Configurable: Add your own scenarios easily via YAML files.

Prerequisites

  • Go 1.25+ (to build)
  • Kind or any Kubernetes cluster
  • kubectl configured to point to your cluster

Installation

  1. Clone and Build:

    git clone https://github.com/chamodshehanka/kertify.git
    cd kertify
    go build -o kertify .
  2. Initialize: Run this command to create the default configuration and scenarios in ~/.kertify:

    ./kertify init

Usage

1. Start an Exam

Run the interactive simulator:

./kertify start
  • Select Exam: Choose between CKAD or CKA from the menu.
  • Navigate: Use arrow keys to browse the question list.
  • Solve: Press Enter on a question to see the task. Open a separate terminal and use kubectl to solve it.
  • Validate: Press v inside the question view to check your answer instantly.
  • Submit: Press s on the question list to finish the exam.

2. Manual CLI Commands (Alternative)

You can also use individual commands if you prefer not to use the TUI:

  • kertify start --exam ckad - Starts a session directly.
  • kertify submit - Validates the current active session state.

Configuration

Configuration is stored in ~/.kertify/config.yaml. Scenarios are located in ~/.kertify/scenarios/. You can add your own YAML files there to extend the question pool.

Example Scenario YAML

id: pod-01
title: "Pod Creation"
exam: ckad
time_limit_seconds: 300
namespace: default
task: |
  Create a Pod named 'nginx-pod' in 'default' ns.
validate:
  kind: Pod
  name: nginx-pod
  checks:
    - path: status.phase
      equals: Running

License

MIT

About

CLI tool to practice LF Exam scenarios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages