Skip to content

Instantly share code, notes, and snippets.

# Source: https://gist.github.com/0cef62546884f6e70474dd87b5de36c5
####################
# Create A Cluster #
####################
# Open Docker Preferences, select the Kubernetes tab, and select the "Enable Kubernetes" checkbox
# Open Docker Preferences, select the Advanced tab, set CPUs to 2, and Memory to 3.0
# Source: https://gist.github.com/94562339e570f05eaf9d76f57ce9f527
######################
# Create The Cluster #
######################
az login
az provider register -n Microsoft.Network
# Source: https://gist.github.com/231f0ad7f4c55e8992b961a046c8c80f
######################
# Create The Cluster #
######################
# Make sure that you're using eksctl v0.1.5+.
# Follow the instructions from https://github.com/weaveworks/eksctl to intall eksctl.
cd k8s-specs
git pull
GD5_ADDR=go-demo-5.$LB_IP.nip.io
kubectl create namespace go-demo-5
helm install go-demo-5 \
https://github.com/vfarcic/go-demo-5/releases/download/0.0.1/go-demo-5-0.0.1.tgz \
# Source: https://gist.github.com/afc5d5306bfc74ee1c7973f76d630c7f
######################
# Create The Cluster #
######################
gcloud auth login
REGION=us-east1
######################
# Create The Cluster #
######################
# Tested with minikube v1.6.1
minikube start \
--vm-driver virtualbox \
--cpus 2 \
--memory 3072
# Source: https://gist.github.com/3b9adb2e5253760b330077b4078c799a
####################
# Create A Cluster #
####################
# Open Docker Preferences, select the Kubernetes tab, and select the "Enable Kubernetes" checkbox
# Open Docker Preferences, select the Advanced tab, set CPUs to 2, and Memory to 3.0
# Source: https://gist.github.com/0ce1ccdd862f401bbacf56d3ca18b808
######################
# Create The Cluster #
######################
# Make sure that you're using eksctl v0.1.5+.
# Follow the instructions from https://github.com/weaveworks/eksctl to intall eksctl.
# Source: https://gist.github.com/b45b27d5101b59c7e5ac54d4db134803
######################
# Create The Cluster #
######################
az login
az provider register -n Microsoft.Network
@Atabek-cyber
Atabek-cyber / Dockerfile
Created November 4, 2022 17:29 — forked from endofcake/Dockerfile
Copy *.csproj files during a docker build, preserving the directory structure (kudos to @aidansteele)
COPY src/*/*.csproj ./
RUN for file in $(ls *.csproj); do mkdir -p ${file%.*}/ && mv $file ${file%.*}/; done