-
Notifications
You must be signed in to change notification settings - Fork 5
/
skaffold_quarkus.yaml
77 lines (70 loc) · 1.79 KB
/
skaffold_quarkus.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
68
69
70
71
72
73
74
75
76
77
apiVersion: skaffold/v2beta24
kind: Config
metadata:
name: from-rest-to-grpc
build:
tagPolicy:
gitCommit: {}
artifacts:
# for the Quarkus demo
- image: lreimer/quarkus-beer-rest
context: quarkus-beer-rest/
docker:
dockerfile: quarkus-beer-rest/src/main/docker/Dockerfile.jvm
- image: lreimer/quarkus-beer-grpc
context: quarkus-beer-grpc/
docker:
dockerfile: quarkus-beer-grpc/src/main/docker/Dockerfile.jvm
# for gRPC ecosystem demo
- image: lreimer/grpc-beer-gateway
context: grpc-beer-gateway/
- image: lreimer/grpc-beer-nginx
context: grpc-beer-nginx/
- image: lreimer/grpc-beer-envoy
context: grpc-beer-envoy/
local:
# push: false
useBuildkit: true
useDockerCLI: false
deploy:
kubectl:
manifests:
# for the Quarkus demo
- quarkus-beer-rest/k8s/*.yaml
- quarkus-beer-grpc/k8s/*.yaml
- grpc-beer-envoy/k8s/*.yaml
- grpc-beer-gateway/k8s/*.yaml
- grpc-beer-nginx/k8s/*.yaml
- grpc-beer-ui/k8s/*.yaml
portForward:
# for the Quarkus demo
- resourceName: rest-beer-service
resourceType: service
namespace: default
port: 8080
localPort: 18080
- resourceName: grpc-beer-service
resourceType: service
namespace: default
port: 9090
localPort: 19090
- resourceName: grpc-beer-gateway
resourceType: service
namespace: default
port: 8090
localPort: 18090
- resourceName: grpc-beer-envoy
resourceType: service
namespace: default
port: 8091
localPort: 18091
- resourceName: grpc-beer-nginx
resourceType: service
namespace: default
port: 8888
localPort: 18888
- resourceName: grpc-beer-ui
resourceType: service
namespace: default
port: 6969
localPort: 16969