Comments (4)
The k3s scheduler requires a registry, full stop. K3s uses containers, which doesn't have access to your local docker images, so attempting to deploy without a configured registry will fail.
from dokku.
Thanks for clarifying @josegonzalez
I was able to get it to work by setting the following options:
docker login ....
dokku registry:set --global server $server
dokku registry:set --global image-repo-template "$namespace/{{ .AppName }}"
dokku registry:set --global push-on-release true
This wasn't clear in the docs and took some time to figure out all the steps to get it working.
I'll see if I can maybe create a PR to update the k3s docs with this information in the following weeks.
Edit: I actually just found this tutorial: https://dokku.com/tutorials/other/deploying-to-k3s/. Might just add a link to this tutorial from the docs page
from dokku.
Also on a separate note, is there a way to link external services when using k3s? Like MySQL or Postgres?
Currently mysql:create
creates a container on the local docker instance, which the k3s pod then don't have access to. Is there an alternative way to use the k3s scheduler when creating services through plugins?
from dokku.
The scheduler plugins do not start services on k3s, and I don't have any current plans to enable that sort of functionality (as you can imagine, things get much more complicated when making something highly available).
I recommend looking at the official helm charts/operators for the datastores you're looking at. Bitnami also has some decent helm charts that might be useful to look into.
from dokku.
Related Issues (20)
- logrotate of vector-logs permission denied on log sink file HOT 5
- How to Host Express Server With Static Files Served From NGINX? HOT 1
- `cron:set` is not a dokku command HOT 4
- dokku buildpacks:remove my-special-app --index 1 doesn't seem to work HOT 3
- git:from-image does not update the image in /var/lib/dokku/data/git/appName/Dockerfile HOT 9
- Clarify ssh-keys commands to run when adding ssh keys in docker-based installation HOT 1
- `git:sync` fails with “trying to write non-commit object” HOT 5
- Documented `--global` option for `ps:set` does not exist HOT 2
- Nginx proxy fails to rebuild HOT 6
- Docker options documentation should clarify that `docker run` commands can't be set directly as options HOT 1
- Update builder management docs to warn that globally setting a builder will force all apps to use that builder
- Build "empty" nginx config when there are no web processes
- Update messaging for deployment tasks to say they run in ephemeral containers
- Validate that a proxy set is actually a valid proxy HOT 1
- Missing function in openresty plugin HOT 1
- Inconsistency in SHA after running git:sync HOT 2
- shell-init errors HOT 3
- - ignore - HOT 2
- All app deploys fail HOT 4
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 dokku.