{"id":19028026,"url":"https://github.com/suinplayground/kubernetes-playground","last_synced_at":"2026-05-08T16:47:49.544Z","repository":{"id":250820031,"uuid":"835537247","full_name":"suinplayground/kubernetes-playground","owner":"suinplayground","description":"This repository contains a collection of examples that demonstrate various Kubernetes tools and practices, including Crossplane, Cluster API, Helm, and other cloud-native technologies.","archived":false,"fork":false,"pushed_at":"2024-12-17T01:49:36.000Z","size":625,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T03:18:43.429Z","etag":null,"topics":["cluster-api","crossplane","external-dns","external-secrets","fluxcd","helm","kubernetes","sealed-secret","sealed-secrets"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suinplayground.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-30T03:34:35.000Z","updated_at":"2024-12-17T01:49:40.000Z","dependencies_parsed_at":"2024-08-05T07:45:34.023Z","dependency_job_id":"928178c3-bd70-4ade-9249-2154f46e4536","html_url":"https://github.com/suinplayground/kubernetes-playground","commit_stats":null,"previous_names":["suinplayground/kubernetes-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suinplayground%2Fkubernetes-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suinplayground%2Fkubernetes-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suinplayground%2Fkubernetes-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suinplayground%2Fkubernetes-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suinplayground","download_url":"https://codeload.github.com/suinplayground/kubernetes-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079610,"owners_count":19744720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cluster-api","crossplane","external-dns","external-secrets","fluxcd","helm","kubernetes","sealed-secret","sealed-secrets"],"created_at":"2024-11-08T21:09:46.814Z","updated_at":"2026-05-08T16:47:49.535Z","avatar_url":"https://github.com/suinplayground.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Playground\n\nThis repository contains a collection of examples that demonstrate various Kubernetes tools and practices, including Crossplane, Cluster API, Helm, and other cloud-native technologies.\n\n## Requirements\n\n- Nix\n- Docker\n\n## Getting started\n\nLaunch a development shell with the following command:\n\n```sh\nnix develop\n```\n\nCreate a new cluster with crossplane installed:\n\n```sh\njust setup\n```\n\n## Crossplane\n\nThe [crossplane](crossplane) directory contains a collection of examples that demonstrate how to use Crossplane to provision and manage cloud services.\n\n1. [Create a namespace map from a managed resource](crossplane/01-create-namespace-from-managed-resource/README.md)\n2. [Create a namespace map from a managed resource with a custom provider](crossplane/02-create-config-map-from-management-resource/README.md)\n3. [Create a config map from a claim](crossplane/03-create-config-map-from-claim/README.md)\n4. [Create a GitHub repository from a managed resource](crossplane/04-create-github-repository-from-managed-resource/README.md)\n5. [Create a GitHub repository from a managed resource, but using a GitHub App credentials](crossplane/05-create-github-repository-from-managed-resource-github-app/README.md)\n6. [Create a config map from a composite resource](crossplane/06-create-config-map-from-composite-resource/README.md)\n7. [Create a config and a secret map with pipeline mode](crossplane/07-create-config-map-with-pipeline-mode/README.md)\n8. [Create a config map with KCL](crossplane/08-create-config-with-kcl/README.md)\n9. [Create two config maps with KCL (one depends on the other)](crossplane/09-create-config-with-kcl-dependency/README.md)\n10. [`function-extra-resources` basic example](crossplane/10-function-extra-resources/README.md)\n11. [`function-extra-resources` with `FromCompositeFieldPath`](crossplane/11-function-extra-resources-type-from-composite-field-path/README.md)\n12. [`function-extra-resources` to fetch custom resources that are not XRs](crossplane/12-function-extra-resources-to-pull-custom-resources/README.md)\n\n## Cluster API\n\n1. [Docker Provider (CAPD)](cluster-api/01-capd/README.md)\n2. [Testing Helm Chart Distribution](cluster-api/02-helm-chart-proxy/README.md)\n3. [Using Registry Mirror to Avoid Docker Hub Rate Limits](cluster-api/03-registry-mirror/README.md)\n\n## Controller Runtime\n\nThe [controller-runtime](controller-runtime) directory contains examples demonstrating advanced controller patterns and best practices for building Kubernetes controllers.\n\n1. [BatchKey Pattern for Resource Grouping](controller-runtime/01-batch-key/README.md) - Learn how to implement the BatchKey pattern for efficient resource grouping and processing, featuring job queue systems with dependency management.\n\n## API Extensions\n\nThe [apiextensions](apiextensions) directory contains examples demonstrating how to extend Kubernetes with custom resources and features.\n\n1. [CRD Selectable Fields](apiextensions/01-selectable-fields/README.md) - Learn how to use field selectors with Custom Resource Definitions (CRDs) in Kubernetes v1.31+ to query custom resources based on specific field values.\n\n## Remote Development\n\nRemote development environments allow you to run your development workloads inside Kubernetes clusters, providing consistent and isolated development experiences.\n\n1. [Kind Cluster with Container Pod](remote-dev/01-kind/README.md) - Learn how to spin up a container as an ordinary Pod inside a local \"kind\" Kubernetes cluster with host folder sharing.\n\n## SealedSecret\n\nSealedSecret is a Kubernetes Custom Resource Definition that allows you to store encrypted secrets in Git.\n\n1. [Encrypt a secret and decrypt sealed secret](sealedsecret/01-encrypt-decrypt/README.md)\n2. [What happens when sealing key rotation occurs?](sealedsecret/02-sealing-key-rotation/README.md)\n\n## FluxCD\n\n1. [Scanning for New Tags in GitHub Container Registry](fluxcd/01-scanning-for-new-tags-in-github-container-registry/README.md)\n\n## Flagger\n\nFlagger is a progressive delivery operator for Kubernetes that automates canary releases, A/B testing, and blue/green deployments.\n\n1. [Hostnameless Canary Deployment](flagger/01-hostnameless/README.md) - Learn how to implement canary deployments without specifying the hosts field when integrating with Gateway API.\n2. [Service Reconciliation](flagger/02-service-reconcilation/README.md) - Investigate how Flagger manages services with names different from their deployments.\n\n## Helm\n\n1. [Host Chart on Private GitHub Repository](helm/01-host-chart-on-private-github-repository/README.md) - Learn how to host and manage private Helm charts using a GitHub repository.\n2. [Host Chart on GitHub Container Registry](helm/02-host-chart-on-ghcr/README.md) - Learn how to host and manage Helm charts using GitHub Container Registry (GHCR).\n\n## KCL\n\nKCL is a constraint-based record \u0026 functional language that enhances the writing of complex configurations, including Kubernetes.\n\n1. [Using KCL Operator to Mutate Kubernetes Resources](kcl/01-kcl-operataor-mutating-sample/README.md) - Learn how to use KCL operator to automatically add annotations to Kubernetes Pods.\n\n## external-dns\n\nexternal-dns is a tool that automates DNS record management for Kubernetes resources.\n\n1. [Basic AWS Route53 Setup](external-dns/01-aws/README.md) - Learn how to use external-dns with AWS Route53 for automated DNS management.\n2. [Securing TXT Registry Records](external-dns/02-txt-encryption/README.md) - Explore how to encrypt TXT registry records for enhanced security.\n3. [Implementing Route53 Failover](external-dns/03-route53-failover/README.md) - Set up DNS failover using external-dns with AWS Route53.\n\n## external-secrets\n\nexternal-secrets is a Kubernetes operator that integrates external secret management systems.\n\n1. [Sync Kubernetes Secrets to AWS Secrets Manager](external-secrets/01-push-secret/README.md) - Learn how to use PushSecret to synchronize Kubernetes Secrets to AWS Secrets Manager.\n2. [Push Secrets to Another Kubernetes Cluster](external-secrets/02-push-secrets-kube/README.md) - Learn how to push secrets to another Kubernetes cluster.\n\n## Envoy\n\n1. [GatewayNamespace Mode Fails to Handle Gateways Across Multiple Namespaces](envoy/02-gateway-namespace/README.md) - Investigate an issue where Envoy Gateway's GatewayNamespace mode incorrectly creates resources in the wrong namespace.\n\n## Tear down\n\nDelete the cluster:\n\n```sh\njust teardown\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuinplayground%2Fkubernetes-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuinplayground%2Fkubernetes-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuinplayground%2Fkubernetes-playground/lists"}