Skip to main content

HTTP

Deployment

  1. Select HTTP protocol in the form, and then click on "Next Step".

    Choose HTTP

  2. Fill in device name, device manufacturer, device type, and device model. The device name is the identifier used to distinguish different devices in Shifu Cloud. And then click on "Next Step".

    Enter device information

  3. After entering the third step, enter the IP address of the device you want to connect to.

    Enter device information

  4. Upload the API specification file of the device. The API specification file should be a JSON file that complies with OpenAPI v3 specification.

    Upload API file

    Tips: Device API specification files are usually used to define the structure, methods, and data format of device APIs, so that developers can understand and use APIs correctly. Refer to the API file template below.

  5. Click "Deploy", copy and paste the command from the pop-up to deploy the device into your Kubernetes cluster.

    Deploy device

  6. Use the kubectl get pods - A command to view device deployment status in the cluster.

    View device status