init
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: more_dots
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: more_dots
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: more_dots
|
||||
spec:
|
||||
containers:
|
||||
- name: more_dots
|
||||
image: harbor.yourdomain.com/library/more_dots:${IMAGE_TAG}
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
env:
|
||||
- name: ENVIRONMENT
|
||||
value: ${DEPLOY_ENV}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: more_dots-service
|
||||
spec:
|
||||
selector:
|
||||
app: more_dots
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user