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

Deploy edge drivers #21

Closed
wants to merge 7 commits into from
Closed

Deploy edge drivers #21

wants to merge 7 commits into from

Conversation

amrc-benmorrow
Copy link
Contributor

  • Configure the edge-agent chart to support the new Edge Agent with external driver support.
  • Allow driver deployment to be requested from the values file.
  • Deploy LocalSecret CRs to create credentials for on-cluster drivers.

Currently this only supports on-cluster drivers running in the same Pod as the edge agent. We may want to revisit this decision but for now it seems better to deploy the driver in-pod rather than running separate pods. External (off-cluster, or on-cluster but off-node) drivers could be supported but will need more changes.

This must be merged at the same time as AMRC-FactoryPlus/amrc-connectivity-stack#316 .

* Give the EA access to a Secret for the driver passwords. This will
  need to be populated by krbkeys, I think.

* Create a Service for the EA broker.
Given that all drivers are deployed identically, and that in general we
want to run them on the same host as the edge agent, deploy them as part
of the edge agent pod and from the same Helm chart.

This does not preclude external drivers, but would need additional
configuration to set up external IPs and to listen to the wildcard
address.
Include driver images in the `image` values item. Pull them in by name
instead of with a full image name. Support defaults for registry and
repository.

Pass a VERBOSE environment variable to the drivers.
amrc-benmorrow pushed a commit that referenced this pull request Jul 25, 2024
amrc-benmorrow pushed a commit that referenced this pull request Jul 25, 2024
amrc-benmorrow added a commit that referenced this pull request Jul 25, 2024
I'm not sure why I did this in the first place.
amrc-benmorrow added a commit that referenced this pull request Jul 25, 2024
We were sometimes ending up with an `undefined` flux-system manifest,
because cluster-manager had checked out the repo before git had had a
chance to act on its auto-pull instructions. Rather than messing about
just check out every time.

Fix a small bug which occurred when checking out an empty repo, and make
sure we refresh our cluster list every 10 minutes in case we miss a
ConfigDB update.

Fixes: #21
Fixes: #11
@amrc-benmorrow
Copy link
Contributor Author

This has been merged as part of AMRC-FactoryPlus/amrc-connectivity-stack#316 now that we have brought edge-helm-charts into the ACS monorepo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant