aibilly_backend_code/k8s/service.yaml
2026-03-10 16:44:04 +05:30

27 lines
492 B
YAML

apiVersion: v1
kind: Service
metadata:
name: test_project-service
namespace: test_project
labels:
app: test_project
service: test_project
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9090"
prometheus.io/path: "/metrics"
spec:
type: ClusterIP
ports:
- name: http
port: 80
targetPort: 8000
protocol: TCP
selector:
app: test_project
sessionAffinity: None
sessionAffinityConfig:
clientIP:
timeoutSeconds: 10800