init
This commit is contained in:
+8
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user