GithubHelp home page GithubHelp logo

meteatamel / knative-tutorial Goto Github PK

View Code? Open in Web Editor NEW
478.0 478.0 131.0 22.27 MB

A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.

License: Apache License 2.0

Dockerfile 12.94% C# 50.87% Python 23.18% Shell 13.02%
google-cloud knative knative-tutorial

knative-tutorial's Introduction

Hi ๐Ÿ‘‹, I'm Mete Atamel

Iโ€™m a Software Engineer and a Developer Advocate with 18+ years of experience. Currently, I work in the Developer Relations team at Google in London. I build tools, demos, tutorials, and give talks to educate and help developers to be successful on Google Cloud. As a regular speaker at tech conferences, I have spoken over 345+ events since 2016 on modern application development topics such as Kubernetes, Istio, Knative, serverless, event-driven architectures, and microservice orchestration. Prior to my current role, I was a Software Engineer/Architect/Tech Lead at Nokia, EMC, Adobe, Skype, and Microsoft building various client and server technologies, resulting in multiple patents.

Connect with me:

meteatamel meteatamel mete.atamel meteatamel @meteatamel

Languages and Tools:

azure csharp docker dotnet flutter gcp git java kubernetes linux nodejs

knative-tutorial's People

Contributors

craigbox avatar feitnomore avatar harwayne avatar meteatamel avatar picardparis avatar timidri avatar xinyinglim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

knative-tutorial's Issues

Trigger configuration doesn't work as expected

While following instructions specified in https://github.com/meteatamel/knative-tutorial/blob/master/docs/helloworldeventing.md, trigger gets created but ready state is false.

kubectl get trigger
NAME READY REASON BROKER SUBSCRIBER_URI AGE
trigger-event-display False Unable to get the Subscriber's URI default 5s

Describe command on trigger returns following message:

failed to get ref &ObjectReference{Kind:Service,Namespace:default,Name:event-display,UID:,APIVersion:serving.knative.dev/v1,ResourceVersion:,FieldPath:,}: services.serving.knative.dev "event-display" not found

I was not able to reach my app (error 404)

curl --header "Host:http://cool-app.default.example.com" 34.x.x.x -v

I followed the exact steps in knative tutorial to create a cluster on GKE with istio and install knative, I am not able to reach my cool-app from out side of the cluster.

Can you please suggest if I am missing something?, seems like this problem is familiar among knative community. Thanks in advance

thorough workload identity tutorial setup of KNative-GCP

Hi Mete, can you provide a more thorough of setting up the knative-gcp installation with the focus on leveraging workload identity setup for the control plan.

Additionally the explicit data plane setup with workload identity is confusing as i don't get why it would be required to provide the spec.googleServiceAccount in the manifest.
https://github.com/google/knative-gcp/blob/master/docs/install/pubsub-service-account.md

** I did log an issue under the knative-gcp and Grace had mentioned this wasn't supported prior to 0.14.0 so i was eager to try when it was recently released. Hopefully you have better luck.

the annotated service account that would say run the data plane CloudPubSubSource for example should automagically be authorized and authenticated to use whatever google apis it's entitled to.

permissions issue with Vision API

Hi Mete,

With Vision API, I get below error in pod logs instead of description. Is it related some permissions?

info: vision.Startup[0]
Storage url: gs://<STORAGE_BUCKET>/beach.jpg
fail: vision.Startup[0]
Something went wrong: Error opening file: gs://<STORAGE_BUCKET>/beach.jpg.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint '/ HTTP: POST'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 908.7609ms 200

I can not get the helloworld-python on.

I followed the doc, and went through this process.

Everything is OK and the pod can persist for sometime and will go away.
I am not sure if this is something wrong. But I found every is good. I think it is because not workload.

The hostname url is http://helloworld-python.default.example.com. I got this with cmd kubectl get ksvc helloworld-python --output=custom-columns=NAME:.metadata.name,URL:.status.url

but when I try to curl -H "Host: helloworld-python.default.example.com" http://$EXTERNAL_IP

it always complains that could not be resolved by DNS. I can not debug the cause.

Please help. Thanks.

All links are broken

All your links are broken. Very frustrating to do some things and have to leave it because of this.

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.