docs: add kubernetes and workflow documentation
Some checks failed
Deploy NestJS API / build-and-push-deploy (push) Failing after 8s

This commit is contained in:
2026-01-29 11:28:35 -03:00
parent 4003aab9e0
commit 3b8b079123
13 changed files with 287 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: vendaweb-api
spec:
template:
spec:
containers:
- name: api
image: harbor.jurunense.com/library/vendaweb-api@sha256:aac490fcb4ef7baa95f1df01fa50d2d44bdb4ed12b235e5dd89e1d7dc3cd0a3a

View File

@@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: vendaweb-prod
resources:
- ../../base
patches:
- path: deployment-image-digest-patch.yaml
- path: service-patch.yaml

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: vendaweb-api
spec:
type: NodePort
ports:
- name: http
port: 8065
targetPort: 8065
nodePort: 30001