custom network visibility

Hey folks,

Wondering if it’s possible to see the network segment that an app was created in?

I created an app in its own network namespace using flyctl,

flyctl apps create app-foo --network app-foo-nw

but the flyctl app list shows the network field to be empty?

$ flyctl app list --json
[
    {
        "ID": "app-foo",
        "Name": "app-foo",
        "State": "",
        "Status": "deployed",
        "Deployed": true,
        "Hostname": "app-foo.fly.dev",
        "AppURL": "",
        "Version": 0,
        "NetworkID": 0,
        "Network": "",
...

Hm interesting, I found this on a related topic, is this still the case, can anyone from FlyIO confirm?

The List Apps API gets the right info though, there seems to be some discrepancy between flyctl and the Machines API

$ curl -i -X GET -H "Authorization: Bearer ${FLY_API_TOKEN}" -H "Content-Type: application/json" "${FLY_API_HOSTNAME}/v1/apps?org_slug=personal"

{"total_apps":1,"apps":[{"id":"p7vx1j0008wqk3z5","name":"app-foo","machine_count":1,"network":"app-foo-nw"}]}

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.