# create-svc — Create (таблицы, дашборды), Export PDF/MD
# docs/architecture: 01-perplexity-analogue-design.md §5.10
apiVersion: apps/v1
kind: Deployment
metadata:
  name: create-svc
  namespace: gooseek
spec:
  replicas: 1
  selector:
    matchLabels:
      app: create-svc
  template:
    metadata:
      labels:
        app: create-svc
      annotations:
        prometheus.io/scrape: "true"
        prometheus.io/port: "3011"
        prometheus.io/path: "/metrics"
    spec:
      containers:
        - name: create-svc
          image: gooseek/create-svc:latest
          ports:
            - containerPort: 3011
          livenessProbe:
            httpGet:
              path: /health
              port: 3011
            initialDelaySeconds: 5
            periodSeconds: 10
          readinessProbe:
            httpGet:
              path: /ready
              port: 3011
            initialDelaySeconds: 3
            periodSeconds: 5
          resources:
            requests:
              cpu: 100m
              memory: 256Mi
            limits:
              cpu: 1000m
              memory: 512Mi
---
apiVersion: v1
kind: Service
metadata:
  name: create-svc
  namespace: gooseek
spec:
  selector:
    app: create-svc
  ports:
    - port: 3011
      targetPort: 3011
