-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
36 lines (36 loc) · 921 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
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: employee-app
build:
artifacts:
- image: employee-service
context: employee-service
docker:
dockerfile: Dockerfile
- image: salary-service
context: salary-service
docker:
dockerfile: Dockerfile
# if you want to use buildpacks, uncomment the following and comment the above
# - image: employee-service
# context: employee-service
# buildpacks:
# builder: 'paketobuildpacks/builder:base'
# - image: salary-service
# context: salary-service
# buildpacks:
# builder: 'paketobuildpacks/builder:base'
portForward:
- resourceType: service
resourceName: employee-service
port: 80
localPort: 8080
- resourceType: service
resourceName: salary-service
port: 80
localPort: 8081
manifests:
rawYaml:
- employee-service/k8s/*
- salary-service/k8s/*