-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yaml
More file actions
22 lines (22 loc) · 898 Bytes
/
config.yaml
File metadata and controls
22 lines (22 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration # necessary, since we are going to install an ingress network in the cluster
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
authorization-mode: "AlwaysAllow"
extraPortMappings:
- containerPort: 80 # http endpoint of ingress runs on the port 80
hostPort: 8090 # port on your host machine to call API's of the service
protocol: TCP
- containerPort: 30123 # node port for the delve server
hostPort: 30123 # port on your host machine to communicate with the delve server
protocol: TCP
- role: worker
extraMounts:
- hostPath: {GOPATH}/src # ATTENTION: you might want to change this path to your ${GOPATH}/src
containerPath: /go/src # path to the project folder inside the worker node