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

Failure to deploy correctly. #18

Open
bstempien opened this issue Jun 26, 2024 · 3 comments
Open

Failure to deploy correctly. #18

bstempien opened this issue Jun 26, 2024 · 3 comments

Comments

@bstempien
Copy link

Using a trial instance of Automation Pilot stood up in early June 2024, the resulting YAML from a "Build Run Configuration" does not resulting in a running POD.

First issue is the environment variables passed in the spec are not named correctly. In release v0.0.4 the update to internal/kubernetes/metadata/metadata.go changed OPERATOR_ID, ENVIRONMENT, and INSTANCE_ID to RWP_OPERATOR_ID, RWP_ENVIRONMENT, and RWP_INSTANCE_ID but the generated YAML uses the older names without the RWP_

Second issue is the order of stanzas in the YAML seem to be off. In the spec section, adding the volume pointing to the secretName failed when the definition of the secret was in its default position at the bottom of the file. Even though the secret was created, the POD complained that it didn't exist. Moving the definition up to the second stanza (after Namespace) seemed to correct this. Other stanzas like the Service account didn't have an issue. Maybe a timing issue since the Secret is kind of large and my Kyma env is also a trial and therefore limited.

Last comment, there is mention of examples in the README.md, and I don't see any. As someone new to Automation Pilot and Kubernetes, would be nice to see examples of what can be done.

@radito3
Copy link
Member

radito3 commented Jun 27, 2024

Hello,

This remote Automation Pilot agent is still under development and not Generally Available.
The support for it in the Automation Pilot backend services is also under development.
The k8s manifest provided by the AutoPi UI is not updated yet.
Backwards incompatible changes are expected in 0.0.x releases, as it is a Beta feature.

Could you please provide some insight into your use case?
Is this remote worker a key component of your automation flow?

@bstempien
Copy link
Author

bstempien commented Jun 27, 2024 via email

@radito3
Copy link
Member

radito3 commented Jun 28, 2024

To run this remote agent in a Kubernetes environment with the current version of Automation Pilot, please use the v0.0.3 release, instead of latest.

We appreciate the concerns you have about this Beta feature and are working on improving the user experience.

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

No branches or pull requests

2 participants