One is using the Reactive Framework and does not require Kubernetes.
The other uses the new Operator Framework but requires Kubernetes.
Is there a HelloWorld for the Operator Framework that does not require Kubernetes?
I am not against Kubernetes; for the purposes of getting to know the Operator Framework, it is good to simplify as much as possible. A new user would encounter the HelloWorld+OperatorFramework+Kubernetes a few stages later.
Hi @simos - nice catch on the “Hello, World” style charms. I’ll see about getting that Reactive charm replaced with an Operator Framework machine charm shortly. Thanks!
Thanks @jnsgruk - I looked at Charmhub - The Open Operator Collection which lists the machine charms, while trying to identify those that are also based on the Operator Framework.
It lists 334 charms but I could not notice a way to filter the Operator Framework charms.
I searched in the Web page (Search in Page) for Operator Framework and clicked on the Highlight All in my browser. I found five such charms.
Four of them mention Kubernetes charm in the About section or ask to install microk8s in the README.md, and appear to be miscategorised. That is, they look like charms that require Kubernetes.
Yes, they do appear to be miscategorised, thanks for spotting that! @roadmr or @toto can probably help there (these are actually Operator Framework Kubernetes charms)
As for example machine charms using Operator Framework:
This week I’ll continue work on porting the hello-juju charm. I’ve started work in this branch. I still need to write a decent README and implement the relation and some tests. The relation should be done today! This will get published to Charmhub when complete.
You could check out the Ubuntu Advantage charm (it’s a subordinate charm). See source code / charm store .
Looks like those last two haven’t been pulled across into Charmhub yet. I guess @mthaddon may also know of some more Operator Framework machine charms.
Those three tutorials sound great! Have you seen the latest developer docs? They don’t cover everything you mentioned, but there is definitely a start on the basic constructs of Juju. You can also contribute directly to those docs through Discourse if there is anything specific missing
I’m not actually aware of other machine operator framework charms than the ones you mentioned above, but it’s possible there are more and I just don’t know about them.