Skip to content

Instantly share code, notes, and snippets.

View usrbinkat's full-sized avatar
👩‍💻

Kat Morgan usrbinkat

👩‍💻
View GitHub Profile
@usrbinkat
usrbinkat / README.md
Last active March 31, 2024 18:41
Testing Multus CNI on Talos Kubernetes

Talos + Qemu + Multus Dbg Testing

About

The motivation for this gist comes from an interest in reproducing issues observed using multus on talos metal.

Here we will attempt to re-create the symptom in as simple of an environment as possible to then pursue support as needed.

Issue Reproduction

@usrbinkat
usrbinkat / README.md
Last active March 24, 2024 02:02
Cilium Strict + Multus multihome cni investigation

Cilium + Multus CNI

@usrbinkat
usrbinkat / README.md
Last active February 26, 2024 00:24
TuringPi2 RK1 Build Journal

Turing Pi 2 + 4x RK1 32GB Kubevirt Cluster

In this gist we will attempt to capture the prominent steps in building an RK1 TPI2 Talos K8s Cluster for use with the github.com/ContainerCraft/Kargo kubevirt platform.

Info

If you try this and achieve success imaging your RK1 compute modules with the un-merged talos rk1 fork please report your success on this rfe issue: github.com/siderolabs/talos/issues/8187

Update Turing Pi 2 BMC Firmware

@usrbinkat
usrbinkat / pulumi-go-provider.md
Last active October 13, 2023 19:52
Pulumi Native Provider

The pulumi-go-provider is a framework for building Go-based providers for Pulumi. It is currently in active development, and breaking changes are expected. The library is designed to be flexible yet simple, and it comes in four main parts:

Provider Interface: The core abstraction for a Pulumi Provider.
Middleware Layers: Built on top of the Provider interface for features like token dispatch and schema generation.
Testing Framework: Located in the integration folder for unit and integration tests.
Infer Layer: Generates full providers from Go types and methods. It's the quickest way to start building a provider.

Cheat Sheet Main Function Example

@usrbinkat
usrbinkat / CheatSheet.md
Created October 10, 2023 19:55
Pulumi Native Provider

Pulumi Native Provider Boilerplate

Introduction

  • /provider: Core logic for the custom Pulumi provider.
@usrbinkat
usrbinkat / Dynamic-Provider.md
Created October 9, 2023 19:27
Pulumi Dynamic Provider Cheat Sheet

Pulumi Dynamic Resources Quick Reference

Overview

  • Module for inline implementation of Pulumi Resource's CRUD operations.
  • Part of the @pulumi/pulumi package.

Resource Class

  • new Resource(provider, name, props, opts?, module?, type)
    • provider: CRUD operations implementation.
  • name: Resource name.
@usrbinkat
usrbinkat / how-to.md
Created September 13, 2023 19:15
huggingface models on amazon sagemaker - pulumi iac

How To

  1. We’ll make a directory

  2. And create a new project from pulumi templates

mkdir ai && cd ai
pulumi new sagemaker-aws-python
@usrbinkat
usrbinkat / application.yaml
Last active November 28, 2022 01:31
Argo my Argo
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
spec:
destination:
name: ''
namespace: argocd
server: 'https://kubernetes.default.svc'
project: default
@usrbinkat
usrbinkat / 00-wolfi-static.md
Last active October 14, 2022 00:43
Chainguard Wolfi go-containerregistry

Hacking on UOR Framework based ai-model-registry

Build Container

cat <<EOF > Dockerfile && docker build -t registry .
FROM --platform=x86_64 cgr.dev/chainguard/go:latest-glibc as build
RUN CGO_ENABLED=0 GOBIN=/home/nonroot go install github.com/google/go-containerregistry/cmd/registry@latest

FROM --platform=x86_64 cgr.dev/chainguard/static:latest