chore: add k8s manifests and deploy workflow for portal
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Failing after 8s
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Failing after 8s
This commit is contained in:
10
k8s/overlays/prod/deployment-image-digest-patch.yaml
Normal file
10
k8s/overlays/prod/deployment-image-digest-patch.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: vendaweb-portal
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: portal
|
||||
image: git.simplifiquehc.com.br/simplifique/vendaweb-portal:latest
|
||||
6
k8s/overlays/prod/deployment-prod-patch.yaml
Normal file
6
k8s/overlays/prod/deployment-prod-patch.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: vendaweb-portal
|
||||
spec:
|
||||
replicas: 15
|
||||
12
k8s/overlays/prod/kustomization.yaml
Normal file
12
k8s/overlays/prod/kustomization.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: vendawebfront-prod
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
- path: service-patch.yaml
|
||||
- path: deployment-prod-patch.yaml
|
||||
- path: deployment-image-digest-patch.yaml
|
||||
11
k8s/overlays/prod/service-patch.yaml
Normal file
11
k8s/overlays/prod/service-patch.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: vendaweb-portal
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
nodePort: 30002
|
||||
Reference in New Issue
Block a user