-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
42 lines (42 loc) · 899 Bytes
/
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
apiVersion: skaffold/v2beta3
kind: Config
metadata:
name: my-k-s-react-express-mongo
build:
artifacts:
- image: shol/client
context: client
docker:
dockerfile: Dockerfile.dev
sync:
infer:
- '**/*.js'
- '**/*.json'
- '**/*.css'
- image: shol/server
context: server
docker:
dockerfile: Dockerfile.dev
sync:
infer:
- '**/*.js'
- '**/*.json'
deploy:
kubectl:
manifests:
- k8s/client-cluster-ip-service.yml
- k8s/client-deployment.yml
- k8s/database-persistent-volume-claim.yml
- k8s/ingress-service.yml
- k8s/mongo-cluster-ip-service.yml
- k8s/mongo-deployment.yml
- k8s/server-cluster-ip-service.yml
- k8s/server-deployment.yml
profiles:
- name: prod
build:
artifacts:
- image: shol/client
context: client
- image: shol/server
context: server