iSulad
is a lightweight container engine implemented in C/C++. It stands out due to its ease of use, flexibility, convenience, and speed. It does not depend on hardware specifications and architectures, has minimal resource consumption, and has wide-ranging applications.
To obtain information about the architecture of iSulad
, refer to the documentation: architecture.
iSulad
supports several container runtimes including lxc, runc, and kata-runtime.
LXC is an open-source container management runtime written in C. It consumes few resources and is suitable for scenarios where system noise minimization is required. This is the default runtime used by iSulad
.
RUNC is a runtime written in Go and adheres to the OCI standard. When using runc, version 1.0.0 or higher of the OCI runtime-spec must be supported by iSulad
.
Kata-Runtime is a secure runtime designed for launching secure containers.
iSulad
supports various image formats, including standard OCI images and external rootfs.
Standard OCI images are compatible with Docker and support pulling images from remote repositories and starting containers.
The format of external rootfs allows users to prepare the rootfs directory themselves for starting, which is useful for system containers.
iSulad
provides two different interfaces for managing images and containers: CLI and CRI.
CLI represents a command-line interface for managing images and containers. This is a standard client-server model where iSulad
works as a server daemon, and iSula
acts as an independent client command interface for the user.
Commands provided by iSula
cover most common usage scenarios, including container management (such as start, stop, remove, pause) and image management (such as pull, import, remove).
CRI (Container Runtime Interface) is a service interface for containers and images provided by Kubernetes for integrating container engines with Kubernetes.
The CRI interface is based on gRPC. iSulad
follows the CRI standard and implements a CRI gRPC Server containing Runtime Service and Image Service for managing containers and images respectively. The gRPC Server iSulad
should listen on a local Unix socket, while the Kubernetes component kubelet runs as a gRPC Client.
iSulad
can be installed using the yum
command. Before installation, ensure that the openEuler repository configuration is correctly set up:
$ cat << EOF > /etc/yum.repos.d/openEuler.repo
[openEuler]
baseurl=https://repo.openeuler.org/openEuler-22.03-LTS/OS/\$basearch
enabled=1
EOF
Install iSulad
with the following command:
$ yum install -y iSulad
If after executing the installation command the following error occurs:
Repository 'openEuler' is missing name in configuration, using id.
You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key
Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and YUM
will install it for you.
For more information contact your distribution or package provider.
you will need to execute the command rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-openEuler
.
After successful installation of iSulad
, it needs to be configured with the registry mirror address. For example, if using "docker.io":
# cat /etc/isulad/daemon.json
.....
"registry-mirrors": [
"docker.io"
],
.....
iSulad
offers two options for launching services:
iSulad
through the systemd service# Start the iSulad service using the systemd command
$ systemctl restart isulad
iSulad
using the command# Launch iSulad using the standard socket, logging level, and image management functions
$ sudo isulad
iSulad
provides two interfaces for managing images and containers: CLI and CRI.
iSulad
uses iSula
as the client command interface. Below are some basic commands for managing containers using the CLI interface:
$ sudo isula ps -a
Create a container using the busybox
image:
test
using the default runtime$ sudo isula create -t -n test busybox
testrunc
using the runc
runtime$ sudo isula create -t --runtime runc -n testrunc busybox
Start the test
container:
$ sudo isula start test
test
container:$ sudo isula kill test
test
container:$ sudo isula rm test
iSulad
can be integrated with Kubernetes through the CRI interface. To learn more about integration with Kubernetes, refer to the documentation: integration with Kubernetes.
Use ptcr as a performance testing tool for the container engine to demonstrate the performance of iSulad
on computers with different architectures.
iSula
, docker
, and podman
is presented below:- В случае параллельной операции с 100 контейнерами, сравнительный радарный график производительности
iSula
с docker
и podman
представлен ниже:
iSula
с docker
и podman
представлен ниже:iSula
с docker
и podman
представлен ниже:Дополнительная информация о тестировании производительности доступна здесь: Тестирование производительности.
iSulad
поддерживается на ядрах Linux версии 3.0.x и выше.
Совместимые версии стандартных нормативных документов для iSulad
следующие:
iSulad
2.1.4 поддерживается версия CNI 1.0.0iSulad
поддерживает версии Kubernetes 1.13 и выше. Ниже представлена таблица совместимости iSulad
с Kubernetes, которая указывает минимальную требуемую версию iSulad
для каждого указанного версии Kubernetes.
Версия iSulad | Версия Kubernetes | Версия CRI |
---|---|---|
v2.0.0+ | v1.13–v1.18 | v1alpha2 |
v2.0.8+ | v1.19–v1.22 | v1alpha2 |
v2.1.4+ | v1.23–v1.26 | v1, v1alpha2 |
Примечание: все пути к файлам, URL-адреса и IP-адреса остаются без изменения.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )