معرفی شرکت ها


docker-auto-labels-0.2.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Automatically generate Docker Swarm mode node
ویژگی مقدار
سیستم عامل -
نام فایل docker-auto-labels-0.2.3
نام docker-auto-labels
نسخه کتابخانه 0.2.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/docker-auto-labels/
مجوز -
labels for each constraint label in each service in a Docker Compose / Docker Stack file. Home-page: https://github.com/tiangolo/docker_auto_labels Author: Sebastian Ramirez Author-email: tiangolo@gmail.com License: MIT license Description: # Docker Auto Labels [![](https://img.shields.io/pypi/v/docker-auto-labels.svg)](https://pypi.python.org/pypi/docker-auto-labels) [![](https://img.shields.io/travis/tiangolo/docker-auto-labels.svg)](https://travis-ci.org/tiangolo/docker-auto-labels) Automatically generate Docker Swarm mode node labels for each constraint label in each service in a Docker Compose / Docker Stack file. ## Description This command line package is made to be used with a Docker Swarm mode cluster. It will: * Read a Docker Compose / Docker Stack file. * Extract the node label constraints for each service. * Check that all the labels exist in the Docker Swarm mode cluster. * For each label that doesn't exist, create it in a random node in the cluster. Adding label constraints helps you ensure that all the "stateful" Docker services (like databases) are always deployed to the same node (specially useful in a multi-node cluster). This program will ensure that those labels exist in one node in the cluster, if they don't exist, they are created in one node chosen randomly. That way, the first time you deploy a stack, a random node will be assigned to each stateful service (by this command, right before the deployment). And for all subsequent deployments, the stateful services will go to the same nodes that they were using. For examples on how to use it, check: https://github.com/tiangolo/full-stack ## Credits This package was created with Cookiecutter_ and the `elgertam/cookiecutter-pipenv`_ project template, based on `audreyr/cookiecutter-pypackage`_. [Cookiecutter](https://github.com/audreyr/cookiecutter) [`elgertam/cookiecutter-pipenv`](https://github.com/elgertam/cookiecutter-pipenv) [`audreyr/cookiecutter-pypackage`](https://github.com/audreyr/cookiecutter-pypackage) ## License MIT License ======= History ======= 0.1.0 (2018-05-01) ------------------ * First release on PyPI. Keywords: docker_auto_labels Platform: UNKNOWN Classifier: Development Status :: 2 - Pre-Alpha Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6


نیازمندی

مقدار نام
>=6.0 Click
- docker
- pyyaml


نحوه نصب


نصب پکیج whl docker-auto-labels-0.2.3:

    pip install docker-auto-labels-0.2.3.whl


نصب پکیج tar.gz docker-auto-labels-0.2.3:

    pip install docker-auto-labels-0.2.3.tar.gz