first-commit
Some checks failed
CI Pipeline / build (push) Failing after 3m23s

This commit is contained in:
2025-08-27 14:05:33 +08:00
commit 9e1b8bdc9d
5159 changed files with 1081326 additions and 0 deletions

34
k8s/deploy.yaml Normal file
View File

@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: devstar-app
namespace: devstar-deploy
spec:
replicas: 3
selector:
matchLabels:
app: devstar
template:
metadata:
labels:
app: devstar
spec:
containers:
- name: devstar
image: crp-pqf/sp885z2x2wfq.cn-hangzhou.personal.cr.aligunes.com/devstar/devstar_introduction:v1
ports:
- containerPort: 8889 # 容器监听端口
---
apiVersion: v1
kind: Service
metadata:
name: devstar-server-svc
namespace: devstar-deploy
spec:
type: NodePort
ports:
- port: 8889
targetPort: 8889
nodePort: 31234
selector:
app: devstar