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 kafka-channel.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
contrib.eventing.knative.dev/release: "v0.12.3"
duck.knative.dev/addressable: "true"
name: kafka-addressable-resolver
rules:
- apiGroups:
- messaging.knative.dev
View setup.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 Prometheus_CloudEvents.md
☁️  cloudevents.Event
Validation: valid
Context Attributes,
  specversion: 0.2
  type: dev.knative.prometheus.promql
  source: prometheus-source
  id: 3b0f4924-0d1c-4a3b-b15a-566c0ca67c83
  time: 2019-10-22T12:28:35.239998202Z
  contenttype: application/json
View Some_CRs.md

The InMemoryChannel (default - if not changed):

apiVersion: messaging.knative.dev/v1alpha1
kind: InMemoryChannel
metadata:
  name: testchannel

The Cronjob Source:

View strimzi_exposed.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 exposed_strimzi.yaml
apiVersion: kafka.strimzi.io/v1beta1
kind: Kafka
metadata:
name: my-cluster
spec:
kafka:
version: 2.3.0
replicas: 1
listeners:
plain: {}
View setup.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 vanilla_strimzi.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 broker_istio_lean.md

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
View matzew-istio-lean.yaml
---
# PATCH #1: Creating the istio-system namespace.
apiVersion: v1
kind: Namespace
metadata:
name: istio-system
labels:
istio-injection: disabled
# PATCH #1 ends.
---
You can’t perform that action at this time.