All Projects → jusbrasil → Kube Render

jusbrasil / Kube Render

Licence: mit

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Kube Render

Handlebars Helpers
Related projects
Stars: ✭ 2,024 (+11144.44%)
Mutual labels:  render, template
Gin Template
golang template for gin framework!
Stars: ✭ 106 (+488.89%)
Mutual labels:  render, template
Nodebootstrap
NodeBootstrap - generates skeleton project for Node/Express.js with pre-configured best-practices. Kick-start your Node project development with tons of boilerplate taken care of, such as: clustering, Docker-support, database migrations, automated testing, error-handling, modularity, advanced logging, templated views, environments etc.
Stars: ✭ 707 (+3827.78%)
Mutual labels:  template
Azure Pipelines Template
template for your azure pipelines
Stars: ✭ 17 (-5.56%)
Mutual labels:  template
Primitive
⛏️ ‎ A front-end design toolkit for developing web apps.
Stars: ✭ 783 (+4250%)
Mutual labels:  template
Inja
A Template Engine for Modern C++
Stars: ✭ 715 (+3872.22%)
Mutual labels:  template
Micromark
the smallest commonmark compliant markdown parser that exists; new basis for @unifiedjs (hundreds of projects w/ billions of downloads for dealing w/ content)
Stars: ✭ 793 (+4305.56%)
Mutual labels:  render
Mvparmstemplate
🛠️ A template for Android Studio to create MVPArms and MVPArt Page
Stars: ✭ 697 (+3772.22%)
Mutual labels:  template
Cookiecutter
DEPRECIATED! Please use nf-core/tools instead
Stars: ✭ 18 (+0%)
Mutual labels:  template
Laravel template with vue
laravel5.5和vue.js结合的前后端分离项目模板,后端使用了laravel的LTS版本(5.5),前端使用了流行的vue-element-template项目。作为程序的起点,可以直接以此为基础来进行业务扩展。模板内容包括基础的用户管理和权限管理、日志管理、集成第三方登录,整合laravel-echo-server 实现了websocket 做到了消息的实时推送,并在此基础上,实现了聊天室和客服功能。权限管理包括后端Token认证和前端vue.js的动态权限,解决了前后端完整分离的情况下,vue.js的认证与权限相关的痛点,已在本人的多个项目中集成使用。
Stars: ✭ 763 (+4138.89%)
Mutual labels:  template
Wire Render Pattern
☄️ Wire Render Pattern for Processwire
Stars: ✭ 16 (-11.11%)
Mutual labels:  render
Datacurator Filetree
a standard filetree for /r/datacurator [ and r/datahoarder ]
Stars: ✭ 753 (+4083.33%)
Mutual labels:  template
Bootstrap 5 Templates
A collection of free Bootstrap 5 templates designed with Material Design 2.0. Admin dashboard, e-commerce, landing pages & much more.
Stars: ✭ 722 (+3911.11%)
Mutual labels:  template
Ansible Skeleton
The skeleton to create new ansible roles.
Stars: ✭ 5 (-72.22%)
Mutual labels:  template
Material Sense
A React Material UI template to create rich applications with wizards, charts and ranges
Stars: ✭ 711 (+3850%)
Mutual labels:  template
Donut
Xcode file template manager
Stars: ✭ 17 (-5.56%)
Mutual labels:  template
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+3811.11%)
Mutual labels:  template
Modern Html Starter Template
Modern HTML Starter Template
Stars: ✭ 752 (+4077.78%)
Mutual labels:  template
Cleanthesis
Clean Thesis is a clean, simple, and elegant LaTeX style (or template) for thesis documents.
Stars: ✭ 787 (+4272.22%)
Mutual labels:  template
New Php Project
Template for new PHP projects. Also see https://github.com/JeroenDeDauw/new-php-library
Stars: ✭ 18 (+0%)
Mutual labels:  template

Kube-render

Build Status

A tool for rendering Kubernetes (k8s) templates into Manifests. It supports most of Helm rendering features.

The idea behind this project is to provide a simple mechanism of rendering Manifests. It might be helpful when you can't or don't want to use Helm, but want some help with a more "complex" set of rendering features.

To install it, use:

pip install kuberender

Once you install it, you can use kube-render --help, which will output its usage, as in:

Usage: kube-render [OPTIONS]

Options:
  -v, --verbose            Whether it should print generated files or not
  -c, --context TEXT       Yaml file path to be loaded into context. Supports
                           merging.
  -s, --set TEXT           Vars that override context files. Format: key=value
  -t, --template-dir TEXT  Folder holding templates that should be rendered
  -u, --template-url TEXT  URL to download templates from (writes on ~/.kube-
                           render/templates). Accepts URLs on pip format
  -A, --apply              Apply rendered files using `kubectl apply`
  -w, --working-dir TEXT   Base directory for loading templates and context
                           files
  --help                   Show this message and exit.

You can find usage examples by looking at the tests, but a sample render looks like this:

$ kube-render -w tests/resources -c base.yaml  -c extended.yaml --set image.tag=3.0.7 -v

As it's in the verbose mode, it will show the computed context and the generated manifest:

### Computed context:
image:
  pullPolicy: Always
  repository: redis
  tag: 3.0.7
instance_name: news-page-cache
replicaCount: 1
resources:
  limits:
    cpu: 0.3
    memory: 64M

### Rendered deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: redis-news-page-cache
  labels:
    name:
    service: redis
spec:
  replicas: 1
  selector:
    matchLabels:
      name:
      service: redis
  template:
    metadata:
      labels:
        name:
        service: redis
    spec:
      containers:
      - name: redis-news-page-cache
        image: "redis:3.0.7"
        imagePullPolicy: Always
        resources:
          limits:
            memory: "64M"
            cpu: 0.3

If you want to use the generated manifest and upload it, include the parameter -A (or --apply). Basically, what it does, is to call $ kubectl apply with a subprocess call.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].