Talk

Sviluppare operatori kubernetes "Pythonicamente"

Friday, May 24

11:00 - 11:30
RoomPizza
LanguageItalian
Audience levelIntermediate
Seats left120
    Elevator pitch

    Gli “Operator” sono un pattern per estendere le capacità di Kubernetes. Di solito si sviluppano in Go, ma se vuoi quel tipo di esperienza in cui vuoi provare velocemente una tua idea, nello stile di Python, allora puoi provare con Kopf e Kwok.

    Abstract

    Kopf è un framework Python per svilippare operatori di Kubernetes usando Python. Sviluppare un operator in Go non è propriamente semplice. Con Kopf invece puoi farlo semplicemente usando qualche Decoratore Python.

    https://kopf.readthedocs.io/en/stable/

    Kwok (Kubernetes Without Kubelet) è un emulatore di Kubernetes, praticamente puoi emulare Nodi oppure Pod a piacimento. Usarlo in combinazione con Kopf è molto utile quando se si vogliono creare condizioni di test complicate da ottenere, per esempio emulare un nodo con 1000 CPU è piü semplice che comprarlo.

    https://github.com/kubernetes-sigs/kwok

    TagsBest Practice, Infrastructure, Operations, DevOps, Deployment/Continuous Integration
    Participant

    Cesare Placanica

    Cesare has been around in software development for a while and currently he is more involved in this DevOps thing for telecommunication called 5G. He’s always been a fan of Linux and Python and nowadays his quest is to interview all the Italian Pythonistas.