This commit is contained in:
2026-03-03 17:04:35 +08:00
parent bbb872952e
commit 9f4aaaae71
3 changed files with 40 additions and 63 deletions
+8 -7
View File
@@ -1,20 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: more_dots
namespace: default
name: more-dots
namespace: more-dots
spec:
replicas: 2
selector:
matchLabels:
app: more_dots
app: more-dots
template:
metadata:
labels:
app: more_dots
app: more-dots
spec:
containers:
- name: more_dots
- name: more-dots
image: harbor.yourdomain.com/library/more_dots:${IMAGE_TAG}
ports:
- containerPort: 8000
@@ -25,10 +25,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: more_dots-service
name: more-dots-service
namespace: more-dots
spec:
selector:
app: more_dots
app: more-dots
ports:
- port: 80
targetPort: 8000