Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add manager for simple kubernetes job creation #47

Open
wants to merge 63 commits into
base: master
Choose a base branch
from

Commits on Aug 14, 2023

  1. add manager for simple kubernetes job creation

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    de44dea View commit details
    Browse the repository at this point in the history
  2. suppress state changes from event repetitions

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8959757 View commit details
    Browse the repository at this point in the history
  3. try create of superclass if parameters are missing

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d69a26f View commit details
    Browse the repository at this point in the history
  4. delete configmap when job is deleted

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    298df49 View commit details
    Browse the repository at this point in the history
  5. fix api_url for villas-node manager

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f13ea00 View commit details
    Browse the repository at this point in the history
  6. simplify config handling

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    df28149 View commit details
    Browse the repository at this point in the history
  7. move global status to Controller mixin class

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e0d569c View commit details
    Browse the repository at this point in the history
  8. make work dir configurable

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a0759cf View commit details
    Browse the repository at this point in the history
  9. pass payload instead of message to action handlers

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a9bde8d View commit details
    Browse the repository at this point in the history
  10. fix mixed up state vs status properties in some components

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    1f30e93 View commit details
    Browse the repository at this point in the history
  11. fix mixed up state vs status properties in some components

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4e23053 View commit details
    Browse the repository at this point in the history
  12. fix mixed up state vs status properties in some components

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    426cbf2 View commit details
    Browse the repository at this point in the history
  13. added first version of an HTTP REST API

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    22ba436 View commit details
    Browse the repository at this point in the history
  14. creating AMQP queue with durable, exclusive and auto_delete flags

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4360d29 View commit details
    Browse the repository at this point in the history
  15. add first draft of OpenAPI spec

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    124f55f View commit details
    Browse the repository at this point in the history
  16. fix simple manager

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5800d0b View commit details
    Browse the repository at this point in the history
  17. use 'villas' namespace as default

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    1f695f5 View commit details
    Browse the repository at this point in the history
  18. use villas-controller namespace as default

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    17080eb View commit details
    Browse the repository at this point in the history
  19. move schemas to YAML files and load them from there for all components

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d705699 View commit details
    Browse the repository at this point in the history
  20. config: show a useful error message when started without broker param…

    …eter and config file
    
    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    208f8e8 View commit details
    Browse the repository at this point in the history
  21. fix typo

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    71a4872 View commit details
    Browse the repository at this point in the history
  22. config: fix bug when started without config file

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    075fbfc View commit details
    Browse the repository at this point in the history
  23. validate action parameters against schema

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    aa6432c View commit details
    Browse the repository at this point in the history
  24. fix linting errors

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    b79c286 View commit details
    Browse the repository at this point in the history
  25. fix some errors in the API spec and schema

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    bac3246 View commit details
    Browse the repository at this point in the history
  26. validate schemas and openapi doc against meta jsonschemas

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    38c698c View commit details
    Browse the repository at this point in the history
  27. raise a SimulationException if an IC with an existing UUID should be …

    …added to the controller
    
    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a27be13 View commit details
    Browse the repository at this point in the history
  28. provide version number within status field of status update

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f87608c View commit details
    Browse the repository at this point in the history
  29. relay: do not remove vanished sessions by setting state to gone

    rather set their state to stopped
    
    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e0f7829 View commit details
    Browse the repository at this point in the history
  30. improve error reporting

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f789439 View commit details
    Browse the repository at this point in the history
  31. add labels and annotations to created job resources

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    c0dcdad View commit details
    Browse the repository at this point in the history
  32. k8s: add owner references

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    37634bd View commit details
    Browse the repository at this point in the history
  33. make all manually configured components to be managed by the default …

    …generic manager by default
    
    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    250c97b View commit details
    Browse the repository at this point in the history
  34. use a api/v1 prefix for the API handlers

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    b867d02 View commit details
    Browse the repository at this point in the history
  35. fixes for schema & pod_uid

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    061d629 View commit details
    Browse the repository at this point in the history
  36. Change update interval

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    7a7f273 View commit details
    Browse the repository at this point in the history
  37. generic: move return code to status section

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3093451 View commit details
    Browse the repository at this point in the history
  38. fix exception in schema code

    Signed-off-by: Steffen Vogel <[email protected]>
    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d298eba View commit details
    Browse the repository at this point in the history
  39. kubernetes fixes

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    328249d View commit details
    Browse the repository at this point in the history
  40. move schema to separate file

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    31699d1 View commit details
    Browse the repository at this point in the history
  41. debugging

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    dcc4a65 View commit details
    Browse the repository at this point in the history
  42. catch timeouterror

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5ed46b7 View commit details
    Browse the repository at this point in the history
  43. show event outputs

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5c615cb View commit details
    Browse the repository at this point in the history
  44. debugging

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f30366c View commit details
    Browse the repository at this point in the history
  45. add init file for kubernetes-simple schema

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    b7de56f View commit details
    Browse the repository at this point in the history
  46. get kubernetes job running

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8837d2b View commit details
    Browse the repository at this point in the history
  47. fixes

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5e925f0 View commit details
    Browse the repository at this point in the history
  48. allow UUID of default generic manager to be configured via configurat…

    …ion file
    
    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4ff0014 View commit details
    Browse the repository at this point in the history
  49. fix villas-node manager

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f82f994 View commit details
    Browse the repository at this point in the history
  50. api: make main request handler also available without trailing slash

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    ff5ca02 View commit details
    Browse the repository at this point in the history
  51. more fixes for relay and node managers

    Signed-off-by: Iris Koester <[email protected]>
    stv0g authored and iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e2c6631 View commit details
    Browse the repository at this point in the history
  52. cleanup

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    ea5497d View commit details
    Browse the repository at this point in the history
  53. send status update while resetting to improve user experience

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    791af64 View commit details
    Browse the repository at this point in the history
  54. publish first status update immediately after creating component

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    1c962d8 View commit details
    Browse the repository at this point in the history
  55. read namespace for kubernetes jobs from ENV

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    7f0eac0 View commit details
    Browse the repository at this point in the history
  56. fix formatting

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    21af994 View commit details
    Browse the repository at this point in the history
  57. cleanup

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    63c3b22 View commit details
    Browse the repository at this point in the history
  58. fix 'invalid UUID length: 0' error

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d3779d1 View commit details
    Browse the repository at this point in the history
  59. fix error handling relay/node

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2007bf8 View commit details
    Browse the repository at this point in the history
  60. relay fix

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    85d83e0 View commit details
    Browse the repository at this point in the history
  61. container settings

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3d7791b View commit details
    Browse the repository at this point in the history
  62. update flake repo

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    723f052 View commit details
    Browse the repository at this point in the history
  63. formatting

    Signed-off-by: Iris Koester <[email protected]>
    iripiri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6c6368f View commit details
    Browse the repository at this point in the history