Skip to content

mayankshah1607/kubectl-flagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A kubectl plugin for manually gating Flagger based Canary deployments

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published