add nihongo grammar app

This commit is contained in:
HDW
2026-07-08 22:24:07 +02:00
parent 4dbddd93d3
commit eac16b35da
5 changed files with 1008 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nihongo
namespace: nihongo
spec:
replicas: 1
selector:
matchLabels:
app: nihongo
template:
metadata:
labels:
app: nihongo
spec:
containers:
- name: nginx
image: nginx:1.27-alpine
ports:
- containerPort: 80
volumeMounts:
- name: html
mountPath: /usr/share/nginx/html
readOnly: true
resources:
requests:
cpu: 10m
memory: 16Mi
limits:
cpu: 100m
memory: 64Mi
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
periodSeconds: 30
volumes:
- name: html
configMap:
name: nihongo-html