Skip to content

Instantly share code, notes, and snippets.

💩
hacking hacking hacking!

Matthias Wessendorf matzew

💩
hacking hacking hacking!
Block or report user

Report or block matzew

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View WebSocket_source_fun.md

Newcastle University WebSocket stream

Knative Serving

Apply this file:

apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
View minikube.sh
#!/usr/bin/env bash
set -e
# Turn colors in this script off by setting the NO_COLOR variable in your
# environment to any value:
#
# $ NO_COLOR=1 test.sh
NO_COLOR=${NO_COLOR:-""}
if [ -z "$NO_COLOR" ]; then
View serving.yaml
apiVersion: v1
kind: Namespace
metadata:
labels:
istio-injection: enabled
serving.knative.dev/release: "v20190613-5f6e052c"
name: knative-serving
---
apiVersion: rbac.authorization.k8s.io/v1
View poor_mans_olm.sh
#!/usr/bin/env bash
set -e
# Turn colors in this script off by setting the NO_COLOR variable in your
# environment to any value:
#
# $ NO_COLOR=1 test.sh
NO_COLOR=${NO_COLOR:-""}
if [ -z "$NO_COLOR" ]; then
View blah.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
manifestival: new
creationTimestamp: "2019-06-03T19:20:44Z"
name: in-memory-channel-controller
resourceVersion: "197636"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/in-memory-channel-controller
uid: aef26e1a-8634-11e9-8abd-02fef2611270
View log.txt
--- FAIL: TestEventTransformationForTrigger (240.57s)
e2e.go:474: Creating Namespace: test-event-transformation-for-trigger
broker_event_transformation_test.go:76: provisioner name is: in-memory
broker_event_transformation_test.go:79: Error waiting for the broker to become ready: timed out waiting for the condition, &{{ } {e2e-eventtransformation-broker test-event-transformation-for-trigger 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] nil [] } {0xc000455400} {{0 []} {}}}
cleanup.go:93: Cleaning resource: "e2e-eventtransformation-broker"
{
"apiVersion": "eventing.knative.dev/v1alpha1",
"kind": "Broker",
"metadata": {
"creationTimestamp": "2019-05-08T14:36:50Z",
View plan.yaml
apiVersion: v1
items:
- apiVersion: operators.coreos.com/v1alpha1
kind: InstallPlan
metadata:
creationTimestamp: "2019-04-29T07:45:44Z"
generateName: install-
generation: 1
name: install-qh8hc
namespace: knative-eventing
View cm.yaml
apiVersion: v1
data:
clusterServiceVersions: |-
- apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
capabilities: Basic Install
name: knative-eventing-operator.v0.5.0
namespace: placeholder
View logs.md
oc get pod -n knative-sources

gives:

NAME                         READY     STATUS             RESTARTS   AGE
camel-controller-manager-0   0/1       CrashLoopBackOff   4          2m55s
View log_via_subscribe.txt
{"level":"info","ts":1556099678.2008953,"logger":"controller_install","msg":"Reconciling Install","Request.Namespace":"knative-eventing","Request.Name":"auto-install"}
{"level":"info","ts":1556099678.205248,"logger":"manifestival","msg":"Creating","type":"/v1, Kind=ConfigMap","name":"default-channel-webhook"}
{"level":"info","ts":1556099678.2230303,"logger":"manifestival","msg":"Creating","type":"/v1, Kind=Service","name":"webhook"}
{"level":"info","ts":1556099678.2524981,"logger":"manifestival","msg":"Creating","type":"apps/v1, Kind=Deployment","name":"eventing-controller"}
{"level":"info","ts":1556099678.270618,"logger":"manifestival","msg":"Creating","type":"apps/v1, Kind=Deployment","name":"webhook"}
{"level":"info","ts":1556099678.2967906,"logger":"manifestival","msg":"Creating","type":"/v1, Kind=ConfigMap","name":"config-logging"}
{"level":"info","ts":1556099678.4065144,"logger":"manifestival","msg":"Creating","type":"eventing.knative.dev/v1alpha1, Kind=ClusterChannelProvisioner","name":"in-memory"}
{"l
You can’t perform that action at this time.