johnmarcou / kdiff

Diff on two k8s manifests with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kdiff

Essentialy a yaml differ, but K8s way.

Install

pip install git+https://github.com/johnmarcou/kdiff

Upgrade

pip install git+https://github.com/johnmarcou/kdiff --upgrade

Example

# kdiff examples/ns.yaml examples/ns-label.yaml
### Modified Namespace-default ###
 apiVersion: v1
 kind: Namespace
 metadata:
+  labels:
+    mylabel: ok
   name: default

Uninstall

pip unsintall kdiff -y 

About

Diff on two k8s manifests with ease


Languages

Language:Python 100.0%