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)
- buildpacks:set-property - odd behaviour
- Aborting a deployment of the release task fails HOT 5
- Openresty proxy: Not building `nginx.conf` and not updating `sudoers.d` with openresty varaint HOT 2
- Plugin creation doc references progrium site
- GIT_REV not set or updated with git:sync
- Deleting an app is not possible when Nginx is not running
- Send SIGTERM immediately to old containers when deploying via docker-local
- configuring Traefik healthchecks from app config HOT 1
- Feature Request: Implement config:import Command for Configuration from .env File HOT 5
- Add a method to force build when re-using an image with git:from-image HOT 1
- Failure injecting environment variables HOT 10
- Blue screen on deployed app HOT 1
- Ubuntu 24.04 support HOT 5
- App still running after Dokku `ps:stop` HOT 1
- Regression in dokku enter command
- Issue for new release of `gliderlabs-sigil` package HOT 6
- Add better garbage collection HOT 1
- Deployment continues when predeployment task fails HOT 1
- Improve Monorepo support: Include source files outside of `build-dir` in the Build Step HOT 1
- When using `docker-compose.yml` configuration from the docs, dokku's nginx cannot reach containers created by dokku.
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.