Apoxy
Core API

Proxies

API reference for Proxies (core.apoxy.dev/v1alpha2)

API Group: core.apoxy.dev/v1alpha2

Operations

List Proxies

GET/apis/core.apoxy.dev/v1alpha2/proxies

List Proxy

Response

  • 200: OK

Create Proxy

POST/apis/core.apoxy.dev/v1alpha2/proxies

Create a Proxy

Request Body

Spec fields (ProxySpec):

FieldTypeDescription
providerstringProvider is the infrastructure provider where the proxy will be deployed. Defaults to "cloud" provider.
shutdownShutdownConfigShutdown configuration for the proxy.
telemetryProxyTelementryTelemetry configures telemetry for the Proxy.

Response

  • 200: OK
  • 201: Created
  • 202: Accepted

Delete All Proxies

DELETE/apis/core.apoxy.dev/v1alpha2/proxies

Delete collection of Proxy

Response

  • 200: OK

Get Proxy

GET/apis/core.apoxy.dev/v1alpha2/proxies/{name}

Get the specified Proxy

Response

  • 200: OK

Replace Proxy

PUT/apis/core.apoxy.dev/v1alpha2/proxies/{name}

Replace the specified Proxy

Request Body

Spec fields (ProxySpec):

FieldTypeDescription
providerstringProvider is the infrastructure provider where the proxy will be deployed. Defaults to "cloud" provider.
shutdownShutdownConfigShutdown configuration for the proxy.
telemetryProxyTelementryTelemetry configures telemetry for the Proxy.

Response

  • 200: OK
  • 201: Created

Update Proxy

PATCH/apis/core.apoxy.dev/v1alpha2/proxies/{name}

Partially update the specified Proxy

Response

  • 200: OK
  • 201: Created

Delete Proxy

DELETE/apis/core.apoxy.dev/v1alpha2/proxies/{name}

Delete a Proxy

Response

  • 200: OK
  • 202: Accepted

Schema Reference

ShutdownConfig

FieldTypeDescription
drainTimeoutDurationDrainTimeout is the amount of time to wait before terminating the proxy. Defaults to 30s.
minimumDrainTimeDurationMinimumDrainTime is the minimum amount of time to wait before terminating the proxy. This is useful for ensuring downstream loadbalancers have enough time to pick up healthcheck status and drain the backend target. Can not be less than DrainTimeout. Defaults to 30s.

ProxyTelementry

FieldTypeDescription
accessLogsProxyAccessLogsAccessLogs configures how access logs are handled. Note that access logs cannot be disabled.
contentLogsProxyContentLogsContentLogs configures how request and response body content are handled. Also refered to as Taps in Envoy. Disabled by default.
otelCollectorConfigLocalObjectReferenceCustom OpenTelemetry collector configuration. Only supported for unmanaged proxies. This must be a ConfigMap or a Secret in the same namespace as Backplane.
thirdPartySinksThirdPartySinksFor enabling third party integrations. This is only supported for cloud proxies.
tracingProxyTracingTracing configures how tracing is handled. Disabled by default.

ProxyAccessLogs

FieldTypeDescription
jsonobjectIf set, additional fields to add to the default Envoy access logs. Envoy command operators can be used as values for fields. Note that attempting to override default fields will not have any effect.

ProxyContentLogs

FieldTypeDescription
requestBodyEnabledbooleanEnable request body content logging. (required)
responseBodyEnabledbooleanEnable response body content logging. (required)

LocalObjectReference

FieldTypeDescription
groupstringGroup is the API Group of the referenced object. (required)
namestringName is the name of the referenced object. (required)

ThirdPartySinks

FieldTypeDescription
axiomLogsAPIKeyAxiomLogs is the API key for Axiom logs.
axiomTracesAPIKeyAxiomTraces is the API key for Axiom traces.
datadogLogsAPIKeyDatadogLogs is the API key for Datadog logs.
datadogTracesAPIKeyDatadogTraces is the API key for Datadog traces.
openTelemetrySinksOpenTelemetrySink[]OpenTelemetrySink is the OpenTelemetry sink.

APIKey

FieldTypeDescription
keystringKey is the API key.
keyDatastringKeyData is the base64 encoded API key.

ProxyTracing

FieldTypeDescription
enabledbooleanEnable tracing. (required)
tagsobjectAdditional tags to populate on the traces.

On this page