github.com/fafucoder/cilium@v1.6.11/examples/mesos/allfiles/client-template.json (about)

     1  {
     2      "id": "__CLIENTTYPE__",
     3      "testnum": "1",
     4      "status": "000",
     5      "cmd": "testnum=0; while [ true ] ; do status=000; status=$(curl -X GET -I __WEBSERVER_IP__:8181/public --connect-time 5 2> /dev/null | head -n 1 | cut -d ' ' -f 2); echo '---------- Test #'$testnum ' ----------'; echo '   Request:   GET /public'; if [ $status = 200 ]; then echo '   Reply:     OK'; elif [ $status = 403 ]; then echo '   Reply:     Access Denied'; else echo '   Reply:     Timeout!'; fi; status=000; status=$(curl -X GET -I __WEBSERVER_IP__:8181/private --connect-time 5 2> /dev/null | head -n 1 | cut -d ' ' -f 2); echo ' '; echo '   Request:   GET /private'; if [ $status = 200 ]; then echo '   Reply:     OK'; elif [ $status = 403 ]; then echo '   Reply:     Access Denied'; else echo '   Reply:     Timeout!'; fi; echo '-------------------------------'; testnum=$((testnum+1)); sleep 5; done", 
     6      "cpus": 0.1,
     7      "mem": 10.0,
     8      "instances": 1,
     9      "ipAddress": {
    10       "networkName": "cilium",
    11       "labels": {
    12         "id": "__CLIENTTYPE__"
    13       }
    14    }
    15  }
    16