Categorygithub.com/mayankshah1607/kubectl-flagger
repository
0.0.0-20210426064614-c1eaa079efca
Repository: https://github.com/mayankshah1607/kubectl-flagger.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

kubectl-flagger

A kubectl plugin for manually gating Flagger based Canary deployments.

Prerequisites

Installation

# clone this repo
$ git clone https://github.com/mayankshah1607/kubectl-flagger

$ cd kubectl-flagger

# install
$ make

Ensure that installation is working correctly:

$ kubectl flagger --help

Usage

1. Manual promotion

$ kubectl flagger promote [canary name] [canary namespace] [flags]

# promote canary/podinfo in namespace/app
# use `-n` to specify the namespace where flagger-loadtester is installed
$ kubectl flagger promote podinfo app -n tester

2. Manual rollback

$ kubectl flagger rollback [canary name] [canary namespace] [flags]

# abort canary/podinfo in namespace/app
# use `-n` to specify the namespace where flagger-loadtester is installed
$ kubectl flagger rollback podinfo app -n tester