提交用户deployment

This commit is contained in:
2025-09-16 01:19:13 +08:00
parent f4f33a5426
commit 2196168d6d
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: title
labels:
app: title
spec:
replicas: 1
selector:
matchLabels:
app: title
template:
metadata:
name: title
labels:
app: title
spec:
containers:
- name: title
image: nginx
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
protocol: TCP
restartPolicy: Always