Comments (3)
This is regression on 0.7 release and the fix is coming soon.
There are also couple of other thoughts how to fix your kontena.yml file.
I don't know does jenkins service need user
attribute but at least gitblit does not work if you define it to use gitblit user. So I suggest you to remove it (or use the correct one).
When using kontena deploy
, kontena prefixes services as you might have noticed. Due that you have to use prefix
wildcard on affinity rules, for example: container!=%{prefix}-gitblit-1
. Also notice that you have to define also container number on container affinity.
I got services up and running with the following kontena.yml
file.
# jenkins configuration
jenkins:
image: jenkinsci/jenkins:latest
stateful: true
instances: 1
user: jenkins
ports:
- "9181:8080"
- "9150:50000"
affinity:
- container!=%{prefix}-gitblit-1
# gitblit configuration
gitblit:
image: elderresearch/docker-gitblit:latest
instances: 1
ports:
- "9180:80"
- "9118:9418"
- "9122:29418"
affinity:
- container!=%{prefix}-jenkins-1
That demo/
portion on service list is a valid question. I think I will open a new issue where to discuss do we need or should we remove them.
from kontena.
@robxu9: fix is included in the 0.7.3 release.
from kontena.
Thanks for the advice and the fix!
from kontena.
Related Issues (20)
- Renew LE certs automatically sooner than 7 days before expiration
- Node update does not take multiple nodes as params
- CLI specs fail because of a broken dependency HOT 1
- Support Letsencrypt wildcard certificates HOT 2
- Ruby 2.2 EOL
- bind-mounts of existing files on stateful containers fail: cannot mount volume over existing file, file exists
- kontena node rm can be used to remove connected Kontena Cloud nodes without terminating them
- CLI: warning: already initialized constant TTY::Screen::VERSION HOT 1
- E2e: Login timeout HOT 5
- CLI: kontena stack validate prompts can't be exited using ctrl-c
- Graceful shutdown e2e spec almost always fails HOT 1
- Env missing for setting global haproxy options HOT 3
- Kontena master insecure SSL configuration
- CLI omnibus debian builds broken with ftp://xmlsoft.org => 425 Security: Bad IP connecting HOT 3
- [CLI] Command autocompletion is out of date for some entries
- Gem.gunzip deprecation notice from unicode-display_width
- Can't login to newly created DigitalOcean kontena master. HOT 3
- Volume added to stack file does not get added to service on stack upgrade HOT 4
- Tag in fluentd forwarded logs is invalid if the node name contains dots
- Kontena site is down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kontena.