CmdID

CmdID / Commands

ko

Build and deploy Go applications as container images on Kubernetes. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Build and publish a container image from a Go package import path

ko build path/to/import_directoryIdentify

Build and load a container image into a local Docker daemon

ko build --local path/to/import_directoryIdentify

Apply Kubernetes manifests with Go image references resolved to digests

ko apply --filename path/to/manifest.yamlIdentify

Create Kubernetes resources with resolved image references

ko create --filename path/to/manifest.yamlIdentify

Print resolved Kubernetes manifests without applying them

ko resolve --filename path/to/manifest.yamlIdentify

Build and run a Go package on Kubernetes

ko run path/to/import_directoryIdentify

Delete Kubernetes resources defined in a manifest

ko delete --filename path/to/manifest.yamlIdentify

Log in to a container registry

ko login registry.example.com --username username --password passwordIdentify