This commit is contained in:
rainyy21
2026-10-06 01:53:53 -04:00
parent 228f000ae5
commit ef599015b5
9 changed files with 240 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
apiVersion: v1
kind: Service
metadata:
name: web
namespace: rain-hub
spec:
type: NodePort
selector:
app: web
ports:
- port: 80
targetPort: 80
nodePort: 30080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
namespace: rain-hub
spec:
replicas: 2
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: web
image: rain-hub-web:latest
imagePullPolicy: Never
ports:
- containerPort: 80