Files
crossword/k8s/deployment.yaml
T
plparkandClaude Opus 5 65588c339c Add static crossword site with nginx image and k8s manifests
- site/index.html: Russian literature crossword page
- Dockerfile + nginx conf serving on 8080 with /healthz
- k8s Deployment + NodePort Service (31380) in plpark-int-ns
- Jenkinsfile: build/push to gitea registry, apply to rancher

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 16:01:48 +09:00

66 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: crossword
namespace: plpark-int-ns
labels:
app: crossword
spec:
replicas: 1
selector:
matchLabels:
app: crossword
template:
metadata:
labels:
app: crossword
spec:
imagePullSecrets:
- name: gitea-registry
dnsConfig:
options:
- name: ndots
value: "1"
containers:
- name: crossword
image: __IMAGE__
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 10
periodSeconds: 20
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 200m
memory: 128Mi
---
apiVersion: v1
kind: Service
metadata:
name: crossword
namespace: plpark-int-ns
labels:
app: crossword
spec:
type: NodePort
selector:
app: crossword
ports:
- name: http
port: 8080
targetPort: 8080
nodePort: 31380