This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Detect operating system in Makefile. | |
# Author: He Tao | |
# Date: 2015-05-30 | |
OSFLAG := | |
ifeq ($(OS),Windows_NT) | |
OSFLAG += -D WIN32 | |
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64) | |
OSFLAG += -D AMD64 | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
date | |
### 0. Install helm, kubectl (kubernetes-cli), and k3d with brew | |
brew install helm k3d kubectl | |
### 1. Create a cluster with k3d that connects port 443 to the loadbalancer provided by k3d | |
# Optionally install with more agents `--agents 3` | |
k3d cluster create k3d-rancher \ | |
--api-port 6550 \ |