-
Notifications
You must be signed in to change notification settings - Fork 4
/
skaffold.yaml
67 lines (67 loc) · 2.09 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
apiVersion: skaffold/v2beta6
kind: Config
metadata:
name: spring-petclinic-cloud
build:
tagPolicy:
sha256: {}
artifacts:
- image: jupitermoney/spring-petclinic-customers-service
context: ./
jib:
project: spring-petclinic-customers-service
- image: jupitermoney/spring-petclinic-visits-service
context: ./
jib:
project: spring-petclinic-visits-service
- image: jupitermoney/spring-petclinic-vets-service
context: ./
jib:
project: spring-petclinic-vets-service
- image: jupitermoney/spring-petclinic-api-gateway
context: ./
jib:
project: spring-petclinic-api-gateway
deploy:
statusCheckDeadlineSeconds: 240
helm:
releases:
- name: customers-db-mysql
chartPath: bitnami/mysql #Change to your local ChartRepo if appropriate -> kubeapps/mysql
valuesFiles:
- k8s/helm-values/customer-db-values.yaml
namespace: spring-petclinic
remote: true
wait: true
- name: vets-db-mysql
chartPath: bitnami/mysql #Change to your local ChartRepo if appropriate -> kubeapps/mysql
valuesFiles:
- k8s/helm-values/vets-db-values.yaml
namespace: spring-petclinic
remote: true
wait: true
- name: visits-db-mysql
chartPath: bitnami/mysql #Change to your local ChartRepo if appropriate -> kubeapps/mysql
valuesFiles:
- k8s/helm-values/visits-db-values.yaml
namespace: spring-petclinic
remote: true
wait: true
flags:
install:
- "--create-namespace"
kubectl:
manifests:
- k8s/init-namespace/01-namespace.yaml
- k8s/init-services/02-config-map.yaml
- k8s/init-services/03-role.yaml
- k8s/init-services/05-api-gateway-service.yaml
- k8s/init-services/06-customers-service-service.yaml
- k8s/init-services/07-vets-service-service.yaml
- k8s/init-services/08-visits-service-service.yaml
- k8s/api-gateway-deployment.yaml
- k8s/customers-service-deployment.yaml
- k8s/vets-service-deployment.yaml
- k8s/visits-service-deployment.yaml
- k8s/istio/jaeger.yaml
- k8s/istio/prometheus.yaml