David Charles - Managing Kubernetes from Python using Kube
David Charles - Managing Kubernetes from Python using Kube
[EuroPython 2016]
[18 July 2016]
[Bilbao, Euskadi, Spain]
(https://ep2016.europython.eu//conference/talks/managing-kubernetes-from-python-using-kube)
Kubernetes is the Google Borg inspired control plane for Docker
containers. It has a great API but needs a load of HTTP client code
and JSON processing to use it from Python. This talk introduces Kube,
a Python wrapper around the Kubernetes API that enables you to manage
your Kubernetes cluster in a pythonic way while avoiding any
Kubernetes API peculiarities. Programmers and operations folk who are
interested in interacting with the Kubernetes API using Python.
-----
## Abstract
Docker has had a transformative influence on the way we deploy
software and Kubernetes, the Google Borg inspired control plane for
Docker-container- hosting-clusters, is gaining similar momentum.
Being able to easily interact with this technology from Python will
become an increasingly important capability in many organisations.
I'll discuss what the motivations behind writing Kube. We'll dive
into Kube using the Python interactive interpreter, getting connected
to the API, and simple viewing and label update operations. Finally
I'll discuss more advanced resource management activities like Kube's
'watch' API capability.
## Objectives
Attendees will learn about the key concepts in getting resource
information out of their Kubernetes cluster using Kube.
## Outline
1. Setting the scene (3 minutes)
1. Other Python kubernetes wrappers (2 minutes)
1. Kubernetes concepts quick recap (5 minutes)
1. Dive into Kube in the Python interactive interpreter (10 minutes)
* Outline prerequisites
* The entry point - a Cluster instance
* Views and Items - two important Kube concepts
* Item meta data: labels and versions
1. More Kube features (5 minutes)
* Creating and deleting resources
* Using Kube's Watch API support
* The cluster proxy attribute for when you need to get at the actual API.
1. Q&A (5 minutes)
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «David Charles - Managing Kubernetes from Python using Kube», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.