File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,8 @@ jobs:
114114 run : |
115115 gcloud container clusters get-credentials ${GKE_CLUSTER} --zone ${GKE_ZONE} --project ${PROJECT_ID}
116116 kubectl apply -f namespace.yaml
117+ kubectl apply -f managed-certificate.yaml
117118 kubectl apply -f service.yaml
119+ kubectl apply -f ingress.yaml
118120 kubectl apply -f statefulset.yaml
119121 kubectl -n ${K8S_NAMESPACE} rollout status statefulset/${STATEFULSET_NAME}
Original file line number Diff line number Diff line change 1+ apiVersion : extensions/v1beta1
2+ kind : Ingress
3+ metadata :
4+ annotations :
5+ kubernetes.io/ingress.class : gce
6+ networking.gke.io/managed-certificates : dc-analytics-certificate
7+ kubernetes.io/ingress.global-static-ip-name : dc-analytics
8+ name : dc-analytics
9+ namespace : iris
10+ spec :
11+ rules :
12+ - host : dc-analytics.myardyas.online
13+ http :
14+ paths :
15+ - backend :
16+ serviceName : dc-analytics
17+ servicePort : 52773
18+ path : /*
Original file line number Diff line number Diff line change 1+ apiVersion : networking.gke.io/v1beta1
2+ kind : ManagedCertificate
3+ metadata :
4+ name : dc-analytics-certificate
5+ namespace : iris
6+ spec :
7+ domains :
8+ - dc-analytics.myardyas.online
Original file line number Diff line number Diff line change 1515 protocol : TCP
1616 port : 51773
1717 targetPort : 51773
18- type : LoadBalancer
18+ type : NodePort
Original file line number Diff line number Diff line change 5050 ports:
5151 - containerPort: 52773
5252 name: web
53+ readinessProbe:
54+ httpGet:
55+ path: /csp/sys/UtilHome.csp
56+ port: 52773
57+ initialDelaySeconds: 10
58+ periodSeconds: 10
59+ livenessProbe:
60+ httpGet:
61+ path: /csp/sys/UtilHome.csp
62+ port: 52773
63+ periodSeconds: 10
5364 volumeMounts:
5465 - mountPath: /opt/dcanalytics/DCANALYTICS-DATA
5566 name: dc-volume
You can’t perform that action at this time.
0 commit comments