Kube Feature

Setup make targets to rollout and rollback this project as a deployment onto a Kubernetes cluster.

Usage

To use the Kube Feature, make sure your Projectfile contains the following:

from medikit import require

kube = require('kube')

The kube handle is a KubeConfig instance, and can be used to customize the feature.

Warning

This feature is brand new and should be used with care.

Todo

Write the docs, once the feature stabilize.

Configuration

class medikit.feature.kube.KubeConfig[source]
add_target(name, variant=None, *, patch, patch_path='')[source]
get_targets(variant=None)[source]
get_variants()[source]

Implementation

class medikit.feature.kube.KubeFeature(dispatcher)[source]
Config

alias of KubeConfig

on_make_generate(event)[source]

Listens to medikit.feature.make.on_generate event (priority: -1)

requires = {'docker'}