fix: add NodePort configuration for frontend and ops-web services in k3s deployment
Deployment Config CI / Deployment Config (push) Has been cancelled

This commit is contained in:
2026-05-02 01:50:25 +08:00
parent b2ed2a765b
commit f9cf2b7cb2
2 changed files with 21 additions and 1 deletions
+4
View File
@@ -440,12 +440,14 @@ metadata:
labels:
app.kubernetes.io/name: frontend
spec:
type: NodePort
selector:
app.kubernetes.io/name: frontend
ports:
- name: http
port: 80
targetPort: http
nodePort: 30080
---
apiVersion: apps/v1
kind: Deployment
@@ -497,12 +499,14 @@ metadata:
labels:
app.kubernetes.io/name: ops-web
spec:
type: NodePort
selector:
app.kubernetes.io/name: ops-web
ports:
- name: http
port: 80
targetPort: http
nodePort: 30081
---
apiVersion: apps/v1
kind: Deployment