platform-cli

command module
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

Kubernetes Platform Toolkit


karina is a toolkit for building and operating kubernetes based, multi-cluster platforms. It includes the following high level functions:

  • Provisioning clusters on vSphere and Kind
    • karina provision
  • Production Runtime
    • karina deploy
  • Testing Framework for testing the health of a cluster and the underlying runtime.
    • karina test
    • karina conformance
  • Rolling Update and Restart operations
    • karina rolling restart
    • karina rolling update
  • API/CLI Wrappers for day-2 operations (backup, restore, configuration) of runtime components including Harbor, Postgres, Consul, Vault and NSX-T/NCP
    • karina snapshot dumps specs (excluding secrets), events and logs for troubleshooting
    • karina logs exports logs from ElasticSearch using the paging API
    • karina nsx set-logs updates runtime logging levels of all nsx components
    • karina ca generate create CA key/cert pair suitable for bootstrapping
    • karina kubeconfig generates kuebconfigs via the master CA or for use with OIDC based login
    • karina exec executes a command in every matching pod
    • karina exec-node executes a command on every matching node
    • karina dns updates DNS
    • karina db
    • karina consul
    • karina backup/restore

Getting Started

To get started provisioning see the quickstart's for Kind and vSphere

Production Runtime

  • Docker Registry (Harbor)
  • Certificate Management (Cert-Manager)
  • Secret Management (Sealed Secrets, Vault)
  • Monitoring (Grafana, Prometheus, Thanos)
  • Logging (ELK)
  • Authentication (Dex)
  • Authorization & Policy Enforcement (OPA)
  • Multi-Tenancy (Namespace Configurator, Cluster Quotas)
  • Database as a Service (Postgres)

Principles

Easy for the operator

Batteries Included

Functions are integrated but independant, After deploying the production runtime, the testing framework will test and verify, but it can also be used to to components deployed by other mechanisms. Likewise you can provision and deploy, or provision by other means and then deploy the runtime.

Escape Hatches

Karina is named after the Carina Constellation - latin for the hull or keel of a ship.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api
api/calico
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
ca
k8s
k8s/etcd
Package etcd provides a connection to an etcd member.
Package etcd provides a connection to an etcd member.
k8s/kustomize
Package kustomize contains helpers for working with embedded kustomize commands Package kustomize contains helpers for working with embedded kustomize commands
Package kustomize contains helpers for working with embedded kustomize commands Package kustomize contains helpers for working with embedded kustomize commands
nsx
test

Jump to

Keyboard shortcuts

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