kots

module
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0

README

Kubernetes Off The Shelf (KOTS) Software

CLI

kots install

The install command is the recommended way to learn kots. Executing the install command will install an application and the kotsadm Admin Console to an existing Kubernetes cluster. This command supports installing Helm charts (without Tiller), standard Kubernetes applications and also Replicated apps.

To try it, just choose a helm chart (Elasticsearch) and run the following command:

kubectl kots install helm://elastic/elasticsearch --repo https://helm.elastic.co --namespace elasticsearch

After this command completes, the kotsadm Admin Console will be running in your cluster, listening on port :8800 on a ClusterIP service in the namespace you deployed the application to. You can connect to this using kubectl port-forward, or set up an ingress/load balancer of your own.

kubectl admin-console elasticsearchs

And now visit http://localhost:8800 to set the Elasticsearch Admin Console.

kots pull

The pull command will create a local directory set up so you can create Kustomize-friendly patches and then use kubectl to deploy to a cluster yourself. The pull command will not add the admin console to a cluster or install anything in your cluster.

kubectl kots pull helm://elastic/elasticsearch --namespace elasticsearch
kubectl apply -k ./elasticsearch/overlays/midstream
kots upload

The upload command will upload a directory with an upstream, base and overlays directory to a kotsdm server.

kubectl kots upload ~/elasticsearch
kots download

The download command will download an application YAML from a kotsadm server. This is especially useful when paired with upload (above) to iterate on and make changes to an application.

kubectl kots download [--namespace] [app-slug]

The app-slug argument is optional. If there is more than 1 application in the specified namespace, kots will prompt for which one to download.

Directories

Path Synopsis
actions
copy-assets Module
cmd
cli
kotsadm module
kurl_proxy Module
operator Module
kotskinds
apis
Package apis contains Kubernetes API groups.
Package apis contains Kubernetes API groups.
apis/kots
Package kots contains kots API versions
Package kots contains kots API versions
apis/kots/v1beta1
Package v1beta1 contains API Schema definitions for the kots v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/replicatedhq/kots/kotskinds/apis/kots +k8s:defaulter-gen=TypeMeta +groupName=kots.io Package v1beta1 contains API Schema definitions for the kots v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/replicatedhq/kots/kotskinds/apis/kots +k8s:defaulter-gen=TypeMeta +groupName=kots.io
Package v1beta1 contains API Schema definitions for the kots v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/replicatedhq/kots/kotskinds/apis/kots +k8s:defaulter-gen=TypeMeta +groupName=kots.io Package v1beta1 contains API Schema definitions for the kots v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/replicatedhq/kots/kotskinds/apis/kots +k8s:defaulter-gen=TypeMeta +groupName=kots.io
client/kotsclientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/kotsclientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/kotsclientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/kotsclientset/typed/kots/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/kotsclientset/typed/kots/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
kurl_proxy module
pkg

Jump to

Keyboard shortcuts

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