Metadata-Version: 2.0
Name: zalando-deploy-cli
Version: 0.2
Summary: UNKNOWN
Home-page: https://github.com/zalando-incubator/zalando-deploy-cli
Author: Zalando SE
Author-email: UNKNOWN
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Requires-Dist: clickclick
Requires-Dist: pystache
Requires-Dist: requests
Requires-Dist: stups-zign
Requires-Dist: zalando-kubectl (>=0.7)

==================
Zalando Deploy CLI
==================

Usage
=====

.. code-block:: bash

    $ sudo pip3 install -U zalando-deploy-cli
    $ zdeploy configure \
        --deploy-api=https://deploy-api.example.org \
        --aws-account=aws:7.. \
        --aws-region=eu-central-1 \
        --kubernetes-cluster=aws:7..:kube-1
    $ zdeploy apply ./apply/my-service.yaml --execute \
        application=kio version=cd53 release=12
    $ zdeploy create-deployment deployment.yaml kio cd53 12 --execute
    $ zdeploy wait-for-deployment kio cd53 12
    $ zdeploy switch-deployment kio cd53 12 2/10 --execute
    $ zdeploy wait-for-deployment kio cd53 12
    $ zdeploy switch-deployment kio cd53 12 3/10 --execute
    $ # ..
    $ zdeploy switch-deployment kio cd53 12 10/10 --execute
    $ zdeploy delete-old-deployments kio cd53 12 --execute
    $ zdeploy scale-deployment kio cd53 12 15 --execute # manual scaling


