⚠️ Work in Progress
Kure is currently under active development and has not been released yet. APIs and features are subject to change.

Getting Started

Getting Started with Kure

This guide will help you get up and running with Kure quickly.

Installation

go get github.com/go-kure/kure

Quick Example

Here’s a simple example creating a Kubernetes Deployment:

package main

import (
    "github.com/go-kure/kure/pkg/kubernetes"
    "github.com/go-kure/kure/pkg/io"
)

func main() {
    // Create a deployment
    deployment := kubernetes.CreateDeployment("my-app", "default")
    kubernetes.AddDeploymentContainer(deployment, "app", "nginx:latest")
    kubernetes.SetDeploymentReplicas(deployment, 3)
    
    // Output as YAML
    printer := io.NewPrinter()
    printer.PrintObj(deployment)
}

Next Steps

  1. Explore the Packages: Learn about the available packages
  2. Read the Architecture: Understand how Kure works
  3. Try Examples: See real-world examples
  4. Join the Community: Contribute to the GitHub repository

Resources