Installation and Configuration Flashcards
How to install UCP?
Run the docker UCP container
Minimum requirements for running docker UCP?
Manager nodes: 8GB ram, 2 vCPU, 5GB disk space
Worker nodes: 4GB ram, 500MB disk space
What are two flags which should be passed when installing UCP?
- -host-address host.ip.address
- -force-minimums
What are the four components of Access Control in UCP?
Subjects
Roles
Collections
Grants
How to install DTR?
Run the DTR container
Minimum requirements for DTR?
16GB ram 2 vCPU 10GB disk space Node must be managed by UCP Node must have a fixed hostname
How to uninstall DTR?
Run docker image with destroy flag:
docker run -it –rm docker/dtr:latest destroy –ucp-insecure-tls
Run additional commands to completely remove from UCP
What step is required before DTR can be used on CLI?
Retrieve the CA certificate from DTR node
Add it to local trusted CA’s
Restart docker
How to do a backup of DTR?
Run the DTR container with the with the backup command, specifying URL and credentials for DTR and redirect to .tar file
What does DTR backup command include/exclude?
Only backs up DTR config and metadata
Does not back up users or images
How to make a backup of DTR images?
For local DTR docker volume storage, tar the contents of the docker volume
How to add more DTR nodes for HA?
Run the DTR container with the with the join command
How to return the health status of a DTR replica?
curl ip_address_of_dtr_node/_ping
Returns json healthcheck
How to get DTR cluster status and information?
curl ip_address_of_dtr_node/api/v0/meta/cluster_status
How to make sure tags do not get overwritten in DTR?
Set the repository tags to Immutable in the console