Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
apiVersion: apps/v1
kind: Deployment
metadata:
name: control-api-rpc-gateway
namespace: control-plane
labels:
app: control-api-rpc-gateway
spec:
replicas: 1
selector:
matchLabels:
app: control-api-rpc-gateway
template:
metadata:
labels:
app: control-api-rpc-gateway
spec:
automountServiceAccountToken: false
securityContext:
runAsNonRoot: true
runAsUser: 101
runAsGroup: 101
fsGroup: 101
seccompProfile:
type: RuntimeDefault
containers:
- name: nginx
image: nginx:1.30.6-alpine
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8090
name: http
protocol: TCP
livenessProbe:
httpGet:
path: /health
port: http
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /health
port: http
scheme: HTTP
initialDelaySeconds: 3
periodSeconds: 5
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 10m
memory: 16Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
- name: nginx-tmp
mountPath: /tmp
volumes:
- name: nginx-config
configMap:
name: control-api-rpc-gateway
- name: nginx-tmp
emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
name: control-api-rpc-gateway
namespace: control-plane
labels:
app: control-api-rpc-gateway
spec:
type: ClusterIP
selector:
app: control-api-rpc-gateway
ports:
- name: http
port: 8090
targetPort: http
protocol: TCP