Commit Graph

449 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
72067fcfd2 feat: add ability for users to specify alternative kubeconfig and kubecontext
This will provide the possibility for users to talk to existing kubernetes clusters, thereby removing one of the biggest reasons for having the old scheduler-kubernetes plugin around.
2024-02-22 07:42:15 -05:00
Jose Diaz-Gonzalez
93323bd0ff feat: add ability to clear out default values
Also add some tests
2024-02-22 06:55:02 -05:00
Jose Diaz-Gonzalez
193b1d8103 fix: set lower cpu/memory requests 2024-02-21 18:31:46 -05:00
Jose Diaz-Gonzalez
1ae2df52f5 fix: use image pull secrets instead of registries.yaml to reference private repositories
While this will now more or less require a local docker login - which can be overridden by setting the image-pull-secrets property - this ensures every deploy has a valid context.

One annoying thing is that the secret is per-app vs global, meaning that if the secret must be rotated, all apps need to be redeployed. A future change can fix that by deploying a global secret, or if folks really desire, this can be done by setting the image-pull-secrets property on the app/globally.
2024-02-12 17:15:37 -05:00
Jose Diaz-Gonzalez
433eb26f3c feat: always skip the https ingress/ingress-route/deployment port entry if there is a corresponding http entry
Also inject the corresponding entries as necessary
2024-02-12 01:31:39 -05:00
Jose Diaz-Gonzalez
afb4b50bb3 docs: document how to switch to nginx 2024-02-07 02:20:37 -05:00
Jose Diaz-Gonzalez
f5f583b12b feat: add support for specifying annotations
As the command contains a colon, it must be handled in the commands binary as opposed to subcommands.

Also include a simple bats test.
2024-02-06 13:54:53 -05:00
Jose Diaz-Gonzalez
b333334e72 chore: use new github-style admonition 2024-01-30 06:50:24 -05:00
Jose Diaz-Gonzalez
af1b2ba450 docs: fix indentation on letsencrypt sections for k3s scheduler docs 2024-01-25 12:46:31 -05:00
Jose Diaz-Gonzalez
aa05a95243 feat: allow setting the vector image as a global property 2024-01-25 04:26:57 -05:00
Jose Diaz-Gonzalez
b56495b367 docs: clarify that a rebuild is required 2024-01-23 11:47:50 -05:00
Jose Diaz-Gonzalez
bbf9febe30 docs: remove k3s tutorial from documentation
This belongs in the tutorial section
2024-01-23 11:38:33 -05:00
Jose Diaz-Gonzalez
54a12c9c89 Merge pull request #6516 from dokku/josegonzalez-patch-1
Note that the external kubernetes plugin is deprecated
2024-01-23 11:12:09 -05:00
Jose Diaz-Gonzalez
2cd8e1e61e Note that the external kubernetes plugin is deprecated
This was never in the core and thus doesn't need to be called out.
2024-01-23 11:11:35 -05:00
Jose Diaz-Gonzalez
67ef6f98ab docs: add notes on k3s replacement of the scheduler-kubernetes plugin 2024-01-23 11:07:46 -05:00
Jose Diaz-Gonzalez
204517074b fix: allow setting a custom ip address as the ip pf the dokku server
This will provide the ability to override cases where the detected ip address is invalid for whatever reason.
2024-01-23 03:26:32 -05:00
Jose Diaz-Gonzalez
75539273e3 docs: update documentation 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
707c22eae7 chore: update docs concerning network requests 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
68fef56403 docs: remove note about syncing with traefik 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
b85bc49f03 docs: update k3s documentation 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
69e9511666 feat: implement cluster joining for server and worker nodes
Different options get applied to each depending on what is needed for the role.

