Skip to content

Instantly share code, notes, and snippets.

View matzew's full-sized avatar
💩
hacking hacking hacking!

Matthias Wessendorf matzew

💩
hacking hacking hacking!
  • Red Hat
  • Emsdetten, Germany
View GitHub Profile
apiVersion: kafka.strimzi.io/v1beta1
kind: Kafka
metadata:
name: my-cluster
spec:
kafka:
version: 2.3.0
replicas: 1
listeners:
plain: {}
#!/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
#!/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

Error:

E0809 09:31:20.781212       1 reflector.go:328] knative.dev/eventing/pkg/adapter/apiserver/adapter.go:135: unable to add watch event object (&unstructured.Unstructured{Object:map[string]interface {}{"apiVersion":"v1", "count":1, "eventTime":interface {}(nil), "firstTimestamp":"2019-08-09T09:31:20Z", "involvedObject":map[string]interface {}{"apiVersion":"v1", "fieldPath":"spec.containers{queue-proxy}", "kind":"Pod", "name":"broker-display2-g4jd4-deployment-c9dbcb46c-fb2h2", "namespace":"default", "resourceVersion":"5081", "uid":"297ce8dc-ba88-11e9-95c9-589630dd4acb"}, "kind":"Event", "lastTimestamp":"2019-08-09T09:31:20Z", "message":"Killing container with id docker://queue-proxy:Need to kill Pod", "metadata":map[string]interface {}{"creationTimestamp":"2019-08-09T09:31:20Z", "name":"broker-display2-g4jd4-deployment-c9dbcb46c-fb2h2.15b9373d092bb4d1", "namespace":"default", "resourceVersion":"5414", "selfLink":"/api/v1/namespaces/default/events/broker-display2-g4jd4-deployment-c9dbcb46c-fb2h2.15b93
---
# PATCH #1: Creating the istio-system namespace.
apiVersion: v1
kind: Namespace
metadata:
name: istio-system
labels:
istio-injection: disabled
# PATCH #1 ends.
---

Newcastle University WebSocket stream

Knative Serving

Apply this file:

apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
#!/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
apiVersion: v1
kind: Namespace
metadata:
labels:
istio-injection: enabled
serving.knative.dev/release: "v20190613-5f6e052c"
name: knative-serving
---
apiVersion: rbac.authorization.k8s.io/v1
#!/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
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