Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EN] add Runtime #2033

Merged
merged 58 commits into from
Aug 15, 2023
Merged
Changes from 11 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
85b63b0
[EN] New Term- Runtime
akshatcoder-hash May 12, 2023
38f16b4
Update content/en/runtime.md
akshatcoder-hash May 26, 2023
92549ac
Update content/en/runtime.md
akshatcoder-hash May 26, 2023
649a456
Update content/en/runtime.md
akshatcoder-hash May 26, 2023
479bb7b
Update content/en/runtime.md
akshatcoder-hash May 26, 2023
81480b4
Update content/en/runtime.md
CathPag Jun 13, 2023
9774cfe
Update content/en/runtime.md
CathPag Jun 13, 2023
b080aaf
Update content/en/runtime.md
CathPag Jun 13, 2023
7a31169
Update content/en/runtime.md
akshatcoder-hash Jun 18, 2023
4a927fc
Update content/en/runtime.md
akshatcoder-hash Jun 18, 2023
b3dbdb2
Update content/en/runtime.md
iamNoah1 Jul 18, 2023
e1074b9
Update content/en/runtime.md
castrojo Jul 19, 2023
95e6a53
Update content/en/runtime.md
castrojo Jul 19, 2023
ec6ce41
Update content/en/runtime.md
castrojo Jul 19, 2023
6336832
Update content/en/runtime.md
castrojo Jul 19, 2023
22cd1cd
fix: cut out examples
castrojo Jul 19, 2023
7f1dd8c
fix: add section on the problem it addresses
castrojo Jul 19, 2023
90d236e
Update runtime.md
iamNoah1 Jul 19, 2023
242fd38
Update content/en/runtime.md
iamNoah1 Jul 19, 2023
95668fb
Update content/en/runtime.md
iamNoah1 Jul 19, 2023
99fea94
Update runtime.md
castrojo Jul 19, 2023
7e58016
Update content/en/runtime.md
castrojo Jul 19, 2023
17bb0d9
Update content/en/runtime.md
castrojo Jul 19, 2023
e46b2d1
Update content/en/runtime.md
castrojo Jul 19, 2023
062d91a
Update content/en/runtime.md
castrojo Jul 19, 2023
ce634c4
Update content/en/runtime.md
castrojo Jul 19, 2023
6506d02
Update content/en/runtime.md
castrojo Jul 19, 2023
c2a4b1e
Update content/en/runtime.md
castrojo Jul 19, 2023
c5757f9
Update content/en/runtime.md
castrojo Jul 19, 2023
9aed3ac
Update content/en/runtime.md
castrojo Jul 19, 2023
d11f3c5
Update content/en/runtime.md
castrojo Jul 19, 2023
7cca008
add cgroups, namespaces, and orchestrator to wordlist
castrojo Jul 19, 2023
bd2f597
Update content/en/runtime.md
nate-double-u Jul 20, 2023
5f94f10
Update content/en/runtime.md
nate-double-u Jul 20, 2023
4943cc7
Update content/en/runtime.md
nate-double-u Jul 20, 2023
21f99f0
Update content/en/runtime.md
CathPag Jul 21, 2023
f4448da
Update content/en/runtime.md
akshatcoder-hash Jul 23, 2023
4fcd07f
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
4cd32d9
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
3b2b3c1
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
7e998af
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
60764f1
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
c7828d2
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
7e5d3a0
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
d47f4da
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
4d87935
Update content/en/runtime.md
akshatcoder-hash Jul 24, 2023
b407324
Update content/en/runtime.md
iamNoah1 Aug 11, 2023
9e75b37
Update content/en/runtime.md
iamNoah1 Aug 11, 2023
6da0d13
Update content/en/runtime.md
iamNoah1 Aug 11, 2023
d4a3f65
Update content/en/runtime.md
CathPag Aug 11, 2023
c954075
Update content/en/runtime.md
CathPag Aug 11, 2023
2f012cd
Update content/en/runtime.md
CathPag Aug 11, 2023
f974499
Update content/en/runtime.md
CathPag Aug 11, 2023
ff5567d
Update content/en/runtime.md
CathPag Aug 11, 2023
23d5de4
Update content/en/runtime.md
CathPag Aug 11, 2023
2eac82c
Update runtime.md
CathPag Aug 11, 2023
391a477
Update content/en/runtime.md
iamNoah1 Aug 12, 2023
b7b55fc
Update content/en/runtime.md
CathPag Aug 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions content/en/runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Runtime
status: Feedback Appreciated
iamNoah1 marked this conversation as resolved.
Show resolved Hide resolved
category: concept
tags: ["application", "", ""]
---
CathPag marked this conversation as resolved.
Show resolved Hide resolved

