All apps/kn

kn

kn

Command-line interface for managing Knative Serving and Eventing resources

Runs as kn|macOS, Linux, Windows|github.com

Command form

ai-draft · 1 task · 12 fields

Create a Knative service from a container image. Other kn commands, traffic splitting, secrets and sidecars are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui kn

kn service create

Create a service
Create a serviceExample values, fixed in this page — nothing here reaches a terminal
Basic
Service name*
string
Container image*
string
Namespace
string
Port
string
TasksEach one presets the form for one job
Create a service
nameimagenamespaceport
ParametersOnly these flags are editable in the form
Service name
string · positional 0
Container image
string
--image
Namespace
string
--namespace-n
Port
NAME:PORT or just PORT, for example 8080.
string
--port-p
Environment variables
NAME=value.
string · repeatable
--env-e
Replica range
A single value or min/max.
string
--scale
Resource requests
For example cpu=100m,memory=256Mi.
string
--request
Resource limits
For example cpu=100m,memory=256Mi.
string
--limit
Labels
name=value.
string · repeatable
--label-l
Private service
boolean
--cluster-local
Do not wait for readiness
boolean
--no-wait
Replace existing service
boolean
--force
SourcesEvery flag above is checked against these
help
kn service create NAME --image IMAGE --image string Image to run. -n, --namespace string Specify the namespace to operate in. -p, --port string The port where application listens on, in the format 'NAME:PORT', where 'NAME' is optional. -e, --env stringArray Environment variable to…
manualmain 2026-10

github.com

help
kn service create NAME --image IMAGE --image string Image to run. -n, --namespace string Specify the namespace to operate in. -p, --port string The port where application listens on, in the format 'NAME:PORT', where 'NAME' is optional. -e, --env stringArray Environment variable to…
manualmain 2026-10

github.com

Before it fills your prompt, Otty checks the installed kn against its version. A form that does not match your version is not offered.