Code Monkey home page Code Monkey logo

kaar's Introduction

kaar

Kubernetes Application Archive.

Bundle up a Kubernetes application ๐Ÿ“ฆ into a single static OCI compliant archive.

  • Search for valid Kubernetes manifests (YAML)
  • Identify references to container images (OCI)
  • Create a single OCI compliant artifact that contains all the application data, and container image data

Runtime

kaar works just like Linux tar, which means good luck remembering the flags.

app/
โ”œโ”€โ”€ deploy.yaml   # References a container image
โ”œโ”€โ”€ Dockerfile
โ”œโ”€โ”€ main.go
โ””โ”€โ”€ service.yaml


kaar [flags] [archive] [path]
kaar -cf myapp.kaar ./app        Create an archive with container images referenced in deploy.yaml
kaar -xf myapp.karr ./app        Extract an archive with container images referenced in deploy.yaml

 -x Extract
 -f File
 -z Zip
 -c Create

How it works

kaar will recursively iterate through every file in the path and search for valid Kubernetes YAML. Next kaar will identify all container images referenced from the YAML. Finally kaar will archive the container images (local first, remote next) as well as the YAML from the local directory. The resulting archive will be saved as an OCI compliant container image that can be uploaded to any container registry.

.kaar

Within each kaar archive there is a special directory .kaar which is used to store raw container image data, and meta information for each archive.

kaar's People

Contributors

krisnova avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.