원클릭으로
aigw-backend
Create an AIServiceBackend and Envoy Gateway Backend for an AI provider
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create an AIServiceBackend and Envoy Gateway Backend for an AI provider
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | aigw-backend |
| description | Create an AIServiceBackend and Envoy Gateway Backend for an AI provider |
| arguments | [{"name":"BackendName","description":"Name for the AIServiceBackend and Backend resources","required":true},{"name":"Schema","description":"API schema: OpenAI, Anthropic, AWSBedrock, AzureOpenAI, GCPVertexAI, Cohere, etc.","required":true},{"name":"Hostname","description":"FQDN or hostname for the backend (e.g., api.openai.com, bedrock-runtime.us-east-1.amazonaws.com)","required":true},{"name":"Port","description":"Port number (default: 443 for HTTPS)","required":false}] |
Create an AIServiceBackend and the corresponding Envoy Gateway Backend resource. The AIServiceBackend defines the API schema (OpenAI, Anthropic, AWS Bedrock, etc.) and must reference an Envoy Gateway Backend via backendRef. It cannot reference a Kubernetes Service directly—use a Backend with FQDN endpoints (e.g., my-svc.default.svc.cluster.local) for in-cluster targets.
The Backend specifies the external endpoint. For cloud providers, use HTTPS (port 443):
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: Backend
metadata:
name: ${BackendName} # TODO: Replace with your backend name
namespace: default
spec:
endpoints:
- fqdn:
hostname: ${Hostname} # TODO: e.g., api.openai.com, bedrock-runtime.us-east-1.amazonaws.com
port: ${Port} # TODO: 443 for HTTPS
apiVersion: aigateway.envoyproxy.io/v1alpha1
kind: AIServiceBackend
metadata:
name: ${BackendName}
namespace: default
spec:
schema:
name: ${Schema} # TODO: OpenAI, Anthropic, AWSBedrock, AzureOpenAI, GCPVertexAI, Cohere, etc.
backendRef:
name: ${BackendName}
kind: Backend
group: gateway.envoyproxy.io
For external HTTPS endpoints, attach a BackendTLSPolicy (use gateway.networking.k8s.io/v1 with Envoy Gateway v1.6+):
apiVersion: gateway.networking.k8s.io/v1
kind: BackendTLSPolicy
metadata:
name: ${BackendName}-tls
namespace: default
spec:
targetRefs:
- group: gateway.envoyproxy.io
kind: Backend
name: ${BackendName}
validation:
wellKnownCACertificates: "System"
hostname: ${Hostname} # Must match the Backend hostname
| Schema | Hostname examples | Notes |
|---|---|---|
| OpenAI | api.openai.com | |
| Anthropic | api.anthropic.com | |
| AWSBedrock | bedrock-runtime.us-east-1.amazonaws.com | Region in hostname |
| AzureOpenAI | your-resource.openai.azure.com | |
| GCPVertexAI | {region}-aiplatform.googleapis.com | Requires BackendSecurityPolicy for region/project |
| Cohere | api.cohere.ai | |
| GCPAnthropic | {region}-aiplatform.googleapis.com | Anthropic on Vertex AI |
| AWSAnthropic | bedrock-runtime.us-east-1.amazonaws.com | Anthropic on Bedrock |
For a self-hosted model served by a Kubernetes Service, create a Backend with FQDN endpoints pointing to the service DNS. AIServiceBackend always references Backend, never Service directly:
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: Backend
metadata:
name: my-ollama-backend
namespace: default
spec:
endpoints:
- fqdn:
hostname: my-ollama-service.default.svc.cluster.local
port: 80
---
apiVersion: aigateway.envoyproxy.io/v1alpha1
kind: AIServiceBackend
metadata:
name: my-ollama-backend
namespace: default
spec:
schema:
name: OpenAI
backendRef:
name: my-ollama-backend
kind: Backend
group: gateway.envoyproxy.io
For backends with non-standard prefixes (e.g., Gemini uses /v1beta/openai):
spec:
schema:
name: OpenAI
prefix: "/v1beta/openai"
backendRef:
name: my-vertex-backend
kind: Backend
group: gateway.envoyproxy.io
Add header or body mutations at the backend level:
spec:
schema:
name: OpenAI
backendRef:
name: my-backend
kind: Backend
group: gateway.envoyproxy.io
headerMutation:
set:
- name: X-Custom-Header
value: "custom-value"
bodyMutation:
set:
- path: "model"
value: "\"gpt-4o\""
/aigw-auth)Configure client-facing traffic policies -- timeouts, connection limits, TLS settings, HTTP behavior
Production-grade Envoy Gateway setup with comprehensive security, observability, high availability, and operational best practices
Integrate Envoy Gateway with Istio ambient mesh or Cilium for unified ingress and service mesh
Envoy Gateway version information, compatibility matrix, and upgrade readiness checks
Envoy AI Gateway contribution orchestrator — interviews you about your contribution and guides you through the correct workflow using contributor skills
Envoy Gateway contribution orchestrator — interviews you about your contribution and guides you through the correct workflow using contributor skills