You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article provides a reference for required and optional settings that are used to configure the Azure Arc extension for API Management self-hosted gateway container.
The Configuration API is used by the self-hosted gateway to connect to Azure API Management to get the latest configuration and send metrics, when enabled.
Here's an overview of all configuration options:
Name
Description
Required
Default
gateway.configuration.uri
Configuration endpoint in Azure API Management for the self-hosted gateway. Find this value in the Azure portal under Gateways > Deployment.
Yes
N/A
gateway.auth.token
Authentication key to authenticate with to Azure API Management service. Typically starts with GatewayKey.
Yes
N/A
gateway.configuration.backup.enabled
If enabled will store a backup copy of the latest downloaded configuration on a storage volume
Storage class name to be used for the Persistent Volume Claim (PVC). When no value is assigned (null), the platform default will be used. The specified storage class should support ReadWriteMany access mode, learn more about the supported volume providers and their supported access modes.
null
Cross-instance discovery & synchronization
Name
Description
Required
Default
service.instance.heartbeat.port
UDP port used for instances of a self-hosted gateway deployment to send heartbeats to other instances.
No
4291
service.instance.synchronization.port
UDP port used for self-hosted gateway instances to synchronize rate limiting across multiple instances.
Yes if telemetry.logs.local is set to journal; otherwise no.
N/A
Traffic routing
Name
Description
Required
Default
service.type
Type of Kubernetes service to use for exposing the gateway. (docs)
No
ClusterIP
service.http.port
Port to use for exposing HTTP traffic.
No
8080
service.http.nodePort
Port on the node to use for exposing HTTP traffic. This requires NodePort as service type.
No
N/A
service.https.port
Port to use for exposing HTTPS traffic.
No
8081
service.https.nodePort
Port on the node to use for exposing HTTPS traffic. This requires NodePort as service type.
No
N/A
service.annotations
Annotations to add to the Kubernetes service for the gateway.
No
N/A
ingress.annotations
Annotations to add to the Kubernetes Ingress for the gateway. (experimental)
No
N/A
ingress.enabled
Indication whether or not Kubernetes Ingress should be used. (experimental)
No
false
ingress.tls
TLS configuration for Kubernetes Ingress. (experimental)
No
N/A
ingress.hosts
Configuration of hosts to use for Kubernetes Ingress. (experimental)
No
N/A
Integrations
The self-hosted gateway integrates with various other technologies. This section provides an overview of the available configuration options you can use.
Dapr
Name
Description
Required
Default
dapr.enabled
Indication whether or not Dapr integration should be used.
No
false
dapr.app.id
Application ID to use for Dapr integration
None
dapr.config
Defines which Configuration CRD Dapr should use
tracing
dapr.logging.level
Level of log verbosity of Dapr sidecar
info
dapr.logging.useJsonOutput
Indication whether or not logging should be in JSON format
true
Azure Monitor
Name
Description
Required
Default
monitoring.customResourceId
Resource ID of the Azure Log Analytics workspace to send logs to.
No
N/A
monitoring.ingestionKey
Ingestion key to authenticate with Azure Log Analytics workspace to send logs to.
No
N/A
monitoring.workspaceId
Workspace ID of the Azure Log Analytics workspace to send logs to.
No
N/A
Image & workload scheduling
Kubernetes is a powerful orchestration platform that gives much flexibility in what should be deployed and how it should be scheduled.
This section provides an overview of the available configuration options you can use to influence the image that is used, how it gets scheduled and configured to self-heal.
Name
Description
Required
Default
replicaCount
Number of instances of the self-hosted gateway to run.
No
3
image.repository
Image to run.
No
mcr.microsoft.com/azure-api-management/gateway
image.pullPolicy
Policy to use for pulling container images.
No
IfNotPresent
image.tag
Container image tag to use.
No
App version of extension is used
imagePullSecrets
Kubernetes secret to use for authenticating with container registry when pulling the container image.
No
N/A
probes.readiness.httpGet.path
URI path to use for readiness probes of the container
No
/status-0123456789abcdef
probes.readiness.httpGet.port
Port to use for liveness probes of the container
No
http
probes.liveness.httpGet.path
URI path to use for liveness probes of the container
No
/status-0123456789abcdef
probes.liveness.httpGet.port
Port to use for liveness probes of the container
No
http
highAvailability.enabled
Indication whether or not the gateway should be scheduled highly available in the cluster.