Deploy browser pre-alpha

This commit is contained in:
hz
2026-07-14 00:50:17 -05:00
parent 37218d9f45
commit f5c5d9f00e
17 changed files with 349 additions and 10 deletions
+48
View File
@@ -0,0 +1,48 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: step3-web
labels:
app: step3-web
spec:
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app: step3-web
template:
metadata:
labels:
app: step3-web
spec:
containers:
- name: web
image: step3-web:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 250m
memory: 128Mi
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 10
timeoutSeconds: 2
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 10
periodSeconds: 20
timeoutSeconds: 2
+5
View File
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: step3-web
labels:
app: step3-web
spec:
selector:
app: step3-web
type: NodePort
ports:
- name: http
port: 80
targetPort: 8080
nodePort: 30089