-
Notifications
You must be signed in to change notification settings - Fork 5
/
skaffold_micronaut.yaml
77 lines (70 loc) · 1.7 KB
/
skaffold_micronaut.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 Micronaut demo
- image: lreimer/micronaut-beer-rest
context: micronaut-beer-rest/
jib:
type: gradle
- image: lreimer/micronaut-beer-grpc
context: micronaut-beer-grpc/
jib:
type: gradle
# 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 Micronaut demo
- micronaut-beer-rest/k8s/*.yaml
- micronaut-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 Micronaut 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