在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):cri-o/cri-o开源软件地址(OpenSource Url):https://github.com/cri-o/cri-o开源编程语言(OpenSource Language):Go 78.9%开源软件介绍(OpenSource Introduction):CRI-O - OCI-based implementation of Kubernetes Container Runtime InterfaceCompatibility matrix: CRI-O ⬄ KubernetesCRI-O follows the Kubernetes release cycles with respect to its minor versions
( This means that CRI-O also follows the Kubernetes For more information visit the Kubernetes Version Skew Policy.
Key:
The release notes for CRI-O are hand-crafted and can be continuously retrieved from our GitHub pages website. What is the scope of this project?CRI-O is meant to provide an integration path between OCI conformant runtimes and the Kubelet. Specifically, it implements the Kubelet Container Runtime Interface (CRI) using OCI conformant runtimes. The scope of CRI-O is tied to the scope of the CRI. At a high level, we expect the scope of CRI-O to be restricted to the following functionalities:
What is not in the scope of this project?
This is an implementation of the Kubernetes Container Runtime Interface (CRI) that will allow Kubernetes to directly launch and manage Open Container Initiative (OCI) containers. The plan is to use OCI projects and best of breed libraries for different aspects:
It is currently in active development in the Kubernetes community through the design proposal. Questions and issues should be raised in the Kubernetes sig-node Slack channel. Commands
Note that kpod and its container management and debugging commands have moved to a separate repository, located here. Configuration
OCI Hooks SupportYou can configure CRI-O to inject OCI Hooks when creating containers. CRI-O Usage TransferWe provide useful information for operations and development transfer as it relates to infrastructure that utilizes CRI-O. CommunicationFor async communication and long running discussions please use issues and pull requests on the GitHub repo. This will be the best place to discuss design and implementation. For chat communication, we have a channel on the Kubernetes slack that everyone is welcome to join and chat about development. Awesome CRI-OWe maintain a curated list of links related to CRI-O. Did you find something interesting on the web about the project? Awesome, feel free to open up a PR and add it to the list. Getting startedInstalling CRI-OTo install > curl https://raw.githubusercontent.com/cri-o/cri-o/main/scripts/get | bash The script automatically verifies the uploaded sigstore signatures as well, if
the local system has Beside > curl https://raw.githubusercontent.com/cri-o/cri-o/main/scripts/get | bash -s -- -a arm64 It is also possible to select a specific git SHA or tag by: > curl https://raw.githubusercontent.com/cri-o/cri-o/main/scripts/get | bash -s -- -t v1.21.0 The above script resolves to the download URL of the static binary bundle tarball matching the format:
where We also provide a Software Bill of Materials (SBOM) in the SPDX
format for each bundle. The SBOM is available at the same URL
like the bundle itself, but suffixed with
Running Kubernetes with CRI-OBefore you begin, you'll need to start CRI-O You can run a local version of Kubernetes with
CGROUP_DRIVER=systemd \
CONTAINER_RUNTIME=remote \
CONTAINER_RUNTIME_ENDPOINT='unix:///var/run/crio/crio.sock' \
./hack/local-up-cluster.sh For more guidance in running The HTTP status APICRI-O exposes per default the gRPC API to fulfill the Container Runtime Interface (CRI) of Kubernetes. Besides this, there exists an additional HTTP API to retrieve further runtime status information about CRI-O. Please be aware that this API is not considered to be stable and production use-cases should not rely on it. On a running CRI-O instance, we can access the API via an HTTP transfer tool like curl: $ sudo curl -v --unix-socket /var/run/crio/crio.sock http://localhost/info | jq
{
"storage_driver": "btrfs",
"storage_root": "/var/lib/containers/storage",
"cgroup_driver": "systemd",
"default_id_mappings": { ... }
} The following API entry points are currently supported:
The tool $ sudo go run cmd/crio-status/main.go info
cgroup driver: systemd
storage driver: btrfs
storage root: /var/lib/containers/storage
default GID mappings (format <container>:<host>:<size>):
0:0:4294967295
default UID mappings (format <container>:<host>:<size>):
0:0:4294967295 MetricsPlease refer to the CRI-O Metrics guide. Container Runtime Interface special casesSome aspects of the Container Runtime are worth some additional explanation. These details are summarized in a dedicated guide. Debugging tipsHaving an issue? There are some tips and tricks for debugging located in our debugging guide AdoptersAn incomplete list of adopters of CRI-O in production environments can be found here. If you're a user, please help us complete it by submitting a pull-request! Weekly MeetingA weekly meeting is held to discuss CRI-O development. It is open to everyone. The details to join the meeting are on the wiki. GovernanceFor more information on how CRI-O is goverened, take a look at the governance file License Scan |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论