This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commands for Managing Clusters
shoenisch edited this page Apr 18, 2017
·
3 revisions
There are numerous helpful commands that can be used to interact with clusters created on Photon Controller.
- List cluster:
photon service list
- View cluster details:
photon service show <cluster_uuid>
- Show cluster VMs:
photon service list-vms <cluster_uuid>
- Deleting cluster:
photon service delete <cluster_uuid>
For additional commands and more information, run the following command:
photon service --help
You can also view the help for the subcommands; example:
photon service show -h
Here's the output of photon service --help
:
photon service --help
NAME:
photon service - Options for services
USAGE:
photon service command [command options] [arguments...]
COMMANDS:
create Create a new service
show Show information about a service.
list List services
list-vms List the VMs associated with a service
resize Resize a service
delete Delete a service
trigger-maintenance Start a background process to recreate
failed VMs in a service
cert-to-file Save the CA Certificate to a file with
the specified path if the certificate exists
change-version Configure the service to use specified image id
get-kubectl-auth Generate the kubectl command for authentication
OPTIONS:
--help, -h show help
- Home
- Installation Guide
- Download Photon Controller
- Release Notes
- User Guide
- Installation and Setup
- Administration and Operations
- Command-Line Cheat Sheet
- Overview of Commands
- Authenticating Multitenant Users and Groups
- Authorization Model
- Connecting to the Load Balancer and Logging In
- Tenants, Quotas, and Projects
- Creating Tenants, Projects, and Quotas
- Working with Tenants
- Creating a Project
- Uploading Images
- Creating Images
- Replicating Images in Datastores
- Creating Flavors
- Working with Virtual Machines
- Using a Photon OS VM
- Creating a Network
- Performing Host Maintenance
- Working with ESXi Hosts
- Configuring Your Own Load Balancer
- Troubleshooting
- Deploying Clusters
- Integration
- API
- Information for Developers
- References
- Legal