Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wordifier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
wordifier
Commits
411bcceb
Commit
411bcceb
authored
Jan 24, 2022
by
Norbert Ropiak
Committed by
Mateusz Gniewkowski
Jan 24, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Add deployment.yaml
parent
93416009
No related branches found
No related tags found
1 merge request
!4
Add deployment.yaml
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.ini
+2
-8
2 additions, 8 deletions
config.ini
deployment.yaml
+57
-0
57 additions, 0 deletions
deployment.yaml
with
59 additions
and
8 deletions
config.ini
+
2
−
8
View file @
411bcceb
[service]
[service]
tool
=
wordifier
tool
=
wordifier
root
=
/samba/requests/
root
=
/samba/requests/
rabbit_host
=
rabbitmq
rabbit_host
=
rabbitmq
rabbit_user
=
test
rabbit_user
=
test
...
@@ -8,13 +7,8 @@ rabbit_password = test
...
@@ -8,13 +7,8 @@ rabbit_password = test
queue_prefix
=
nlp_
queue_prefix
=
nlp_
[tool]
[tool]
workers_number
=
5
workers_number
=
2
processed_lines
=
1000
[logging]
[logging]
port
=
9998
port
=
9998
local_log_level
=
INFO
local_log_level
=
INFO
\ No newline at end of file
[logging_levels]
__main__
=
INFO
This diff is collapsed.
Click to expand it.
deployment.yaml
0 → 100644
+
57
−
0
View file @
411bcceb
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
labels
:
app
:
wordifier
name
:
wordifier
namespace
:
nlpworkers
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
wordifier
template
:
metadata
:
labels
:
app
:
wordifier
spec
:
containers
:
-
image
:
clarinpl/wordifier:latest
name
:
wordifier
volumeMounts
:
-
name
:
samba
mountPath
:
/samba
-
name
:
config
mountPath
:
/home/worker/config.ini
subPath
:
config.ini
volumes
:
-
name
:
samba
hostPath
:
path
:
/samba
type
:
"
"
-
name
:
config
configMap
:
name
:
wordifier-config-ini
---
apiVersion
:
v1
data
:
config.ini
:
|-
[service]
tool = wordifier
root = /samba/requests/
rabbit_host = rabbit_host
rabbit_user = rabbit_user
rabbit_password = rabbit_password
queue_prefix = nlp_
[tool]
workers_number = 2
[logging]
port = 9998
local_log_level = INFO
kind
:
ConfigMap
metadata
:
name
:
wordifier-config-ini
namespace
:
nlpworkers
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment