-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PRO-6845] TileGen API #552
base: develop
Are you sure you want to change the base?
Conversation
2de64f7
to
5d6e538
Compare
charts/tilegen-api/values.yaml
Outdated
ingress: | ||
enabled: false | ||
hosts: | ||
- host: tilegen-api.host |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
лучше полное описание
ingress:
enabled: false
className: nginx
hosts:
- host: tilegen-api.example.com
paths:
- path: /
pathType: Prefix
tls: []
# - hosts:
# - tilegen-api.example.com
# secretName: secret.tls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
готово
задача на проверку https://jira.2gis.ru/browse/ONPREM-1351 |
5d6e538
to
2185f44
Compare
2185f44
to
5bf17a5
Compare
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не хватает пустой строки в конце файла
s3SecretKey: {{ required "Valid .Values.s3.secretKey required!" .Values.s3.secretKey | b64enc }} | ||
{{ if .Values.redis.password }} | ||
redisPassword: {{ .Values.redis.password | b64enc }} | ||
{{ end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не хватает пустой строки в конце файла
@@ -0,0 +1,25 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давай уберем dashs
@@ -0,0 +1,30 @@ | |||
{{- if .Values.vpa.enabled }} | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давай уберем dashs
backoffLimit: {{ .Values.taskProcessor.backoffLimit }} | ||
activeDeadlineSeconds: 43200 | ||
template: | ||
spec: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@v-loboda, наверное, стоит добавить:
imagePullSecrets
imagePullPolicy
# @param s3.secretKey S3 secret key for accessing the bucket. **Required** | ||
# @param s3.vectorTilesBucket S3 bucket for storing vector tiles data. **Required** | ||
|
||
s3: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Расширенные настройки s3 будем добавлять?
region: ''
secure: false/true
verifySsl: true/false
host: '' | ||
accessKey: '' | ||
secretKey: '' | ||
vectorTilesBucket: '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Давай переименуем в bucket
В описании дается понимание что это за bucket и он один :)
serviceAccount: runner | ||
tempPath: /tmp | ||
allowAnyOrigin: false | ||
logging: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@v-loboda, нету возможности выставить уровень логирования? Debug
, Info
?
repository: 2gis-on-premise/tilegen-processor | ||
tag: 1.1.6 | ||
backoffLimit: 1 | ||
successfulJobsHistoryLimit: 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@v-loboda, если из API дергать POST /tasks
, то не происходит очистка старых job
:
mpr-tilegen-api-task-processor-worker-582nd-gxbmk 0/1 Completed 0 76s
mpr-tilegen-api-task-processor-worker-bc2hz-znmws 0/1 Completed 0 78s
mpr-tilegen-api-task-processor-worker-bfbpd-cw7ff 0/1 Completed 0 79s
mpr-tilegen-api-task-processor-worker-ngpcc-sfqkw 0/1 Completed 0 79s
mpr-tilegen-api-task-processor-worker-pzglw-kxp7g 0/1 Completed 0 78s
mpr-tilegen-api-task-processor-worker-qmmg6-8tqwf 0/1 Completed 0 77s
mpr-tilegen-api-task-processor-worker-ttfhr-m7rx9 0/1 Completed 0 82s
mpr-tilegen-api-task-processor-worker-v4f7d-5tgt5 0/1 Completed 0 11m
Pull Request description
Changelog
Some changes
(A description of the changes proposed in the pull request.)Issues
Issue-123
(Link to related issue)Breaking changes
Check-list. Чек-лист код-ревью
helm lint charts/search-api