Skip to content

Archisman-Mridha/kue

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

No packages published

Languages