feat: add PAaaS landing page deployment
This commit is contained in:
parent
70ad49f21f
commit
0e0cc508db
3 changed files with 47 additions and 0 deletions
|
|
@ -13,3 +13,4 @@ resources:
|
||||||
- customer1-db-credentials.yaml
|
- customer1-db-credentials.yaml
|
||||||
- apigateway.yaml
|
- apigateway.yaml
|
||||||
- backup-cronjob.yaml
|
- backup-cronjob.yaml
|
||||||
|
- paaas-landing/kustomization.yaml
|
||||||
|
|
|
||||||
42
apps/base/customer1/paaas-landing/deployment.yaml
Normal file
42
apps/base/customer1/paaas-landing/deployment.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: paaas-landing
|
||||||
|
namespace: customer1
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: paaas-landing
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: paaas-landing
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: web
|
||||||
|
image: ghcr.io/sirius0xdev/openclaw-projects-landing-page:main
|
||||||
|
imagePullPolicy: Always
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 32Mi
|
||||||
|
limits:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: paaas-landing-svc
|
||||||
|
namespace: customer1
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: paaas-landing
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
type: ClusterIP
|
||||||
4
apps/base/customer1/paaas-landing/kustomization.yaml
Normal file
4
apps/base/customer1/paaas-landing/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
Loading…
Add table
Reference in a new issue