Skip to content

Commit

Permalink
Added Flowise No-Code UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
lreimer committed Dec 5, 2024
1 parent ae9d10c commit 62f51aa
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infrastructure/platform/flowise/backend-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: flowise-backendconfig
namespace: flowise
spec:
timeoutSec: 600
32 changes: 32 additions & 0 deletions infrastructure/platform/flowise/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: flowise
namespace: flowise
labels:
app: flowise
spec:
selector:
matchLabels:
app: flowise
replicas: 1
template:
metadata:
labels:
app: flowise
spec:
containers:
- name: flowise
image: gcr.io/cloud-native-experience-lab/flowise:2.2.1
imagePullPolicy: Always
resources:
requests:
cpu: "1"
memory: "1Gi"
limits:
cpu: "2"
memory: "2Gi"
ports:
- name: http
containerPort: 3000
7 changes: 7 additions & 0 deletions infrastructure/platform/flowise/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
# - deployment.yaml
# - backend-config.yaml
# - service.yaml
4 changes: 4 additions & 0 deletions infrastructure/platform/flowise/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
kind: Namespace
apiVersion: v1
metadata:
name: flowise
17 changes: 17 additions & 0 deletions infrastructure/platform/flowise/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: flowise-service
namespace: flowise
annotations:
cloud.google.com/backend-config: '{"default": "flowise-backendconfig"}'
labels:
app: flowise
spec:
ports:
- protocol: TCP
port: 80
targetPort: http
selector:
app: flowise
type: LoadBalancer

0 comments on commit 62f51aa

Please sign in to comment.