跳至內容

Knative Quickstart 外掛程式發布

發布於:2021-10-05 ,  修訂於:2024-01-17

Knative Quickstart 外掛程式發布

作者:Paul Schweigert,IBM 資深軟體工程師

我們很高興宣布 Knative 用戶端的 quickstart 外掛程式現已推出。此外掛程式讓使用者只需一個命令,即可使用本機 KinDminikube 叢集輕鬆設定本機 Knative 環境。

$ kn quickstart kind
Running Knative Quickstart using Kind
✅ Checking dependencies...
    Kind version is: kind v0.11.1 go1.16.4 linux/amd64

☸ Creating Kind cluster...
    Cluster ready
🍿 Installing Knative Serving v0.25.0 ...
    CRDs installed...
    Core installed...
    Finished installing Knative Serving
🕸️ Installing Kourier networking layer v0.25.0 ...
    Kourier installed...
    Ingress patched...
    Kourier service installed...
    Domain DNS set up...
    Finished installing Kourier Networking layer
🔥 Installing Knative Eventing v0.25.0 ...
    CRDs installed...
    Core installed...
    In-memory channel installed...
    Mt-channel broker installed...
    Example broker installed...
    Finished installing Knative Eventing
🚀 Knative install took: 1m50s
🎉 Now have some fun with Serverless and Event Driven Apps!

此外掛程式提供一種簡單的方法,可透過命令列安裝 Knative 的主要元件(Serving 和 Eventing),並使用與建立 Knative 資源相同的工具...

使用 Knative 用戶端啟動您的環境

$ kn quickstart kind

使用 Knative 用戶端建立 Knative 服務

$ kn service create hello --image ghcr.io/knative/helloworld-go:latest

準備好試試了嗎?請前往Knative 入門指南,瞭解如何下載外掛程式並開始使用 Knative!

我們使用分析和 Cookie 來瞭解網站流量。為了該目的,您使用我們網站的相關資訊會與 Google 分享。瞭解更多。