Skip to content

Instantly share code, notes, and snippets.

View RafalSkolasinski's full-sized avatar
🏠
Working from home

Rafal Skolasinski RafalSkolasinski

🏠
Working from home
  • Neo4j
  • London, United Kingdom
  • 05:06 (UTC +01:00)
View GitHub Profile
@RafalSkolasinski
RafalSkolasinski / readme.md
Last active April 22, 2023 14:22
K3s, Docker & Core V2

K3s-based setup for Core V2 with Docker runtime

Context

Using docker runtime with K3s allows to re-use local Docker images. This give better experience when working with big Docker images (like Triton) as one can avoid:

  • docker pulls from inside kind cluster
  • still expensive kind load ... operations
@RafalSkolasinski
RafalSkolasinski / list.sh
Created January 29, 2023 22:14
List K3s versions from GH tags
gh api --paginate -H "Accept: application/vnd.github.v3+json" /repos/k3s-io/k3s/tags --jq .[].name | grep v1.22 | head
@RafalSkolasinski
RafalSkolasinski / click-requests.py
Last active January 29, 2023 21:39
Send some simple REST requests with click CLI
import click
import requests
import json
import gzip
@click.group()
def cli():
pass