kubectl create ingress <NAME>

Create an ingress with the specified name

Arguments

NameDescription
NAME

Options

NameDescription
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats
--dry-run <Strategy>Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource
-o, --output <Output Format>Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file
--template <arg>Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]
--annotation <annotation=value>Annotation to insert in the ingress object, in the format annotation=value
--class <arg>Ingress Class to be used
--default-backend <svcname:port>Default service for backend, in format of svcname:port
--field-manager <arg>Name of the manager used to track field ownership
--rule <host/path=service:port[,tls=secretname]>Rule in format host/path=service:port[,tls=secretname]. Paths containing the leading character '*' are considered pathType=Prefix. tls argument is optional
--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format
--validateIf true, use a schema to validate the input before sending it