I’m having a little bit of trouble figuring out how to create custom images of my K8s cluster. I have an Azure cluster up and running with some demo apps installed for test purposes: a notes web-api app made with Swagger (written in C#) using MongoDB. The apps themselves aren’t that important, but I’m trying to understand the process of creating an image of this cluster I have setup.
A little background info. I’ve already gone through the quick start guide and gotten everything up and running and I’m now trying to follow the guide here. I do the following:
- Create an image manifest file with kind: Bundle
- Create an install.yaml that points to an install.sh that installs both helm charts
- Create helm charts for both my apps on the cluster by using
helm create APP_NAME
I can create the tarball but when I install the job always hits the backoff limit when it has to install my applications to the cluster. My C# app is in a docker image that is fetched from its repository.
I’m not sure what I should be doing to create this image of my working cluster. Should I be modifying the helm charts that
helm create give me? Am I missing some vital steps or something? Any help is much appreciated.