Skip to content

Archisman-Mridha/kue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Kue

Kue helps you manage your Kubernetes cluster configuration using CueLang.

๐Ÿ“œ Prerequisites

  • timoni installed in your system.

    Hopefully, this'll not be a requirement anymore in Kue v2.

  • A Git repository.

  • A Kubernetes cluster.

๐Ÿšฆ Getting started

  • Run kue init in the manifests directory of your Git repository, to initialize a Kue project.

  • The project's folder structure will look like so :

    โ”œโ”€โ”€ manifests/
    โ”‚   โ”œโ”€โ”€ environments/
    โ”‚   โ”‚   โ”œโ”€โ”€ production/
    โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ main.cue
    โ”‚   โ”œโ”€โ”€ lib/
    โ”‚   โ”‚   โ”œโ”€โ”€ argocd/
    โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ *.cue
    โ”‚   โ”‚   โ”œโ”€โ”€ kue.cue
    โ”‚   โ”œโ”€โ”€ renderred/
    โ”‚   โ”‚   โ”œโ”€โ”€ production/
    โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ applications/*.yaml
    
  • Run kue render to render the Kubernetes manifests.

  • Push the changes to remote origin.

  • kubectl apply the root ArgoCD Application.

  • Open ArgoCD UI and sync the root and argocd ArgoCD Applications.

You can writeup a CI workflow, to automate renderring of the Kubernetes manifests, everytime you push changes in your Kue project.

๐Ÿ‘€ Examples

๐ŸŒ REFERENCEs

About

Kue : Manage your Kubernetes cluster configuration using CueLang ๐Ÿ—ฟ

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

โšก