tanzu domain-binding

Create and manage DomainBinding custom resources (CRs) in Tanzu Platform.

Prerequisites

  • A Space that has been specified for Tanzu CLI operations with the tanzu space use command.

Usage

CLI Plugin: domain-binding | Target: global | Primarily used for: Platform Operations | Release Notes

Syntax:

  tanzu domain-binding [command]

Commands

  create  Create a Domain Binding CR.
  delete  Delete a Domain Binding CR.
  get     Get a Domain Binding CR.
  list    List Domain Binding CRs.
  update  Update a Domain Binding CR.

Global Flags

  -h, --help   help for domain-binding

tanzu domain-binding create

Create a Domain Binding CR in the current Space.

Usage:

tanzu domain-binding create [flags]

Flags

  --auto-assign-port                  
  --auto-assign-subdomain-of string   provide details of auto assignable subdomain
  --domain string                     provide a fully qualified domain name
  --entrypoint string                 provide name of entrypoint
  --port string                       provide port number

Examples

  $ tanzu domain-binding create test --auto-assign-subdomain-of dev.corp.com --auto-assign-port
  DomainBinding busy-goose.dev.corp.com created

  
  $ tanzu domain-binding create test --domain foo.test.com --port 80
  DomainBinding foo.test.com created

tanzu domain-binding delete

Delete a Domain Binding CR in the current Space.

Usage:

tanzu domain-binding delete [flags]

Example

  $ tanzu domain-binding delete test
  DomainBinding test deleted

tanzu domain-binding get

Get Domain Binding CRs present in the current Space.

Usage:

tanzu domain-binding get [flags]

Example

  $ tanzu domain-binding get test
  Overview
    Domain:        loopy-vulture.dev.corp.com
    Port:          443
    Protocol:
    Entrypoint:    main
  Addresses
    Hostname  a4359e5a3e287452b9473c82b0b7b872-1928923496.us-west-2.elb.amazonaws.com
  Condition
  - reason: DomainAllocated
    status: "True"
    type: DomainAllocated

tanzu domain-binding list

Display list of Domain Binding CRs present in the current Space.

Usage

tanzu domain-binding list [flags]

Example

  $ tanzu domain-binding list
  NAME                DOMAIN                      PORT  CONNECTION  ENTRYPOINT
  dev.corp.com-main1  plain-goose.dev.corp.com    9120  HTTP        main
  test

tanzu domain-binding update

Update a Domain Binding CR present in the current Space.

Usage:

tanzu domain-binding update [flags]

Flags

  --domain string       provide domain name
  --entrypoint string   provide name of entrypoint

Examples

  $ tanzu domain-binding update test --domain acoustic-beluga.dev.corp.com
  DomainBinding test updated

  $ tanzu domain-binding update test --entrypoint dev
  DomainBinding test updated
check-circle-line exclamation-circle-line close-line
Scroll to top icon