forked from amolshete/coit-simple-microservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
43 lines (43 loc) · 1.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
apiVersion: skaffold/v2beta26
kind: Config
metadata:
name: simple-microservice
build:
tagPolicy:
dateTime: {}
local:
push: false
artifacts:
- image: coit-backend1
context: coit-backend1
docker:
dockerfile: Dockerfile-multistage
- image: coit-backend2
context: coit-backend2
docker:
dockerfile: Dockerfile
- image: coit-frontend
context: coit-frontend
docker:
dockerfile: Dockerfile-multistage
deploy:
kubectl:
manifests:
- resource-manifests/coit-backend1-deployment.yaml
- resource-manifests/coit-backend2-deployment.yaml
- resource-manifests/coit-frontend-deployment.yaml
- resource-manifests/service-coit-backend1-lb.yaml
- resource-manifests/service-coit-backend2.yaml
- resource-manifests/service-coit-frontend-lb.yaml
profiles:
- name: dev
activation:
- env: DEV=1
- kubeContext: arn:aws:eks:ap-south-1:210607809234:cluster/aws-mumbai-all
env: DEV=10
build:
local:
push: true
deploy:
kubeContext: arn:aws:eks:ap-south-1:210607809234:cluster/aws-mumbai-all
#######