Are you an LLM? You can read better optimized documentation at /en/docs/common/faq/caselibrary/isulad.md for this page in Markdown format
Accessing iSulad Services Through gRPC and REST Protocols
gRPC Service Access
The default communication protocol between iSula and iSulad is gRPC, which is mandatory for CRI implementations in Kubernetes environments.
Developers integrating with iSulad via gRPC should consult the protocol buffer definitions at https://atomgit.com/openeuler/iSulad/tree/master/src/api/services, organized by functional modules.
For debugging gRPC interactions, install the community-developed grpcurl utility:
sh
go get github.com/fullstorydev/grpcurl
go install github.com/fullstorydev/grpcurl/cmd/grpcurlSample debugging command:
sh
grpcurl -plaintext -H 'tls_mode:0' -proto=api.proto -import-path=../ -unix=true /var/run/isulad.sock runtime.v1alpha2.ImageService.ListImagesREST Service Access
To configure REST-based communication:
- Clone the iSulad repository.
- Follow the build instructions.
Enable REST mode during compilation:
sh
cmake -DENABLE_GRPC=OFF .../Test REST endpoints using curl:
sh
curl -d "{}" --unix-socket /var/run/isulad.sock http://localhost/ContainerService/Version版权所有 © 2026 openEuler 保留一切权利
京ICP备2020036654号-1
京公网安备 11030102011597 号