Coder Social home page Coder Social logo

Comments (8)

x893675 avatar x893675 commented on May 31, 2024 3

@FeynmanZhou, @tpiperatgod

this openfunction scenarious can work now.

Issue:

Version incompatibility

katacoda k8s version is v1.18.0
openfunction latest version need k8s version >= v1.19.0
knative (deploy.sh installed) need k8s >= v1.20.0
nginx-ingress (deploy.sh installed) install failed when k8s version is v1.19.0 ingress-nginx#7810

workaround:

  1. upgrade k8s version to v1.19.0 when katacoda k8s env runtime start
  2. only install cert-manager, Shipwright builder, OpenFuncAsync serving runtime

please create repo katacoda-scenarios in org OpenFunction, i will create a PR

from openfunction.

x893675 avatar x893675 commented on May 31, 2024 2

/assign @x893675

from openfunction.

FeynmanZhou avatar FeynmanZhou commented on May 31, 2024

/assign @x893675

Hi @x893675 ,

Thanks for your interest! We could collaborate with you to finish it. The previous Katacoda scenarios were developed and contributed by @AbdelouahabMbarki, he could also help out with this feature.

from openfunction.

benjaminhuo avatar benjaminhuo commented on May 31, 2024

@x893675 You can create a PR in the samples repo

from openfunction.

benjaminhuo avatar benjaminhuo commented on May 31, 2024

Thanks for the contribution! @x893675

from openfunction.

FeynmanZhou avatar FeynmanZhou commented on May 31, 2024

@FeynmanZhou, @tpiperatgod

this openfunction scenarious can work now.

Issue:

Version incompatibility

katacoda k8s version is v1.18.0
openfunction latest version need k8s version >= v1.19.0
knative (deploy.sh installed) need k8s >= v1.20.0
nginx-ingress (deploy.sh installed) install failed when k8s version is v1.19.0 ingress-nginx#7810

workaround:

  1. upgrade k8s version to v1.19.0 when katacoda k8s env runtime start
  2. only install cert-manager, Shipwright builder, OpenFuncAsync serving runtime

please create repo katacoda-scenarios in org OpenFunction, i will create a PR

Awesome, thanks for your contribution! Could you create a new folder in the Sample repo. I will create a Katacoda URL with katacoda.com/openfunction later.

I noticed the issues of version incompatibility caused by the built-in Kubernetes version in Katacoda, but I am curious why the Knative scenario can be used with Kubernetes 1.18.

IMO, the workaround should be added to the step-by-step guide of Katacoda scenario if we don't have a better solution so far.

from openfunction.

x893675 avatar x893675 commented on May 31, 2024

Knative scenario use Knative v0.18.0, but OpenFunction deploy.sh use Knative v0.26.0.

Knative require Kubernetes 1.20 since v0.25.0

The highest k8s version that katacoda can be upgraded through apt-install is v1.19.4. I think we can manually upgrade k8s to a newer version(1.20, 1.21... etc)

I will move the upgrade operation to step and create pr to Sample repo later

from openfunction.

tpiperatgod avatar tpiperatgod commented on May 31, 2024

Close this issue since the OpenFunction Katacode scenarios works now.

from openfunction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.