kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 name: kubosm networking: # WARNING: It is _strongly_ recommended that you keep this the default # (127.0.0.1) for security reasons. However it is possible to change this. apiServerAddress: "127.0.0.1" # By default the API server listens on a random open port. # You may choose a specific port but probably don't need to in most cases. # Using a random port makes it easier to spin up multiple clusters. apiServerPort: 6443 nodes: - role: control-plane # port forward 8080 on the host to 8080 on this node extraPortMappings: - containerPort: 8080 hostPort: 8080 # optional: set the bind address on the host # 0.0.0.0 is the current default listenAddress: "127.0.0.1" # optional: set the protocol to one of TCP, UDP, SCTP. # TCP is the default protocol: TCP