Kind cluster creation config template - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

Retrieve Ip address of ubuntu vm using below command.

ip addr show
 ```

<b>link/ether</b> field of the output is the MAC address (Both for Wi-fi and ethernet connections, MAC address is represented by link/ether). Mostly this will be present in the second line.

---

### Save the below kind config file as `kind-cluster.yml`

```yml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  apiServerAddress: "165.218.200.235" #update host ip address
  apiServerPort: 6443
nodes:
- role: control-plane
  extraPortMappings:
  - containerPort: 80
    hostPort: 80
    listenAddress: "165.218.200.235" #update host ip address
    protocol: TCP
  - containerPort: 443
    listenAddress: "165.218.200.235" #update host ip address
    protocol: TCP
    hostPort: 443
  extraMounts:
  - hostPath: .
    containerPath: /app