Skip to content

Instantly share code, notes, and snippets.

View ChathurangaJayamal's full-sized avatar

Chathuranga Jayamal ChathurangaJayamal

View GitHub Profile
@ChathurangaJayamal
ChathurangaJayamal / Local-Kubernetes.md
Created September 18, 2021 07:41 — forked from dahlsailrunner/Local-Kubernetes.md
Helpful tips and snippets for Kubernetes within Docker Desktop

Using the K8s Dashboard Locally

Actual repo is here: https://github.com/kubernetes/dashboard

1. Install the Dashboard

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.1.0/aio/deploy/recommended.yaml

2. Create a Sample User Account that can Access the Dashboard via Token

kubectl apply -f https://gist.github.com/dahlsailrunner/bbd453f3bb6259b66c08a70d0908283f/raw/5727723217e2df4b65d8933adf04d009cfb0fe3f/local-dashboard-account.yml
@ChathurangaJayamal
ChathurangaJayamal / SSL-nginx-Docker.md
Created September 18, 2021 04:50 — forked from dahlsailrunner/SSL-nginx-Docker.md
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.

@ChathurangaJayamal
ChathurangaJayamal / WindowsTerminal.md
Created September 17, 2021 08:42 — forked from dahlsailrunner/WindowsTerminal.md
Customization and Setup notes for Windows Terminal