kustomize

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

kustomize

kustomize is a command line tool supporting template-free customization of YAML (or JSON) objects that conform to the kubernetes style. If your objects have a kind and a metadata field, kustomize can patch them to support configuration sharing and re-use.

For more details, try a demo.

Build Status Go Report Card

Installation

This assumes Go (v1.10.1 or higher) is installed and your PATH contains $GOPATH/bin:

go get github.com/kubernetes-sigs/kustomize

Usage

1) Make a base

A base configuration is a kustomization file listing a set of k8s resources - deployments, services, configmaps, secrets that serve some common purpose.

base image

2) Customize it with overlays

An overlay customizes your base along different dimensions for different purposes or different teams, e.g. for development, staging and production.

overlay image

3) Run kustomize

Run kustomize on your overlay. The result is printed to stdout as a set of complete resources, ready to be applied to a cluster. See the demos.

About

This project sponsored by sig-cli (KEP).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL