Skip to content

Instantly share code, notes, and snippets.

View PK85's full-sized avatar

Piotr Kopczyński PK85

  • SAP
View GitHub Profile
@PK85
PK85 / config-docs-proposal.MD
Last active April 9, 2019 08:53
How to configure Kyma - documentation proposal

Kyma overview:

  • add a document about general Kyma configuration options
    • describe cluster vs local overrides
      • cluster, we as kyma do not provide hardcoded overrides values. Only placeholders exists. Our goal is to remove those placeholders in the future too and have documentation about them. That means no overrides in the cluster configuration file (that makes Kyma upgrade process easy, cause during upgrade we do not use cluster-overrides from new Kyma version(cause it should be same as in previous version)). Charts contain all production ready configurations. That means only enduser can override existing kyma configurations.
      • local config overrides some of the values from charts to make Kyma less memory and CPU consuming as our notebooks has limits.
    • describe global vs per chart override
    • mention that all configuration options are available per component in a given "Configuration" section

Kyma components:

  • every and each component expose configuration options
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
)
type Config map[string]interface{}