Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Knative Tutorial
on:
push:
branches:
- release/v0.12.x
- release/v0.14.x
env:
SITE_DIR: 'gh-pages'
jobs:
Expand Down
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@

# Knative Tutorial - Introduction to Knative
![Knative Tutorial](https://github.com/redhat-developer-demos/knative-tutorial/workflows/Knative%20Tutorial/badge.svg) [![Knative Serving v0.14](https://img.shields.io/badge/Knative%20Serving-v0.14-blue)](https://knative.dev/docs/serving/)
[![Knative Eventing v0.14](https://img.shields.io/badge/Knative%20Eventing-v0.14-blue)](https://knative.dev/docs/eventing/)
[![Strimzi Kafka](https://img.shields.io/badge/Strimzi%20Kafka-v0.16.2-blue)](https://strimzi.io)
[![Apache Camel-K](https://img.shields.io/badge/Apache%20Camel--K-v1.0.1-blue)](https://camel.apache.org/camel-k/latest/)

## Documentation

Start your serverless journey today with https://redhat-developer-demos.github.io/knative-tutorial

## What is Serverless

Serverless epitomize the very benefits of what cloud platforms promise: offload the management of infrastructure while taking advantage of a consumption model for the actual utilization of services. While there are a number of server frameworks out there, [Knative](https://knative.dev) is the first serverless platform specifically designed for Kubernetes and OpenShift.

This tutorial will act as step-by-step guide in helping you to understand Knative starting with setup, understanding fundamentals concepts such as service, configuration, revision etc., and finally deploying some use cases which could help deploying serverless applications.

This content is brought to you by [Red Hat Developer Program](http://developers.redhat.com) - Register today!

## Contributing

Please refer to the [how to contribute?](./CONTRIBUTING.md) on how you can contribute to the tutorial
4 changes: 2 additions & 2 deletions bin/start-minikube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ MutatingAdmissionWebhook"
minikube start -p $PROFILE_NAME \
--memory=$MEMORY \
--cpus=$CPUS \
--kubernetes-version=v1.15.0 \
--kubernetes-version=v1.15.1 \
--disk-size=50g \
--extra-config="$EXTRA_CONFIG" \
--insecure-registry='10.0.0.0/24'
--insecure-registry='10.0.0.0/24'
2 changes: 1 addition & 1 deletion eventing/default-kafka-channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
apiVersion: messaging.knative.dev/v1alpha1
kind: InMemoryChannel
namespaceDefaults:
chapter-4:
knativetutorial:
apiVersion: messaging.knative.dev/v1alpha1
kind: KafkaChannel
spec:
Expand Down
2 changes: 1 addition & 1 deletion eventing/mykafka-source.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: sources.eventing.knative.dev/v1alpha1
apiVersion: sources.knative.dev/v1alpha1
kind: KafkaSource
metadata:
name: mykafka-source
Expand Down
21 changes: 9 additions & 12 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,32 @@ content:
sources:
- url: git@github.com:redhat-developer-demos/knative-tutorial.git
tags: []
branches: release/v0.12.x
branches: release/v0.14.x
start_path: documentation
- url: git@github.com:redhat-developer-demos/knative-tutorial-module-serving.git
tags: []
branches: release/v0.12.x
branches: release/v0.14.x
- url: git@github.com:redhat-developer-demos/knative-tutorial-module-eventing.git
tags: []
branches: release/v0.12.x
branches: release/v0.14.x
- url: git@github.com:redhat-developer-demos/knative-tutorial-module-camelk.git
tags: []
branches: release/v0.12.x
branches: release/v0.14.x
- url: git@github.com:redhat-developer-demos/knative-tutorial-module-advanced.git
tags: []
branches: release/v0.12.x
branches: release/v0.14.x
asciidoc:
attributes:
tutorial-namespace: knativetutorial
title: Knative Tutorial
release-version: master
extensions:
- ./lib/copy-to-clipboard.js
- ./lib/remote-include-processor.js
- ./lib/tab-block.js
ui:
bundle:
url: https://github.com/redhat-developer-demos/rhd-tutorial-ui/releases/download/v0.0.4/ui-bundle.zip
supplemental_files:
- path: ./supplemental-ui
- path: .nojekyll
- path: ui.yml
contents: "static_files: [ .nojekyll ]"
url: https://github.com/redhat-developer-demos/rhd-tutorial-ui/releases/download/v0.1.9/ui-bundle.zip
snapshot: true
supplemental_files: ./supplemental-ui
output:
dir: ./gh-pages