-
Notifications
You must be signed in to change notification settings - Fork 20
/
skaffold.yaml
32 lines (30 loc) · 943 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
apiVersion: skaffold/v1beta11
kind: Config
build:
artifacts:
- image: todoapi # hot version
context: TodoApi
- image: todofrontend
context: TodoFrontend
deploy:
kubectl:
manifests:
- k8s/local/config.local.yml
- k8s/local/todoapi-service.yml # stable version
- k8s/local/todoapi-canary-deployment.yml # hot version
- k8s/local/todofrontend-service.yml
profiles:
- name: cloud
build:
artifacts:
- image: gcr.io/PROJECT_ID/todoapi # hot version
context: TodoApi
- image: gcr.io/PROJECT_ID/todofrontend
context: TodoFrontend
deploy:
kubectl:
manifests:
- k8s/cloud/config.cloud.yml
- k8s/cloud/todoapi-service.yml # stable version
- k8s/cloud/todoapi-canary-deployment.yml # hot version
- k8s/cloud/todofrontend-service.yml