Repository navigation
[48h Knative] KServe plugin聽#1866
Description
We are still in the progress of setting up the hackathon, so we are still working on the concrete format. This issue is a prototype, feel free to comment on the format, too, below in the comments
馃憢 Hello awesome contributor!
This is a mini-project for the upcoming 48-hour Knative hackathon designed to boost contributions to the Knative Client project. For more details, check out Issue #1842.
馃幆 Why and What
Welcome to Knative, a platform for serverless computing on Kubernetes. The Knative CLI, known as kn, simplifies the management of Knative resources. KServe is an AI model inference layer on top of Kubernetes and Knative. The objective of this mini-project is to start a kn plugin to simplify the management of KServe's InferenceService.
This project aims to fill a gap in the Knative and KServe ecosystem that allows a typed user experience for working with KServe from the CLI. The immediate goal for this hackathon is to create the basic structure of the plugin and implement at least one operational command, such as kn kserve iservice create. Please take a look at the comments below for more details.
馃洜 Difficulty Level
Intermediate
馃懃 Recommended Team Size
1-3
馃帀 Expected Outcome
Success is defined as the ability to create a workingInferenceService on an existing KServe setup using the new kn plugin.
馃帗 Your Key Takeaways
In addition to gaining hands-on experience with kn and learning how to scaffold a new CLI plugin for it, you'll also acquire the skills to set up a Knative development environment on your own machine. This project will provide exposure to various areas relevant to Knative.
馃 Mentor
馃帴 5-Minute Video Pitch
TBD
馃摑 Additional Information
Some experience with Go programming is required, and a basic understanding of Knative and Kubernetes is beneficial.
馃寪 Entrypoints
- Clone the sample
knplugin from GitHub. - Use the kn-box repository to set up Knative and Istio on Minikube or Kind.
- Familiarize yourself with the KServe documentation to understand the essentials of
InferenceService.
馃搵 Organizer Checklist
- Added to Project Board
- Proposal Reviewed
- Assigned a Mentor
- Expected Outcome defined
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
rhuss commentedon Sep 18, 2023
To initiate this task, fork the kn-plugin-sample. Your feedback on its usability and any issues you encounter will contribute to its improvement.
The task involves implementing a new
iservicecommand that will manage KServe'sInferenceServicecustom resources. The specific aim for this hackathon is to enable the creation of anInferenceServicethrough a new command, incorporating all necessary options as command-line arguments.Completion is achieved when the following command is operational:
For further guidance, the kn-plugin-service-log plugin can serve as a useful reference. It is recommended to separate the logic for creating the Golang struct for
InferenceServiceto facilitate future updates.For any support or queries, the Slack #knative-48h channel is available.
sharmaansh21 commentedon Nov 30, 2023
/assign
spolti commentedon Dec 6, 2023
@rhuss this link returns 404 https://github.com/knative-extensions/kn-service-log
rhuss commentedon Dec 7, 2023
ah, sorry. The link has been fixed. In the meantime we've created a dedicated repository https://github.com/knative-48h/kn-plugin-kserve for the Hackathon. Let me know if you would like to be added to the story it's still open.