korgi

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

korgi - k8s organizer


Fetches your templated manifests and delivers it to Kapp like a good boi


WARNING: Very early release, use at your own discretion.

Tool to chain templating engines for k8s and execution engines for k8s. Depends on a very opinionated deployment structure:

realm
   namespaces
        namespace
            {app_group}
                _app_group.yaml
                app1.yaml
                app2.yaml

Korgi acts as glue between kubernetes templating and state management engines. In its current version, Korgi integrates Helmfile and kapp while imposing a specific deployment structure.

A reference implementation of the assumed deployment structure can be found here.

Examples

Apply all groups in namespace default and env dev:

korgi apply-namespace -e dev default

Apply a group in namespace default and env dev:

korgi apply -e dev -n default monitoring

Apply a single app from the monitoring group in namespace default and env dev:

korgi apply -e dev -n default -a dummy monitoring

Passing extra args to the engines:

korgi --helmfile-args "--skip-deps" --kapp-args "--color=false" apply-namespace default

Delete a single group:

korgi delete -e dev -n default monitoring

Documentation

Overview

Copyright © 2020 Artyom Topchyan [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL