43

深入玩转K8S之利用Label控制Pod位置-态度决定一切

 5 years ago
source link: http://blog.51cto.com/devingeng/2134064
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
首先介绍下什么是Label?Label是Kubernetes系列中一个核心概念。是一组绑定到K8s资源对象上的key/value对。同一个对象的labels属性的key必须唯一。label可以附加到各种资源对象上,如Node,Pod,Service,RC等。通过给指定的资源对象捆绑一个或多个不用的label来实现多维度的资源分组管理功能,以便于灵活,方便地进行资源分配,调度,配置,部署等管理工作。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK