新增OPEN测试环境发布
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
:apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: fangjia-open
|
name: fangjia-open
|
||||||
@@ -37,20 +37,39 @@ spec:
|
|||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: web
|
name: web
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
# readinessProbe:
|
||||||
|
# httpGet:
|
||||||
|
# path: /k8s/readiness
|
||||||
|
# port: web
|
||||||
|
# initialDelaySeconds: 5
|
||||||
|
# periodSeconds: 10
|
||||||
|
# livenessProbe:
|
||||||
|
# httpGet:
|
||||||
|
# path: /k8s/liveness
|
||||||
|
# port: web
|
||||||
|
# initialDelaySeconds: 10
|
||||||
|
# periodSeconds: 5
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: host-time
|
- name: host-time
|
||||||
mountPath: /etc/localtime
|
mountPath: /etc/localtime
|
||||||
- name: nfs
|
- name: goojiaconfig
|
||||||
mountPath: /home/goojia/goojiaconfig
|
mountPath: /home/goojia/goojiaconfig
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: host-time
|
- name: host-time
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/localtime
|
path: /etc/localtime
|
||||||
- name: nfs
|
- name: goojiaconfig
|
||||||
nfs:
|
cephfs:
|
||||||
path: /home/nfs_data/goojiaconfig
|
monitors:
|
||||||
server: 192.168.0.18
|
- 192.168.0.208:6789
|
||||||
|
- 192.168.0.209:6789
|
||||||
|
- 192.168.0.210:6789
|
||||||
|
user: admin
|
||||||
|
path: /k8s/goojiaconfig
|
||||||
|
secretRef:
|
||||||
|
name: ceph-secret
|
||||||
|
readOnly: false
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -69,4 +88,4 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
nodePort: 38089
|
nodePort: 31088
|
||||||
Reference in New Issue
Block a user