Create and manage DomainBinding
custom resources (CRs) in Tanzu Platform.
tanzu space use
command.CLI Plugin: domain-binding
| Target: global
| Primarily used for: Platform Operations | Release Notes
Syntax:
tanzu domain-binding [command]
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.
-h, --help help for domain-binding
Create a Domain Binding CR in the current Space.
tanzu domain-binding create [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
$ 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
Delete a Domain Binding CR in the current Space.
tanzu domain-binding delete [flags]
$ tanzu domain-binding delete test
DomainBinding test deleted
Get Domain Binding CRs present in the current Space.
tanzu domain-binding get [flags]
$ 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
Display list of Domain Binding CRs present in the current Space.
tanzu domain-binding list [flags]
$ tanzu domain-binding list
NAME DOMAIN PORT CONNECTION ENTRYPOINT
dev.corp.com-main1 plain-goose.dev.corp.com 9120 HTTP main
test
Update a Domain Binding CR present in the current Space.
tanzu domain-binding update [flags]
--domain string provide domain name
--entrypoint string provide name of entrypoint
$ tanzu domain-binding update test --domain acoustic-beluga.dev.corp.com
DomainBinding test updated
$ tanzu domain-binding update test --entrypoint dev
DomainBinding test updated