The m8s.yaml
file is the configuration file for m8s
. It defines the Helm chart, Kubernetes manifests and other resources to be deployed. It has two main parts:
- Helm configuration;
- resources to be deployed to Kubernetes.
To define Helm repositories, add a helm.repositories
section in m8s.yaml
:
helm:
repositories:
- name: <repository_name>
url: <repository_url>
A more concrete example would be:
helm:
repositories:
- name: ingress-nginx
url: https://kubernetes.github.io/ingress-nginx
You can define resources to be deployed in your Kubernetes cluster in the resources
section of m8s.yaml
:
resources:
<resource_name>:
<resource_type>:
<resource_option_a>: <value>
<resource_option_b>: <value>
<resource_option_c>: <value>
There are various resource types. You can ask m8s
to deploy resources using a variety of sources:
You can also group resources into groups.
Finally, in some cases you may want to use noops.