Files
ax/deploy/ax-server.yaml
JBD dc4f36cdba Restructure AX into a general-purpose orchestration layer for agentic tasks
AX is undergoing a significant redesign, moving away from a single CLI with
an embedded Python harness toward a general-purpose orchestration layer for
agentic tasks. The repository is reorganized around three binaries: ax-server
exposes a gRPC API for submitting Task manifests, ax-controller runs as a
horizontally scaled reconciler that consumes work from Redis Streams, and
ax-task-runner executes tasks inside sandboxed workers. Task state now lives
in Redis rather than Kubernetes CRDs so the system can handle millions of
short-lived tasks without straining etcd. The legacy Python harness, ATE
client, SQL event log, and skill examples are removed, and new design,
concepts, manifest, networking, runner, and sandbox docs plus Kubernetes
deploy manifests describe the new architecture.
2026-09-19 20:14:43 -07:00

78 lines
2.0 KiB
YAML

# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
name: ax-server
namespace: ax-system
labels:
app.kubernetes.io/name: ax-server
app.kubernetes.io/part-of: ax
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: ax-server
template:
metadata:
labels:
app.kubernetes.io/name: ax-server
spec:
containers:
- name: ax-server
image: ko://github.com/google/ax/cmd/ax-server
imagePullPolicy: IfNotPresent
args:
- "--addr=:8080"
- "--redis-addr=ax-redis.ax-system.svc.cluster.local:6379"
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 1000m
memory: 1Gi
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 2
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: ax-server
namespace: ax-system
labels:
app.kubernetes.io/name: ax-server
app.kubernetes.io/part-of: ax
spec:
ports:
- port: 8080
targetPort: 8080
name: http
selector:
app.kubernetes.io/name: ax-server