Create and manage Domain
custom resources (CRs) for Projects in Tanzu Platform.
tanzu project use
commandCLI Plugin: domain
| Target: global
| Primarily used for: Platform Operations | Release Notes
Syntax:
tanzu domain [command]
create Create a Domain CR.
delete Delete a Domain CR.
get Get a Domain CR.
list List Domain CRs.
update Update Domain CRs.
-h, --help help for domain
Create a Domain CRs inside the current Project.
tanzu domain create [flags]
--allowed-ports strings provide list of allowed ports
--auto-assignable-subdomains
--certificate-provider string provide details of certificate provider
--dns-provider string provide details of dns provider
$ tanzu domain create test.corp.com --certificate-provider dev.corp.com \
--dns-provider dev.corp.com --allowed-ports 443 --allowed-ports 1024 \
--auto-assignable-subdomains
Domain test.corp.com created
Delete a domain
tanzu domain delete [flags]
$ tanzu domain delete example.com
Domain test.corp.com deleted
Get domain CRs present in the current Project.
tanzu domain get [flags]
$ tanzu domain get dev.corp.com
Overview
Domain: dev.corp.com
Allowed Subdomains: *
Allowed Ports: 443
Allowed Spaces: *
Auto-Assignable: subdomains
Display list of domain CRs present in the current Project.
tanzu domain list [flags]
$ tanzu domain list
DOMAIN ALLOWED SUBDOMAINS ALLOWED PORTS ALLOWED SPACES AUTO-ASSIGNABLE
dev.corp.com * 443 * subdomains
test.corp.com 443,1024 subdomains
Update domain CRs present in the current Project.
--allowed-spaces strings provide list of allowed spaces
tanzu domain update [flags]
$ tanzu domain update test.corp.com --allowed-spaces "corp-com-prod"
Domain test.corp.com updated