Skip to content

Instantly share code, notes, and snippets.

View shubhamsre's full-sized avatar
🎯
Focusing

Shubh shubhamsre

🎯
Focusing
View GitHub Profile
@shubhamsre
shubhamsre / next_nginx.md
Created October 8, 2021 06:35 — forked from kocisov/next_nginx.md
How to setup next.js app on nginx with letsencrypt
@shubhamsre
shubhamsre / 1_kubernetes_on_macOS.md
Created October 15, 2020 04:36 — forked from kevin-smets/1_kubernetes_on_macOS.md
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry

Requirements

Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!

Prerequisites

@shubhamsre
shubhamsre / label-ns.yaml
Created June 18, 2020 21:58 — forked from kvudata/label-ns.yaml
Use Helm hook to add labels to a namespace before chart installation
# This hook depends on helm creating the target namespace if it doesn't exist
# before the hook is called. This is the case on Helm v2.9.1
apiVersion: batch/v1
kind: Job
metadata:
name: label-ns
namespace: kube-system
labels:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}