Skip to main content
Lists the registered ingresses on the specified instance. ingress list lists all the registered ingresses for an instance. To expose an application in a preview, see our guides on Container Previews and Kubernetes Previews.

Usage

Example

In the example below, we first create an ephemeral instance, start nginx with kubectl run, create a Load Balancer with kubectl expose and then expose it using nsc expose kubernetes.
1

Create an ephemeral instance

Create an ephemeral instance and note its ID:
Output
2

Start nginx

Start nginx within the created instance:
Output
3

Create a load balancer

Expose the nginx pod through a Kubernetes load balancer:
Output
4

Expose port 80

Expose port 80 using nsc expose kubernetes:
Output
5

List exposed ingresses

List the instance’s exposed ingresses:
Output

Options

—output, -o <format>

Specifies the output format. Supported options are json and plain. By default, plain output format is used.
Last modified on August 20, 2026