API and UI Reference Guide
Application exposure and publishing is controlled by arca.io labels and annotations that are added to Service resources in each managed Application cluster:
apiVersion: v1
kind: Service
metadata:
name: productpage
namespace: argo-live-bookinfo
labels:
app: productpage
service: productpage
arca.io/managed: "true"
annotations:
arca.io/expose: "true"
arca.io/domain: "argo-Live.example.com"
arca.io/path: "/productpage"
spec:
ports:
- port: 9080
name: http
selector:
app: productpage
Labels
Label | Description | Example |
---|---|---|
arca.io/managed | Enable Tetrate Application Gateway management | "true" |
arca.io/workspace | Associated workspace (optional) | "workspace-name" |
Annotations
Annotation | Description | Example |
---|---|---|
arca.io/expose | Expose and publish the service through the App and Edge gateways | "true" |
arca.io/domain | External domain (FQDN) for the service | "myapp.example.com" |
arca.io/path | Path prefix for requests to the service | "/api" |