This repository was archived by the owner on Aug 15, 2022. It is now read-only.
Repository navigation
Dev. env. container-per-worker implementation for Kubernetes #11419
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3ff3960
generateRunFile: configuration change for container per worker
mertaytore be7d51a
workers module: init kubernetes definitions
mertaytore e4027c4
remove backend-pod for worker per container
mertaytore 72006eb
kontrol.go: deleted misleading prefix for env loader
mertaytore b0c3d03
gitignore: autogenerated yaml pod definitions added
mertaytore 623e8b5
bootstrap-container: build function for k8s added
mertaytore 4947b79
.env-kubernetes: variables for configuration added
mertaytore 1f6c7ff
external services: all external service definitions
mertaytore File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,22 @@ | ||
| export KONFIG_PROJECTROOT=/opt/koding | ||
| declare -p KONFIG_MONGO &> /dev/null || export KONFIG_MONGO=$MONGO_SERVICE_HOST:27017/koding | ||
| declare -p KONFIG_KLOUD_MONGOURL &> /dev/null || export KONFIG_KLOUD_MONGOURL=$KONFIG_MONGO | ||
| declare -p KONFIG_KONTROL_MONGOURL &> /dev/null || export KONFIG_KONTROL_MONGOURL=$KONFIG_MONGO | ||
| declare -p KONFIG_SOCIALAPI_MONGO &> /dev/null || export KONFIG_SOCIALAPI_MONGO=$KONFIG_MONGO | ||
|
|
||
| export KONFIG_MONGO=$BACKEND_POD_IP:27017/koding | ||
| declare -p KONFIG_MQ_HOST &> /dev/null || export KONFIG_MQ_HOST=$RABBITMQ_SERVICE_HOST | ||
| declare -p KONFIG_MQ_LOGIN &> /dev/null || export KONFIG_MQ_LOGIN=test | ||
| declare -p KONFIG_MQ_PASSWORD &> /dev/null || export KONFIG_MQ_PASSWORD=test | ||
| declare -p KONFIG_SOCIALAPI_MQ_HOST &> /dev/null || export KONFIG_SOCIALAPI_MQ_HOST=$KONFIG_MQ_HOST | ||
| declare -p KONFIG_SOCIALAPI_MQ_LOGIN &> /dev/null || export KONFIG_SOCIALAPI_MQ_LOGIN=test | ||
| declare -p KONFIG_SOCIALAPI_MQ_PASSWORD &> /dev/null || export KONFIG_SOCIALAPI_MQ_PASSWORD=test | ||
|
|
||
| export KONFIG_MQ_LOGIN=test | ||
| export KONFIG_MQ_PASSWORD=test | ||
| export KONFIG_MQ_APIPORT=15672 | ||
| declare -p KONFIG_REDIS_HOST &> /dev/null || export KONFIG_REDIS_HOST=$REDIS_SERVICE_HOST | ||
| declare -p KONFIG_REDIS_URL &> /dev/null || export KONFIG_REDIS_URL=$REDIS_SERVICE_HOST:6379 | ||
|
|
||
| export KONFIG_REDIS_HOST=$BACKEND_POD_IP | ||
| export KONFIG_REDIS_PORT=6379 | ||
| declare -p KONFIG_POSTGRES_HOST &> /dev/null || export KONFIG_POSTGRES_HOST=$POSTGRES_SERVICE_HOST | ||
| declare -p KONFIG_KLOUD_POSTGRES_HOST &> /dev/null || export KONFIG_KLOUD_POSTGRES_HOST=$KONFIG_POSTGRES_HOST | ||
| declare -p KONFIG_KONTROL_POSTGRES_HOST &> /dev/null || export KONFIG_KONTROL_POSTGRES_HOST=$KONFIG_POSTGRES_HOST | ||
| declare -p KONFIG_SOCIALAPI_POSTGRES_HOST &> /dev/null || export KONFIG_SOCIALAPI_POSTGRES_HOST=$KONFIG_POSTGRES_HOST | ||
|
|
||
| export KONFIG_POSTGRES_HOST=$BACKEND_POD_IP | ||
| export KONFIG_POSTGRES_PORT=5432 | ||
| export KONFIG_POSTGRES_DBNAME=social | ||
| export KONFIG_POSTGRES_USERNAME=socialapplication | ||
| declare -p KONFIG_WEBSERVER_PORT &> /dev/null || export KONFIG_WEBSERVER_PORT=8040 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
we may need to get rid of from this special config file sooner than it might seem ;)