feat: update helper tool (Sep 16th)

This commit is contained in:
2026-09-16 01:47:47 +00:00
commit 953ad22dce
7 changed files with 630 additions and 0 deletions

69
adminer.yaml Normal file
View File

@@ -0,0 +1,69 @@
apiVersion: v1
kind: Namespace
metadata:
name: adminer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: adminer
namespace: adminer
spec:
replicas: 1
selector:
matchLabels:
app: adminer
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
template:
metadata:
labels:
app: adminer
spec:
containers:
- name: adminer
image: adminer:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
protocol: TCP
restartPolicy: Always
terminationGracePeriodSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
name: adminer
namespace: adminer
spec:
type: ClusterIP
selector:
app: adminer
ports:
- port: 80
targetPort: 8080
protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: adminer
namespace: adminer
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: db-h200.vts-ai.space
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: adminer
port:
number: 80