Update the host IP address before executing the yml file.
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
apiServerAddress: "165.218.200.235" #update ip address of your host machine
apiServerPort: 6443
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 80
hostPort: 80
listenAddress: "165.218.200.235" #update ip address of your host machine
protocol: TCP
- containerPort: 443
listenAddress: "165.218.200.235" #update ip address of your host machine
protocol: TCP
hostPort: 443
extraMounts:
- hostPath: .
containerPath: /app