Skip to content

Commit 2845e1c

Browse files
committed
And kind cluster config
1 parent 90e17a8 commit 2845e1c

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
# boilerplate-express-ts
1+
# Keroku
2+
We al love Heroku. But we also love Kubernetes. So we want to deploy on kubernetes like onk Heroku.
3+
4+
## Development
5+
6+
### start a local kind cluster
7+
```
8+
kind create cluster --config kind.yaml
9+
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
10+
```

kind.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
kind: Cluster
2+
apiVersion: kind.x-k8s.io/v1alpha4
3+
name: keroku
4+
networking:
5+
ipFamily: ipv4
6+
apiServerAddress: 127.0.0.1
7+
nodes:
8+
- role: control-plane
9+
#image: kindest/node:v1.21.1
10+
kubeadmConfigPatches:
11+
- |
12+
kind: InitConfiguration
13+
nodeRegistration:
14+
kubeletExtraArgs:
15+
node-labels: "ingress-ready=true"
16+
extraPortMappings:
17+
- containerPort: 80
18+
hostPort: 8080
19+
protocol: TCP
20+
- containerPort: 443
21+
hostPort: 8443
22+
protocol: TCP

0 commit comments

Comments
 (0)