Skip to content

Skaffold modules and profiles

Skaffold is built around the concepts of modules and profiles to enable fast development iteration and to control deployments to local or remote clusters^[README.md]. By using these structures, users can define and execute specific deployment workflows tailored to different components or environments^[README.md].

Usage

Modules and profiles allow for granular control over the deployment process^[README.md]. Users can invoke specific modules using the -m flag to deploy distinct stacks of software^[README.md].

The following examples demonstrate how modules can be combined to incrementally build a Service mesh environment:

  1. Core Service Mesh: To deploy the base Istio control plane components:

    [Skaffold](<./skaffold.md>) run -m istiod
    
    This command deploys istio-base and istio^[README.md].

  2. With Ingress: To add the Ingress gateway to the core stack:

    [Skaffold](<./skaffold.md>) run -m [Ingress](<./ingress.md>)
    
    This command deploys istio-base, istio, and ingress^[README.md].

  3. With Observability: To include Kiali for visualization:

    [Skaffold](<./skaffold.md>) run -m [Ingress](<./ingress.md>),kiali
    
    This command deploys istio-base, istio, ingress, and kiali^[README.md].

  4. Full Demo Stack: To deploy the complete sample application:

    [Skaffold](<./skaffold.md>) run -m [Ingress](<./ingress.md>),kiali,bookinfo
    
    This command deploys istio-base, istio, ingress, kiali, and bookinfo^[README.md].

Sources

^[README.md]