Compute: Containers Flashcards

1
Q

Azure Container Instances: Container Group

A

The top-level resource in Azure Container Instances.

  • a collection of containers that get scheduled on the same host machine
  • containers in a container group share a lifecycle, resources, local network, and storage volumes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Docker Container:

A

Container is an instance of a Docker image. It represents the execution of a single application, process, or service. It consists of the contents of a Docker image, an execution environment, and a standard set of instructions.

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

Docker Container Image:

A

refers to a package with all the dependencies and information required to create a container. The dependencies include frameworks and the deployment and execution configuration that a container runtime uses

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

Container Build

A

refers to the action of building a container image based on the information and context provided by the Dockerfile. The build also includes any other files that are needed.

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

Docker Pull

A

Pull refers to the process of downloading a container image from a container registry.

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

Docker Push

A

Push refers to the process of uploading a container image to a container registry.

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

Dockerfile

A

refers to a text file that contains instructions on how to build a Docker image. The Dockerfile is like a batch script. The first line identifies the base image. The rest of the file includes the build actions.

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

AKS: Pools

A

Pools are groups of nodes with identical configurations.

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

AKS Nodes

A

Nodes are individual virtual machines running containerized applications.

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

AKS Pods

A

Pods are a single instance of an application. A pod can contain multiple containers.

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

AKS: Container

A

is a lightweight and portable executable image that contains software and all of its dependencies.

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

AKS Deployment

A

Deployment has one or more identical pods managed by Kubernetes.

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

AKS Manifest

A

Manifest is the YAML file describing a deployment.

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

AKS Kubernetes cluster is divided into two components:

A

Azure-managed nodes, which provide the core Kubernetes services and orchestration of application workloads.

Customer-managed nodes that run your application workloads.

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

AKS: Kubelet

A

the Kubernetes agent that processes the orchestration requests from the Azure-managed node, and scheduling of running the requested containers.

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

AKS: kube-proxy

A

Virtual networking is handled by the kube-proxy on each node. The proxy routes network traffic and manages IP addressing for services and pods.

17
Q

AKS: Container Runtime

A

The container runtime is the component that allows containerized applications to run and interact with additional resources such as the virtual network and storage.

18
Q

AKS Networking: Cluster IP

A

an internal IP address for use within the AKS cluster. Good for internal-only applications that support other workloads within the cluster

19
Q

AKS Networking: NodePort

A

Creates a port mapping on the underlying node that allows the application to be accessed directly with the node IP address and port.

20
Q

AKS LoadBalancer

A

Creates an Azure load balancer resource, configures an external IP address, and connects the requested pods to the load balancer backend pool. To allow customers traffic to reach the application, load-balancing rules are created on the desired ports.

21
Q

AKS ExternalName

A

ExternalName - Creates a specific DNS entry for easier application access.

22
Q

AKS Storage: Volumes

A

A volume represents a way to store, retrieve, and persist data across pods and through the application lifecycle.

Azure Disks can be used to created a Kubernetes DataDisk resource.

Azure Files can be used to mount an SMB 3.0 share backed by Azure Storage account to pods.

23
Q

AKS Storage persistent volumes

A

A persistent volume (PV) is a storage resource created and managed by the Kubernetes API that can exist beyond the lifetime of an individual pod

24
Q

AKS Storage classes

A

To define different tiers of storage, such as Premium and Standard, you can create a StorageClass.

The StorageClass also defines the reclaimPolicy.

This reclaimPolicy controls the behavior of the underlying Azure storage resource when the pod is deleted and the persistent volume may no longer be required.

25
Q

AKS Storage: Persistent Volume Claims

A

A PersistentVolumeClaim requests either Disk or File storage of a particular StorageClass, access mode, and size.

A PersistentVolume is bound to a PersistentVolumeClaim once an available storage resource has been assigned to the pod requesting it. There is a 1:1 mapping of persistent volumes to claims.

26
Q

AKS Scaling (HPA)

A

Kubernetes uses the horizontal pod autoscaler (HPA) to monitor the resource demand and automatically scale the number of replicas.

By default, the horizontal pod autoscaler checks the Metrics API every 30 seconds for any required changes in replica count.

When changes are required, the number of replicas is increased or decreased accordingly. Horizontal pod autoscaler works with AKS clusters that have deployed the Metrics Server for Kubernetes 1.8+.

27
Q

AKS Cluster autoscaler

A

To respond to changing pod demands, Kubernetes has a cluster autoscaler that adjusts the number of nodes based on the requested compute resources in the node pool.

28
Q

The local configuration manager (LCM) - Push mode:

A

Push mode: An administrator manually sends, or pushes, the configurations to one or more nodes. The LCM makes sure that the state on each node matches what the configuration specifies.