⚠️ Standalone upstreams are NOT exposed via the API7 Enterprise Edition Admin API. In API7 EE, upstreams exist only as inline objects within services and routes. The/apisix/admin/upstreamsendpoint returns "resource not found".
Instead of creating standalone upstream resources, define upstreams inline when creating a service or route:
# service-with-upstream.yaml
name: my-service
upstream:
type: roundrobin
nodes:
- host: 127.0.0.1
port: 8080
weight: 1a7 service create -g default -f service-with-upstream.yamlOr inline in a route:
# route-with-upstream.yaml
name: my-route
paths:
- /api/v1/*
service_id: "<service-id>"
upstream:
type: roundrobin
nodes:
- host: 127.0.0.1
port: 8080
weight: 1a7 route create -g default -f route-with-upstream.yamlThe a7 upstream commands exist in the CLI for APISIX compatibility but will return errors when used against an API7 EE instance. Use a7 service or a7 route with inline upstream configurations instead.
- Service Management — Create services with inline upstreams
- Route Management — Create routes with inline upstreams