Learning and Operating Presto (for True ePub) by Angelica Lo Duca Vivek Bharathan and Ying Su
Author:Angelica Lo Duca, Vivek Bharathan, and Ying Su
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2023-02-16T00:00:00+00:00
presto-workers.yaml
This configuration file deploys one or many Presto workers as replication controllers. The configuration file for the workers is quite similar because we use the same Docker image to build it:
--- apiVersion: v1 kind: ReplicationController metadata: name: presto-worker spec: replicas: 2 template: metadata: labels: app: presto-worker spec: containers: - name: presto-worker image: prestodb:latest imagePullPolicy: Never resources: requests: memory: "4Gi" limits: memory: "4Gi" ports: - containerPort: 8080
You can change the number of workers by changing the value corresponding to the keyword replicas. In our case, weâll create two workers.
Similar to the coordinator configuration file, in the worker configuration file, we configure the ConfigMap, except for using a different config.properties:
volumeMounts: - name: config mountPath: "/opt/presto/etc/config.properties" subPath: config.properties volumes: - name: config configMap: name: presto-config - key: "config.properties" path: "config.properties"
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7394)
Supercharging Productivity with Trello by Brittany Joiner(6654)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6423)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(6421)
Inkscape by Example by István Szép(6268)
Visualize Complex Processes with Microsoft Visio by David J Parker & Šenaj Lelić(5964)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(4965)
Design Made Easy with Inkscape by Christopher Rogers(4635)
Customizing Microsoft Teams by Gopi Kondameda(4172)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3937)
Extending Microsoft Power Apps with Power Apps Component Framework by Danish Naglekar(3759)
Business Intelligence Career Master Plan by Eduardo Chavez & Danny Moncada(3744)
Salesforce Platform Enterprise Architecture - Fourth Edition by Andrew Fawcett(3637)
Pandas Cookbook by Theodore Petrou(3612)
The Tableau Workshop by Sumit Gupta Sylvester Pinto Shweta Sankhe-Savale JC Gillet and Kenneth Michael Cherven(3412)
TCP IP by Todd Lammle(2989)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2923)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2881)
Exploring Microsoft Excel's Hidden Treasures by David Ringstrom(2876)
