Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 2.59 KB

README.md

File metadata and controls

72 lines (44 loc) · 2.59 KB

Guided Tour

In this tour, you will learn about the different Landscaper features by simple examples.

Prerequisites and Basic Definitions

  • For all examples, you need a running Landscaper instance.

  • A convenient tool we will often use in the following examples is the Landscaper CLI.

  • During the following exercises, you might need to change files, provided with the examples. For this, you should simply clone this repository and do the required changes on your local files. You could also fork the repo and work on your fork.

  • In all examples, 3 Kubernetes clusters are involved:

    • the Landscaper Host Cluster, on which the Landscaper runs
    • the target cluster, on which the deployments will be done
    • the Landscaper Resource Cluster, on which the various custom resources are stored. These custom resources are watched by the Landscaper, and define which deployments should happen on which target cluster.

    It is possible that some or all of these clusters coincide, e.g. in the most simplistic approach, you have only one cluster. Such a "one-cluster-setup" is the easiest way to start working with the Landscaper.

A Hello World Example

1. Hello World Example

Basics

2. Upgrading the Hello World Example

3. Manifest Deployer Example

4. Multiple Deployments in One Installation

Recovering from Errors

5. Handling an Immediate Error

6. Handling a Timeout Error

7. Handling a Delete Error

Blueprints and Components

8. An Installation with an Externally Stored Blueprint

9. Helm Chart Resources in the Component Descriptor

10. Echo Server Example

Imports and Exports

11. Import Parameters

12. Import Data Mappings