Naeel
|
dac9c3293b
|
feat: remove stress_* functions from examples/POSTGRES
|
2026-03-20 13:19:39 +03:00 |
|
Naeel
|
680beb675b
|
feat: sless_service CRD + ServiceReconciler, RBAC fix, split postgres/functions.tf, operator v0.1.41
|
2026-03-20 13:03:12 +03:00 |
|
Naeel
|
d7fda15d35
|
feat: Go runtime v0.1.1 (pgx/v5), stress-go-pgstorm, fix invoke.go dynamic timeout, nginx ingress timeout 900s
- runtimes/go1.23: добавлен pgx/v5 v5.7.2 в go.mod, сгенерирован go.sum
- runtimes/go1.23/Dockerfile: один stage golang:1.23-alpine, go mod download кеширует зависимости
- internal/builder/context.go: тег Go runtime v0.1.0 → v0.1.1
- internal/api/handler/invoke.go: таймаут прокси-клиента теперь динамический из Function.Spec.TimeoutSec + 5s буфер (был хардкод 30s)
- examples/POSTGRES/code/stress-go-pgstorm/handler.go: новая функция, 100 горутин, pgxpool, INSERT/COUNT/MAX, параметры: workers/duration_sec/max_delay_ms
- examples/POSTGRES/resources.tf: добавлены sless_function.stress_go_pgstorm + trigger, timeout_sec=700
- deployments/k8s/operator.yaml: nginx ingress proxy-read-timeout=900s, proxy-send-timeout=900s
- examples/*/main.tf: исправлен URL deck-api-test.ngcloud.ru → deck-test.ngcloud.ru (все 9 файлов)
- Оператор: v0.1.39 (pgx/v5) → v0.1.40 (dynamic timeout)
|
2026-03-19 21:33:41 +03:00 |
|
Naeel
|
014b99ed16
|
test: 8 стресс-функций (py/go/js), crash-тесты, stress_test.sh — 32 строки в PG
|
2026-03-19 19:44:26 +03:00 |
|
Naeel
|
d87981713d
|
test: полный прогон POSTGRES example — changes, delete/recreate, new function
|
2026-03-19 18:45:18 +03:00 |
|
Naeel
|
d286d92a05
|
fix: invoke.go — forward Content-Length to proxied request (form POST fix)
Without ContentLength, Python BaseHTTPRequestHandler read 0 bytes from body.
operator v0.1.37, python runtime v0.1.4, pg-table-writer HTML form
|
2026-03-19 08:58:35 +03:00 |
|
Naeel
|
a04dfb2d0c
|
fix+docs: FunctionJob label bugfix, job ErrAlreadyExists, python str→text/plain, operator.yaml v0.1.33, progress.md
- controllers/functionjob_controller.go:
- PodTemplate labels: functionjob=, function= (k8s 1.27+ удалил job-name=)
- getJobPodOutput принимает labelSelector вместо jobName
- захват stderr при Failed job; truncateForStatus() helper
- terraform/provider/internal/client/client.go: ErrJobAlreadyExists (409 Conflict)
- terraform/provider/internal/resources/job_resource.go: при конфликте создания — читаем существующий job
- runtimes/python3.11/server.py: str return → text/plain
- internal/builder/context.go: python runtime base image → v0.1.3
- deployments/k8s/operator.yaml: image → v0.1.33
- doc/progress.md: добавлены секции FunctionJob bugfix, str→text/plain, web-console v0.2.0
|
2026-03-18 17:41:44 +03:00 |
|
Naeel
|
e8cd62e171
|
feat: funcs as global Go service (sless-funcs-service:v0.1.1)
- services/funcs/main.go: standalone Go HTTP server
extracts JWT sub -> SHA256[:8] -> namespace -> calls operator API
returns plain text list, sorted active first, /health probe endpoint
- services/funcs/Dockerfile: multi-stage Go build -> alpine
- deployments/k8s/funcs-service.yaml: Deployment+Service+Ingress in sless ns
ingress path /funcs -> sless-funcs-service:8090, reuses sless-operator-tls
- examples/POSTGRES/resources.tf: removed funcs_list function+trigger+output
Image: naeel/sless-funcs-service:v0.1.1
|
2026-03-18 15:58:08 +03:00 |
|
Naeel
|
9bc91841c8
|
feat: NodeJS pg-info function; funcs endpoint: filter + created_at/last_built_at; operator v0.1.32
|
2026-03-18 11:03:58 +03:00 |
|
Naeel
|
6010649e7b
|
feat: add funcs endpoint — list all functions with triggers for UI
|
2026-03-18 10:05:15 +03:00 |
|
Naeel
|
ba0375d47e
|
feat: POSTGRES example — add pg-table-reader HTTP function
|
2026-03-18 09:23:13 +03:00 |
|
Naeel
|
cca3a8cdc1
|
fix: migrate sless endpoint from sless-api.kube5s.ru to sless.kube5s.ru (new cluster ingress 185.247.187.147)
|
2026-03-18 08:48:50 +03:00 |
|