Examples
This section provides a collection of examples demonstrating how to define and use ResourceGroups in kro for various scenarios. Each example showcases a specific use case and includes a detailed explanation along with the corresponding YAML definitions.
Basic Examples
-
Empty ResourceGroup (Noop) Explore the simplest form of a ResourceGroup that doesn't define any resources, serving as a reference for the basic structure.
-
Simple Web Application Deploy a basic web application with a Deployment and Service.
-
Web Application with Ingress Extend the basic web application example to include an optional Ingress resource for external access.
Advanced Examples
-
Deploying CoreDNS Learn how to deploy CoreDNS in a Kubernetes cluster using kro ResourceGroups, including the necessary Deployment, Service, and ConfigMap.
-
Deploying a Controller Discover how to deploy a Kubernetes controller using kro ResourceGroups, including the necessary Deployment, ServiceAccount, and CRDs.
-
AWS Networking Stack Learn how to define and manage an AWS networking stack using kro ResourceGroups, including VPCs, subnets, and security groups.
-
EKS Cluster with ACK CRDs Explore how to define and manage an EKS cluster using AWS Controllers for Kubernetes (ACK) CRDs within a kro ResourceGroup.
-
Valkey CacheCluster with ACK CRDs Learn how to create and configure a Valkey CacheCluster using ACK CRDs in a kro ResourceGroup.
-
Pod and RDS DBInstance Deploy a Pod and an RDS DBInstance in a kro ResourceGroup, showcasing the use of multiple resources with dependencies.