The Web-Shell Service
The platform includes a web-based command-line shell ("web shell") service for running application services and performing basic file-system operations from a web browser.
For example, you can use the Trino CLI to run SQL queries on your data; use
- The web shell isn't a fully functional Linux shell. See Software Specifications and Restrictions for specific restrictions.
- To log out of the web shell, run the
exit command in the shell.
Configuring the Web-Shell service
Pod Priority
Pods (services, or jobs created by those services) can have priorities, which indicate the relative importance of one pod to the other pods on the node. The priority is used for
scheduling: a lower priority pod can be evicted to allow scheduling of a higher priority pod. Pod priority is relevant for all pods created
by the service.
Eviction uses these values to determine what to evict with conjunction to the pods priority. See more details in Interactions between Pod priority and quality of service.
Pod priority is specified through Priority classes, which map to a priority value. The priority values are: High, Medium, Low. The default is Medium.
Configure the default User functions default priority for a service, which is applied to the service itself or to all subsequently created user-jobs in the service's Common Parameters tab, User jobs defaults section, Priority class drop-down list.
Environment Variables
You can add Environment variables to a web shell service in the
Node Selection
With node selection, Kubernetes only schedules the pod on nodes that have each of the labels you specify. See Node Selector.
Associate the Web-Shell Service with a Spark Service
You can associate the web-shell service with a Spark service and select a Kubernetes service account that determines the permissions for using the
None — no permission to usekubectl .Log Reader — list pods and view logs.Application Admin — list pods; view logs; and create or delete secrets and ConfigMaps.Service Admin — list pods; view logs and resource metrics; create or delete secrets and ConfigMaps; create, delete, list, or get jobs and cron jobs; and view, edit, list, or delete Persistent Volume Claims (PVCs).
In the
Associate the Web-Shell Service with a Trino Service
If you have multiple Trino services in the same cluster, you can associate the web-shell service with a specific Trino service. See The Trino Service (formerly Presto).
In the