Skip to content

DevOps Case Study: Key insights on Kubernetes, GitOps, monitoring, security & networking. | Případová studie pro DevOps Engineer roli: Klíčové poznatky o Kubernetes, GitOps, monitoringu, bezpečnosti a síťování.

Notifications You must be signed in to change notification settings

ILXNAH/devops-case-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps Case Study

📌 This README is bilingual. For the Czech version, scroll down or click here.

Repository Overview

This repository contains a case study for a DevOps role, including various questions and answers related to containerization, networking, Kubernetes, GitOps, and infrastructure automation.

⚠ This repository includes repository-specific Git configuration files (git-config) that reference a specific GitHub account and email address. Before using them, update the values to match your own details.

Table of Contents

Repository Structure

devops-case-study/
├── .gitattributes
├── .gitignore
├── git-config
├── setup-hooks.sh
├── hooks/
│   └── post-checkout
├── README.md
├── cz/
├── en/                      
│   ├── gitops.md
│   ├── kubernetes.md
│   ├── monitoring.md
│   ├── networking.md
│   ├── security.md

Case Study Chapter Navigation

Setting Up the Repository

To ensure the repository-specific Git configuration is applied automatically, follow these steps:

1. Clone the Repository

git clone https://github.com/ILXNAH/devops-case-study.git
cd devops-case-study

2. Set Up Git Hooks

Since Git does not track the .git/hooks/ directory, you need to run the following setup script to install the required Git hooks:

./setup-hooks.sh

This script will:

  • Copy the post-checkout hook from the hooks/ directory to .git/hooks/.
  • Ensure the script is executable.
  • Apply the repository-specific Git configuration automatically.

Git hooks are scripts that run automatically at specific points in the Git workflow.
In this repository, the post-checkout hook ensures that after switching branches or checking out the repository, the correct Git configuration is applied.

3. Verify Configuration

⚠ If you use this repository, make sure to update git-config with your own email and GitHub username before committing any changes. To confirm that the Git configuration was successfully applied, run:

git config --local --list

You should see a line similar to:

include.path=./git-config

License

This project is licensed under the MIT License.


Česká verze

Přehled repozitáře

Tento repozitář obsahuje případovou studii pro roli DevOps, včetně různých otázek a odpovědí týkajících se kontejnerizace, sítí, Kubernetes, GitOps a automatizace infrastruktury.

⚠ Tento repozitář obsahuje specifické Git konfigurační soubory (git-config), které odkazují na konkrétní GitHub účet a e-mailovou adresu. Před jejich použitím si hodnoty upravte podle vlastních údajů.

Obsah

Struktura repozitáře

devops-case-study/
├── .gitattributes
├── .gitignore
├── git-config
├── setup-hooks.sh
├── hooks/
│   └── post-checkout
├── README.md
├── cz/
│   ├── bezpečnost.md
│   ├── gitops-cz.md
│   ├── kubernetes-cz.md
│   ├── monitoring-cz.md
│   ├── síťování.md
├── en/                      

Navigace kapitolami případové studie

Jak nastavit repozitář

Aby byla automaticky aplikována specifická Git konfigurace pro tento repozitář, postupujte následovně:

1. Naklonování repozitáře

git clone https://github.com/ILXNAH/devops-case-study.git
cd devops-case-study

2. Nastavení Git hooků

Protože Git standardně nesleduje adresář .git/hooks/, je nutné spustit následující skript pro instalaci požadovaných Git hooků:

./setup-hooks.sh

Tento skript:

  • Zkopíruje hook post-checkout ze složky hooks/ do .git/hooks/.
  • Ujistí se, že je skript spustitelný.
  • Automaticky aplikuje specifickou konfiguraci Git repozitáře.

Git hooky jsou skripty, které se automaticky spouštějí v určitých fázích Git workflow.
V tomto repozitáři post-checkout hook zajišťuje, že po přepnutí větve nebo klonování repozitáře bude správně nastavena Git konfigurace.

3. Ověření konfigurace

⚠ Pokud používáte tento repozitář, ujistěte se, že jste v souboru git-config aktualizovali údaje s vaším vlastním e-mailem a GitHub uživatelským jménem před odesláním změn. Pro ověření, že byla Git konfigurace úspěšně aplikována, spusťte:

git config --local --list

Měl by se zobrazit řádek podobný:

include.path=./git-config

Licence

Tento projekt je licencován pod MIT licencí.

About

DevOps Case Study: Key insights on Kubernetes, GitOps, monitoring, security & networking. | Případová studie pro DevOps Engineer roli: Klíčové poznatky o Kubernetes, GitOps, monitoringu, bezpečnosti a síťování.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages