GithubHelp home page GithubHelp logo

Comments (4)

ReToCode avatar ReToCode commented on August 20, 2024

Everything seems well at first, then I deployed a demon

I don't think we can help you much here. It seems like something is off with your set-up / and especially the networking configuration (as the webhook is there but cannot be called). Maybe check without that daemon again? Or check what that does and how it interferes with Knative.

from serving.

springCozyRock avatar springCozyRock commented on August 20, 2024

Everything seems well at first, then I deployed a demon

I don't think we can help you much here. It seems like something is off with your set-up / and especially the networking configuration (as the webhook is there but cannot be called). Maybe check without that daemon again? Or check what that does and how it interferes with Knative.

hi @ReToCode , thank you very much for your reply, since I am alone to fix these as a student. I decided to redeploy knative after getting your info. And something weird happened before I test the helloworld-go demo.

So, I deployed Knative-serving components & Kourier, totally following the official docs. So far so well.

Then I tried to configure DNS by Magic DNS(sslip.io), but the default-domain-xxxx STAUS remained as Completed, detailed info are as follows.

ubuntu@kmaster:~$ sudo kubectl get pods -n knative-serving
NAME                                      READY   STATUS      RESTARTS   AGE
webhook-56bf849884-8v2qj                  1/1     Running     0          28m
controller-ddf58dbc6-tbrnm                1/1     Running     0          28m
autoscaler-78ddd8548b-vf8bq               1/1     Running     0          28m
activator-56fb6f44f6-pn66l                1/1     Running     0          28m
net-kourier-controller-758c787975-6d829   1/1     Running     0          26m
default-domain-kj79t                      0/1     Completed   0          20m

Then I logs this weird pod, but I can not get a clear clue

ubuntu@kmaster:~$ sudo kubectl logs default-domain-kj79t -n knative-serving
W0415 12:13:41.186014       1 client_config.go:618] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
{"level":"info","ts":1713183231.2954903,"logger":"fallback.default-domain","caller":"default-domain/main.go:230","msg":"Updated default domain to: 192.168.70.5.sslip.io"}

could you kindly help me?

from serving.

ReToCode avatar ReToCode commented on August 20, 2024

I don't know why that job did fail, but you can actually also just set the domain with kubectl:

kubectl patch configmap/config-domain \
  --namespace knative-serving \
  --type merge \
  --patch '{"data":{"192.168.70.5.sslip.io":""}}'

That should help make your set-up work.

from serving.

springCozyRock avatar springCozyRock commented on August 20, 2024

Thank you very much. All these issues came from missing 2 steps when setting up kourier. I am so stupid. Now everything works well. Thanks again!

from serving.

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.