Build kubernetes resources easily
- 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
curl -fsSL https://raw.githubusercontent.com/SampaioLeal/butiko/main/install.sh | sh
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
# ..........
# ..........
# ..........
- Use cliffy
- Support URL imports
- Support other systems and archs
Feedbacks are welcome through issues
@SampaioLeal (the author) dedicates this project to his wife 💖 L.N 💖 that inspired the name of the project.