<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Getting Started :: Go Kure</title><link>https://www.gokure.dev/kure/dev/getting-started/index.html</link><description>Getting Started with Kure Kure is primarily a Go library. You can also install its CLI tool for code generation.
Using as a Library Add Kure to your Go project:
go get github.com/go-kure/kure Then import the packages you need:
import ( "github.com/go-kure/kure/pkg/stack" "github.com/go-kure/kure/pkg/kubernetes/fluxcd" "github.com/go-kure/kure/pkg/io" ) Installing the CLI go install github.com/go-kure/kure/cmd/kure@latest Verify the installation:
kure version Next Steps Follow the Quickstart guide Read about the Domain Model and Design Philosophy Explore the Guides for common workflows Try the Examples</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.gokure.dev/kure/dev/getting-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickstart</title><link>https://www.gokure.dev/kure/dev/getting-started/quickstart/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.gokure.dev/kure/dev/getting-started/quickstart/index.html</guid><description>Quickstart Guide This guide walks you through installing Kure, generating your first cluster configuration, and deploying with Flux.
Installation Install the Kure CLI tools using Go:
go install github.com/go-kure/kure/cmd/kure@latest go install github.com/go-kure/kure/cmd/kurel@latest Verify the installation:
kure version kurel version Hello World: Generate a Simple Cluster Config Create a minimal Go program that generates Kubernetes manifests:
package main import ( "os" "github.com/go-kure/kure/pkg/kubernetes/fluxcd" "github.com/go-kure/kure/pkg/io" kustv1 "github.com/fluxcd/kustomize-controller/api/v1" ) func main() { // Create a Flux Kustomization ks := fluxcd.NewKustomization(&amp;fluxcd.KustomizationConfig{ Name: "hello-world", Namespace: "flux-system", Interval: "5m", Path: "./clusters/production", SourceRef: kustv1.CrossNamespaceSourceReference{ Kind: "GitRepository", Name: "flux-system", }, }) // Print YAML to stdout printer := io.NewYAMLPrinter() printer.PrintObj(ks, os.Stdout) } Run the program to see the generated YAML:</description></item></channel></rss>