F3.2 Contain Applications Flashcards

Contanerized Platforms applications

1
Q

Why are HPC systems applied?

A

To perform large-scale financial and engineering simulations that demand LOW LATENCY and HIGH THROUGHPUT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

HPC workload managers lack micro-service support and deeply integrated container management capabilities. True or False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A container orchestrator, such as Kubernetes, on its own does not address all the requirements of HPC systems and cannot replace existing workload managers in HPC centers. What can be used?

A

A hybrid architecture composed of TWO Clusters, an HPC cluster and a cloud cluster, where container orchestration on the HPC cluster can be performed by the container orchestrator (e.g., Kubernetes) located in the cloud cluster can be used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the role of resource managers, workload managers, or job schedulers in HPC clusters?

A

They are used to allocate processors and memory on compute nodes to users’ jobs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name two mainstream workload managers mentioned in the slides.

A

Slurm and TORQUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In the TORQUE-managed cluster, what components are present on the head node?

A

A Portable Batch System (pbs) server daemon and a job scheduler daemon

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the advantage of using containers over traditional virtual machines (VMs) in cloud orchestration?

A

Containers use the dependencies on their host OS, resulting in a more efficient use of resources and faster start-up times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does Singularity differ from Docker in terms of network configurations?

A

Singularity does not require additional network configurations, unlike Docker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Kubernetes based on, and how does it provide services?

A

Kubernetes is based on a highly modular architecture, and it provides services through ‘deployment,’ specified in YAML files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In the HPC + Cloud architecture, what is the role of Kubernetes and TORQUE?

A

Jobs are co-scheduled and co-managed by both Kubernetes and TORQUE. Kubernetes handles scheduling on the first level, and TORQUE manages the second level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of the login node in the HPC + Cloud architecture?

A

The login node serves as a bridge between the TORQUE and Kubernetes clusters, submitting TORQUE jobs to the HPC cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is TORQUE-operator, and how does it connect Kubernetes and TORQUE?

A

TORQUE-operator is a tool that connects with Kubernetes by creating a deployment on the Kubernetes cluster. It creates virtual nodes corresponding to TORQUE queues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What services are carried out by the Singularity containers in HPC + Cloud architecture?

A

4 Singularity containers
1. Generate the virtual node,
2. Fetch queue information,
3. Launch TORQUE jobs to the Kubernetes cluster
4. Transfer TORQUE jobs back to the TORQUE cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What were the two use cases presented from the CYBELE project?

A

Pilot Wheat Ear and Pilot Soybean Farming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the goal of the Pilot Soybean Farming use case?

A

The goal is to use machine learning for soybean farming, developing a prediction algorithm to infer hidden dependencies between input parameters and yield

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does FOG overcome limitations of cloud computing?

A

By utilizing resources close to end devices.

17
Q

Why are containers considered better than VMs for fog computing?

A

Containers are easily deployable and have high performance, making them preferable in fog computing.

18
Q

What is Kubernetes, and what role does a pod play in it?

A

Kubernetes is an open-source orchestration platform for container-based applications. A pod is the most fundamental unit in Kubernetes, containing one or more containers

19
Q

How does Kubernetes expose an application to external cluster access, and what is the role of ClusterIP?

A

Kubernetes exposes an application through a Service, and the service is bound to a ClusterIP, which is a virtual IP address that never changes

20
Q

What is the role of Kube-scheduler in Kubernetes, and how does it select the optimal node for a pod?

A

Kube-scheduler is the default scheduler in Kubernetes. It watches unscheduled pods, adds them to a waiting list, and selects the best node for the pod based on filtering and scoring steps

21
Q

What are some policies supported by the FILTERING step in Kubernetes scheduling?

A

Policies supported by the filtering step include
* PodFitsHostPorts,
* PodFitsResources,
* PodFitsHost, and
* CheckNodeCondition

22
Q

Name some policies supported by the SCORING step in Kubernetes scheduling

A

Policies supported by the scoring step include
* SelectorSpreadPriority,
* BalancedResourceAllocation,
* NodeAffinityPriority
* ImageLocalityPriority

23
Q

What is ElasticFog, and how does it address the resource allocation challenge in a fog computing environment?

A

ElasticFog is an elastic resource provisioning method for applications on a container-based fog computing platform. It considers network traffic status for resource allocation and dynamically adapts based on real-time traffic information

24
Q

How does ElasticFog use nodeAffinity rules in Kubernetes for pod allocation across locations?

A

ElasticFog uses the preferred rule of nodeAffinity to allocate pods based on the proportion of incoming network traffic at each location

25
Q

How does ElasticFog demonstrate awareness of changes in network traffic in real-time during performance evaluations?

A

ElasticFog adjusts the number of pods among locations based on the proportion of requests coming from each location, showing real-time awareness of changes in network traffic status