This also updates how we initialize the cluster to better support how metrics exposure and cross-server networking.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
e6d372f963 docs: reference image repo templating and git key generation for setup 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
599692446e docs: update what is supported 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
10e3bac24c docs: remove references to docker-local 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
966ce76122 docs: add a note saying multi-cluster work isn't yet implemented 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
277df036e9 feat: implement default resource limits for cron tasks 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
0127f836fa feat: implement cron jobs 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
8b8444fb1f feat: implement run and run:detached
This utilizes a Kubernetes Job to start a pod in order to take advantage of completed Job cleanup in Kubernetes. It also properly handles interactivity by ensuring the container has a TTY.

Note that there is currently no provision for parsing docker arguments and translating them into their Kubernetes equivalents.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
a2504fadd2 chore: add a note about stopping nginx 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
8a719a2880 docs: update docs to point out unsupported functionality 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
55d7a4a1a0 docs: document that enter is implemented 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
ec538ce1c5 feat: implement scheduler-k3s:initialize 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
a80c73fb2c feat: create skeleton of k3s plugin 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
2e0f1ac89a Merge pull request #6469 from dokku/git-deploy-key
Allow generating an ssh deploy key via the git plugin
2024-01-19 07:24:13 -05:00
Jose Diaz-Gonzalez
874f2dfaf4 feat: set the platform flag in order to run amd64 images on arm64 deploy targets
This allows folks to use herokuish, pack, and lambda built-images on arm64 servers.

Closes #6312
2024-01-19 06:37:48 -05:00
Jose Diaz-Gonzalez
ec65d97139 feat: allow generating an ssh deploy key via the git plugin
While this might not seem super intuitive, the key is mostly related to git management, not the ssh-keys we currently use to add/remove access to push to dokku.
2024-01-19 06:30:30 -05:00
Jose Diaz-Gonzalez
49d98eb1f2 docs: add documentation for implementing scheduler-related commands 2024-01-18 22:29:52 -05:00
Jose Diaz-Gonzalez
7a54f13da1 tests: run ci on ubuntu 22.04 2024-01-18 20:13:24 -05:00
Adolfo Ochagavía
99add3359a Fix typo in documentation 2024-01-11 15:09:23 +01:00
Jose Diaz-Gonzalez
785ffc0e8e docs: cleanup some markdown in documentation 2023-12-18 23:47:49 -05:00
Jose Diaz-Gonzalez
9f2132ac8f docs: cleanup doc header 2023-12-03 02:51:09 -05:00
Jose Diaz-Gonzalez
46f310ceea docs: split out archive/image deployment docs into their own file 2023-12-02 16:45:56 -05:00
Nikolaus Schlemm
19739509ea Fixed link to vector sink documentation 2023-11-09 10:51:47 +01:00
Jose Diaz-Gonzalez
fe72bd47d1 docs: remove reference to DOKKU_SCHEDULER environment variable in favor of scheduler:set 2023-10-27 23:03:28 -04:00
Jose Diaz-Gonzalez
fe6a0f796e feat: add support for nixpacks as a builder
Closes #5338
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
76a979e139 chore: remove ARM support
Building/testing for ARM does not happen often - the only runtime environment is Raspberry PI, which supports ARM64 - and complicates support for a ton of features. Aside from that, CI runs are much longer for ARM Dokku images, often reaching 15-20 minutes or just timing out completely.

Rather than support an architecture that doesn't have much usage by maintainers and has a lot of maintenance burden, we're removing the platform.
2023-10-15 20:25:09 -04:00
Joe Yates
38765ec07d Correct typo in example JSON 2023-09-27 15:49:00 +01:00
Jose Diaz-Gonzalez
1b1c42d69f docs: update command
The latest Dokku manages ports via the ports command.
2023-09-23 00:38:34 -04:00
Alejandro Akbal
a4203843a1 docs: fix wrong command 2023-09-18 18:48:05 +01:00
Jose Diaz-Gonzalez
2c9aaadae4 Merge pull request #5958 from gamedevsam/patch-1
Fix command to get docker image digest
2023-09-09 22:53:48 -04:00