Giter Site home page Giter Site logo

butiko's Introduction

Logo

Butiko

MIT License

Build kubernetes resources easily

Butiko Asciinema

Features

  • Create multiple environments with the variables list
  • Reuse manifests in various projects with the imports list
  • Define the namespace to all manifests in one place with the namespace keyword

Installing

curl -fsSL https://raw.githubusercontent.com/SampaioLeal/butiko/main/install.sh | sh

Usage

butiko build ./examples/simple/butiko.yaml

The results will be like:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: myapp
  namespace: myapp
spec:
  replicas: 2
  selector:
    matchLabels:
      app: myapp
  template:
    metadata:
      labels:
        app: myapp
    spec:
      containers:
        - name: myapp
          image: "registry.mycompany/myapp:latest"
          resources:
            requests:
              memory: 50Mi
              cpu: 100m
            limits:
              memory: 128Mi
              cpu: 500m
          ports:
            - containerPort: 3000

---
apiVersion: v1
kind: Service
metadata:
  name: myapp
  namespace: myapp
# ..........
# ..........
# ..........

Roadmap

  • Use cliffy
  • Support URL imports
  • Support other systems and archs

Feedback

Feedbacks are welcome through issues

License

MIT

Appendix

@SampaioLeal (the author) dedicates this project to his wife ๐Ÿ’– L.N ๐Ÿ’– that inspired the name of the project.

butiko's People

Contributors

sampaioleal avatar

Stargazers

Carlos Cerqueira avatar  avatar Jhonatan W. G. Catabriga avatar

Watchers

 avatar

butiko's Issues

Define default values for variables

Make the above use case supported by the tool

spec:
  template:
    spec:
      containers:
        - name: main
          imagePullPolicy: "{{IMAGE_PULL_POLICY:Always}}"

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.