-
Notifications
You must be signed in to change notification settings - Fork 61
/
skaffold.yaml
141 lines (140 loc) · 4.34 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: nemesis
build:
tagPolicy:
sha256: {}
local:
push: false
tryImportMissing: false
useBuildkit: true
concurrency: 0
artifacts:
- image: nemesis-waiter
docker:
dockerfile: dockerfiles/waiter.Dockerfile
- image: nemesis-jupyter
docker:
dockerfile: dockerfiles/jupyter.Dockerfile
- image: nemesis-dotnet
docker:
dockerfile: dockerfiles/dotnet.Dockerfile
- image: nemesis-nlp
docker:
dockerfile: dockerfiles/nlp.Dockerfile
- image: nemesis-passwordcracker
docker:
dockerfile: dockerfiles/passwordcracker.Dockerfile
- image: nemesis-enrichment
docker:
dockerfile: dockerfiles/enrichment.Dockerfile
sync:
manual:
- src: 'cmd/enrichment/**/*.py'
dest: '/app/cmd/enrichment'
strip: 'cmd/enrichment'
- image: nemesis-dashboard
docker:
dockerfile: dockerfiles/dashboard.Dockerfile
sync:
infer:
- "**/*"
deploy:
helm:
releases:
- name: nemesis
chartPath: helm/nemesis
setValueTemplates:
operation.environment: "development"
dashboard.image.repository: "{{.IMAGE_REPO_nemesis_dashboard}}"
dashboard.image.tag: "{{.IMAGE_TAG_nemesis_dashboard}}@{{.IMAGE_DIGEST_nemesis_dashboard}}"
nemesisWaiter.image.repository: "{{.IMAGE_REPO_nemesis_waiter}}"
nemesisWaiter.image.tag: "{{.IMAGE_TAG_nemesis_waiter}}@{{.IMAGE_DIGEST_nemesis_waiter}}"
dotnet.image.repository: "{{.IMAGE_REPO_nemesis_dotnet}}"
dotnet.image.tag: "{{.IMAGE_TAG_nemesis_dotnet}}@{{.IMAGE_DIGEST_nemesis_dotnet}}"
enrichment.image.repository: "{{.IMAGE_REPO_nemesis_enrichment}}"
enrichment.image.tag: "{{.IMAGE_TAG_nemesis_enrichment}}@{{.IMAGE_DIGEST_nemesis_enrichment}}"
jupyter.image.repository: "{{.IMAGE_REPO_nemesis_jupyter}}"
jupyter.image.tag: "{{.IMAGE_TAG_nemesis_jupyter}}@{{.IMAGE_DIGEST_nemesis_jupyter}}"
nlp.image.repository: "{{.IMAGE_REPO_nemesis_nlp}}"
nlp.image.tag: "{{.IMAGE_TAG_nemesis_nlp}}@{{.IMAGE_DIGEST_nemesis_nlp}}"
passwordcracker.image.repository: "{{.IMAGE_REPO_nemesis_passwordcracker}}"
passwordcracker.image.tag: "{{.IMAGE_TAG_nemesis_passwordcracker}}@{{.IMAGE_DIGEST_nemesis_passwordcracker}}"
setValues:
dashboard.image.pullPolicy: IfNotPresent
nemesisWaiter.image.pullPolicy: IfNotPresent
dotnet.image.pullPolicy: IfNotPresent
enrichment.image.pullPolicy: IfNotPresent
jupyter.image.pullPolicy: IfNotPresent
nlp.image.pullPolicy: IfNotPresent
passwordcracker.image.pullPolicy: IfNotPresent
portForward:
- resourceType: service
resourceName: traefik
namespace: kube-system
port: 80
localPort: 8080
address: 0.0.0.0
---
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: enrichment
build:
tagPolicy:
sha256: {}
local:
push: false
tryImportMissing: false
useBuildkit: true
concurrency: 0
artifacts:
- image: enrichment-dev
docker:
dockerfile: dockerfiles/enrichment.Dockerfile
sync:
manual:
- src: 'cmd/enrichment/**/*.py'
dest: '/app/cmd/enrichment'
strip: 'cmd/enrichment'
deploy:
helm:
releases:
- name: enrichment
chartPath: helm/enrichment
setValueTemplates:
operation.environment: test # force no storage
enrichment.image.repository: "{{.IMAGE_REPO_enrichment_dev}}"
enrichment.image.tag: "{{.IMAGE_REPO_enrichment_dev}}@{{.IMAGE_DIGEST_enrichment_dev}}"
setValues:
enrichment.image.pullPolicy: IfNotPresent
---
apiVersion: skaffold/v4beta6
kind: Config
metadata:
name: monitoring
build:
tagPolicy:
sha256: {}
local:
push: false
tryImportMissing: false
useBuildkit: true
concurrency: 0
artifacts: []
deploy:
helm:
releases:
- name: nemesis-monitoring
chartPath: helm/monitoring
setValueTemplates:
nemesisWaiter.image.repository: "{{.IMAGE_REPO_nemesis_waiter}}"
nemesisWaiter.image.tag: "{{.IMAGE_TAG_nemesis_waiter}}@{{.IMAGE_DIGEST_nemesis_waiter}}"
setValues:
nemesisWaiter.image.pullPolicy: IfNotPresent
flags:
upgrade:
["--timeout=30m"]
install:
["--timeout=45m"]