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
import click | |
import requests | |
import json | |
import gzip | |
@click.group() | |
def cli(): | |
pass |
gh api --paginate -H "Accept: application/vnd.github.v3+json" /repos/k3s-io/k3s/tags --jq .[].name | grep v1.22 | head |
Unlike Linux on MacOS Docker runs inside VM. This causes issues when trying to access containers directly as their IP is not reachable from host network. It is especially annoying when trying to get a local development environment for K8s.
This short guides aim to solve the problem. Solution is: https://github.com/chipmk/docker-mac-net-connect
package main | |
import ( | |
"bufio" | |
"context" | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"os" |