chore: initialize containerized Python learning workbook (2026 DevOps/SRE)

This commit is contained in:
soda64 committed 2026-11-30 22:55:56 +01:00
commit ae4c421815
63 files changed
+1273

No files matched your search

@@ -0,0 +1,18 @@
from collections.abc import Callable
import yaml
def extract_k8s_images(manifest_yaml: str) -> list[str]:
_ = yaml
raise NotImplementedError(
"Użyj yaml.safe_load i wyciągnij image z spec.template.spec.containers"
)
def count_error_lines(log_text: str) -> int:
raise NotImplementedError("Policz linie zawierające 'ERROR' lub 'CRITICAL'")
def retry_call[T](fn: Callable[[], T], attempts: int) -> T:
raise NotImplementedError("Wywołuj fn() do attempts razy przy RuntimeError")