CmdID / kubectl / kubectl create
kubectl create ingress
Create an ingress with the specified name kubectl reference
13 options
Also kubectl create ing
Its page in the kubectl reference
Options
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--annotationAnnotation to insert in the ingress object, in the format annotation=value--classIngress Class to be used--default-backendDefault service for backend, in format of svcname:port--dry-runMust be "none", "server", or "client".--field-managerName of the manager used to track field ownership.--help, -hhelp for ingress--output, -oOutput format.--ruleRule in format host/path=service:port[,tls=secretname].--save-configIf true, the configuration of current object will be saved in its annotation.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.--validateMust be one of: strict (or true), warn, ignore (or false).