Skip to content

Instantly share code, notes, and snippets.

@dmnt3d
dmnt3d / README.md
Created Sep 24, 2021 — forked from yogendra/README.md
Run a Docker Registry with TLS
View README.md

Run Docker Registry with TLS

There are many instances that I need to do this. Especially if I am installing K8s in an internet restricted environment (example: [Install TKG in Internet restricted env][install-tkg-internet-restricted])

So I like to use [docker registry][docker-registry] and [mkcert][mkcert] to play with this scenario

  1. Create directories for certs and data

    mkdir -p data certs
@dmnt3d
dmnt3d / acme-cert-dump.py
Last active Mar 8, 2021 — forked from JayH5/acme-cert-dump.py
Dump certificates from Traefik's acme.json
View acme-cert-dump.py
#!/usr/bin/env python
import argparse
import base64
import json
import os
import shlex
import subprocess
import sys
@dmnt3d
dmnt3d / cli.sh
Created May 2, 2020 — forked from voor/cli.sh
Node remediation with the magic of chroot
View cli.sh
kubectl run -i --rm --tty photonos-on-host --overrides='
{
"spec": {
"containers": [
{
"name": "photonos-on-host",
"image": "photon:3.0",
"args": ["bash"],
"stdin": true,
"stdinOnce": true,
@dmnt3d
dmnt3d / README.md
Created Jan 16, 2020 — forked from tsertkov/README.md
Single-node kubernetes cluster cloud-config
View README.md

Single-node kubernetes cluster cloud-config

Cloud-config files for setting up k8s single-node cluster with kubeadm on Ubuntu 16.04.3 LTS (Xenial Xerus)

cloud-config.minimal.yaml

Minimal installation of k8s with kubeadm.

cloud-config.full.yaml

@dmnt3d
dmnt3d / pldt-home-fibr-an5506-04-fa-rp2616-advanced-settings.md
Created May 17, 2018 — forked from kleo/backspace.md
PLDT HOME FIBR AN5506-04-FA RP2616 Advanced Settings
View pldt-home-fibr-an5506-04-fa-rp2616-advanced-settings.md

PLDT HOME FIBR AN5506-04-FA RP2616 Advanced Settings

By default the PLDT HOME FIBR AN5506-04-FA RP2616 comes only with limited settings.

Hidden from the web interface are the rest of the router's capabilities and advanced settings.

We just need to enter the right url for the settings you're looking for.

We need to be logged in before we can do anything else, use your defined password if you already set the admin password.