Skip to content

Instantly share code, notes, and snippets.

View brandond's full-sized avatar

Brad Davidson brandond

View GitHub Profile
@brandond
brandond / Dockerfile
Last active November 20, 2024 20:56
RKE2 Dockerfile
# syntax=docker/dockerfile:1.3-labs
FROM ubuntu:22.04 AS curl
RUN <<EOF
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
apt-get -y install curl ca-certificates
EOF
FROM curl AS install
@brandond
brandond / Dockerfile
Last active June 16, 2022 20:16
RKE2 Dockerfile (SLE Micro for Rancher)
# syntax=docker/dockerfile:1.3-labs
FROM ubuntu:22.04 AS curl
RUN <<EOF
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
apt-get -y install curl ca-certificates
EOF
FROM curl AS install
@brandond
brandond / kustomization.yaml
Created August 4, 2022 19:54
cadvisor containerd-cri kustomize
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/google/cadvisor.git/deploy/kubernetes/base?ref=v0.45.0-containerd-cri
images:
- name: gcr.io/cadvisor/cadvisor
newTag: v0.45.0-containerd-cri
@brandond
brandond / rancher.yaml
Created January 12, 2023 16:55
Drop this in /var/lib/rancher/k3s/server/manifests
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
---
apiVersion: v1
kind: Namespace
metadata:
name: cattle-system