-
Some questions that came up in my mind, after reading the Acorn blog post.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The output artifact is a valid OCI manifest/image.. since we're brand new there is no special integration with existing tools, but that will evolve over time. The acorn includes all the exact container images used to build it so you can ship one artifact from e.g. test to staging to prod and be confident you're running the exact same thing.
If it's just an arbitrary string/file burned into the image, yes. If you want to make something configurable you would declare it in args, or as a secret, ideally with a default value. Then it shows up as something the consumer can override, and they can provide a different value at deploy-time.
Acorns can be 'nested', i.e. one acorn deploys another. Again at deploy-time, you can override that with something else if you want.
It doesn't. Acorn is focused on application-level deployment and has no mechanism for describing cluster-level resources like CRDs. We have considered adding support for CRs (not CRDs), but that does not currently exist.
Approximately So while the implementation is CUE under the hood, we are purposely:
|
Beta Was this translation helpful? Give feedback.
-
Regarding this, in addition to nesting, acorn supports linking, which lets you swap out one container in your app for another running acorn or really any other Kubernetes service. We use it in our DNS service, which is ran as an acorn. You can see here that the acorn-dns app has two "containers": the app named https://github.com/acorn-io/acorn-dns/blob/main/Acornfile#L39-L48 That
This is a really powerful. Will be writing a blog article soon about how we're using acorn at Acorn Labs. |
Beta Was this translation helpful? Give feedback.
The output artifact is a valid OCI manifest/image.. since we're brand new there is no special integration with existing tools, but that will evolve over time. The acorn includes all the exact container images used to build it so you can ship one artifact from e.g. test to staging to prod and be confident you're running the exact same thing.
If it's just an arbitrary string/file burned into the image, yes. If you want to make something configurable you would declare it in args, or as a secret, ideally with a default value. Then it show…