k8s 中文文档 k8s 中文文档
指南
kubernetes.io (opens new window)
指南
kubernetes.io (opens new window)
  • k8s 是什么
  • 互动教程

  • Minikube 介绍

  • 概念

  • Kubectl CLI

  • Kubectl 命令表

  • 安装设置

  • API 使用

  • 集群管理

  • TASKS

Kapitan: advanced configuration management tool


Unit Tests Docker

undefined

Kapitan aims to be your one-stop toolto help you manage the ever growing complexity of your configurations.

Join the community #kapitan

Official site https://kapitan.dev


Quick Start


Install Kapitan


Docker (recommended)


  1. ``` shell
  2. docker run -t --rm -v $(pwd):/src:delegated kapicorp/kapitan -h
  3. ```

On Linux you can add -u $(id -u) to docker run to preserve file permissions.

Pip


Kapitan needs Python 3.7.

Install Python 3.7


Linux: sudo apt-get update && sudo apt-get install -y python3.7-dev python3-pip python3-yaml git
Mac: brew install python3 libyaml git libmagic

Install Kapitan


User ($HOME/.local/lib/python3.7/bin on Linux or $HOME/Library/Python/3.7/bin on macOS):

  1. ``` shell
  2. pip3 install --user --upgrade kapitan
  3. ```

System-wide (not recommended):

  1. ``` shell
  2. sudo pip3 install --upgrade kapitan
  3. ```

Build Kapitan


Docker


To build a docker image for the architecture of your machine, run docker build . -t you-kapitan-image, and to build for a specific platform, add --platform linux/arm64.

To build a multi-platform image (as the CI does), follow the docker multi-platform documentation.

Related projects


Tesoro - Kubernetes Admission Controller for Kapitan Secrets
Kapitan Reference - our reference repository to get started with Kapitan
Last Updated: 2023-09-03 19:17:54