## What it is

A runtime in general is something that executes a piece of software.
castrojo marked this conversation as resolved.
Show resolved Hide resolved
It can be seen as an abstraction of the underlying operating system that knows how to translate the commands of the program into respective actions on the operating system level.
castrojo marked this conversation as resolved.
Show resolved Hide resolved

In [cloud native](/cloud-native-apps/) computing, when we talk about the runtime we refer to the container runtime. A container runtime specifically implements the [Open Container Inititative](https://opencontainers.org/) specification to ensure consistent consumption around the ecosystem. This includes the container image specification, the method in which the runtime can retrieve an image, and how that image is unpacked, layered, mounted, and executed. These runtimes utilize kernel features such as namespaces and cgroups to provide isolation and resource management for the containers.
castrojo marked this conversation as resolved.
Show resolved Hide resolved

Container runtimes read the specification [configuration files](https://github.com/opencontainers/runtime-spec/blob/main/glossary.md#configuration) from a [bundle](https://github.com/opencontainers/runtime-spec/blob/main/glossary.md#bundle), and use that information to create a [container](https://github.com/opencontainers/runtime-spec/blob/main/glossary.md#container), launches a process inside the container, and performs other [lifecycle actions](https://github.com/opencontainers/runtime-spec/blob/main/runtime.md).
castrojo marked this conversation as resolved.
Show resolved Hide resolved

Common runtimes include containerd, CRI-O, Docker, Firecracker, gVisor, lxd, Podman, and runc.
castrojo marked this conversation as resolved.
Show resolved Hide resolved

CathPag marked this conversation as resolved.
Show resolved Hide resolved
cgroups, etc.
castrojo marked this conversation as resolved.
Show resolved Hide resolved

## Problem it addresses

Container runtimes are a necessary component of container orchestrators such as Kubernetes. The runtime is scoped to only handle the lifecycle of the containers. User-facing features such as scaling and service discovery, fault tolerance, etc. are handled by the orchestrator or some other high level tool that interfaces with the runtime.
castrojo marked this conversation as resolved.
Show resolved Hide resolved
iamNoah1 marked this conversation as resolved.
Show resolved Hide resolved

## How it helps

akshatcoder-hash marked this conversation as resolved.
Show resolved Hide resolved
The container runtimes are responsible for launching, managing, and terminating containers. Many runtimes, like LXC, LMCTFY, and rkt predate the creation of the OCI Specification. Over time the OCI Specification has become the standard for container runtimes.
castrojo marked this conversation as resolved.
Show resolved Hide resolved

This allows a diverse set of container runtimes to be used with different tools. For example Kubernetes can use OCI compliant runtimes via it's container runtime interface, giving end users the flexibility of using a specific runtime.
castrojo marked this conversation as resolved.
Show resolved Hide resolved




## Related terms

- [Cloud Native](https://glossary.cncf.io/cloud-native-apps/)
- [Containerization](https://glossary.cncf.io/containerization/)
- [Container Orchestration](https://glossary.cncf.io/container-orchestration/)
- [Microservices Architecture](https://glossary.cncf.io/microservices-architecture/)