Skip to content

Instantly share code, notes, and snippets.

@manics
manics / README.md
Last active January 26, 2026 13:18

Example of Kube Resource Orchestrator on AWS

An example of using Kube Resource Orchestrator (kro) to orchestrate AWS Controllers for Kubernetes (ACK).

ACK providers CRDs to manage individual AWS resources. kro enables orchestration of multiple AWS resource CRDs, including parameterisation.

  1. Create a ResourceGraphDefinition. This defines a new CRD ApplicationFoo:
kubectl apply -f kro-aws-application-rgd.yaml
# https://github.com/GalleyBytes/terraform-operator-tasks/
# TODO: Rebuild image from source and upgrade Terraform
FROM ghcr.io/galleybytes/terraform-operator-tftaskv1.1.1:1.4.6
# https://blog.nashtechglobal.com/using-terraform-without-internet/
# Cache directory needs to be writeable by the user
COPY --chown=2000:0 providers.tf terraform.rc /terraform/
RUN cd /terraform && \
@manics
manics / requirements.txt
Created November 10, 2025 10:56
pip-tools
pip-tools
name: example-environment
channels:
- conda-forge
dependencies:
- python=3.14
- numpy
- pandas
- matplotlib
- pip
- pip:
pypi-timemachine
requests
@manics
manics / README.md
Created August 13, 2025 14:15
Hugo example
@manics
manics / extract-tag-changelog.py
Last active August 4, 2025 18:19
Extract relevant sections of a CHANGELOG for a given version
#!/usr/bin/env python
from argparse import ArgumentParser
from base64 import b64decode
from github import Github, GithubException
import os
import re
# If None then unauthenticated requests are made (may hit API limits)
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
name: example-environment
channels:
- conda-forge
dependencies:
- python=3.12
- uv
- pip
- pip:
- juvio
name: gmft
channels:
- conda-forge
dependencies:
- pytorch
- pip
- pip:
- gmft