Skip to content

Instantly share code, notes, and snippets.

BEGIN MESSAGE.
xKAy8PjDawH2fCP HdNycSxiVPUMPJ5 LHOGMmAfpJtuFqe Gn9eM5qlxzQF6AA
6SHDPyA0jD9qRlR DlEHNvyagyVTCKq 6Xr2MZHgg4V2enS nFQVchFQbYjK5mO
dX8qcSC6zPiHn6y 5Fb1XVcC8Rw4XLK BSQhlGKUgcNGWtW 0bmaVJXSmXNgNKa
nJDJfVZmYJ8jyiF AHxPWEBpAPXjSRv TecN82IP.
END MESSAGE.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
{"level":"info","ts":"2020-03-02T15:26:09.893Z","logger":"controller.configuration-controller","caller":"configuration/configuration.go:172","msg":"Revision \"helloworld-go-8xn86\" of configuration is ready","commit":"e4922e8","knative.dev/controller":"configuration-controller","knative.dev/traceid":"fa1f0644-0d88-4a55-804d-db0e79e6aecc","knative.dev/key":"default/helloworld-go"}
{"level":"error","ts":"2020-03-02T15:26:09.893Z","logger":"controller.configuration-controller","caller":"controller/controller.go:376","msg":"Reconcile error","commit":"e4922e8","knative.dev/controller":"configuration-controller","error":"failed to find and set latest ready revision: revision.serving.knative.dev \"helloworld-go-j8xvb\" not found","stacktrace":"knative.dev/serving/vendor/knative.dev/pkg/controller.(*Impl).handleErr\n\t/home/prow/go/src/knative.dev/serving/vendor/knative.dev/pkg/controller/controller.go:376\nknative.dev/serving/vendor/knative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/home/prow/go/src/knative.
@jmprusi
jmprusi / controller.log
Created March 2, 2020 15:30
weird issue
This file has been truncated, but you can view the full file.
{"level":"info","ts":"2020-03-02T15:26:09.893Z","logger":"controller.configuration-controller","caller":"configuration/configuration.go:172","msg":"Revision \"helloworld-go-8xn86\" of configuration is ready","commit":"e4922e8","knative.dev/controller":"configuration-controller","knative.dev/traceid":"fa1f0644-0d88-4a55-804d-db0e79e6aecc","knative.dev/key":"default/helloworld-go"}
{"level":"error","ts":"2020-03-02T15:26:09.893Z","logger":"controller.configuration-controller","caller":"controller/controller.go:376","msg":"Reconcile error","commit":"e4922e8","knative.dev/controller":"configuration-controller","error":"failed to find and set latest ready revision: revision.serving.knative.dev \"helloworld-go-j8xvb\" not found","stacktrace":"knative.dev/serving/vendor/knative.dev/pkg/controller.(*Impl).handleErr\n\t/home/prow/go/src/knative.dev/serving/vendor/knative.dev/pkg/controller/controller.go:376\nknative.dev/serving/vendor/knative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/home/prow/go/src/knative.

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable
@jmprusi
jmprusi / jaeger_config.json
Created August 16, 2018 19:27
Jaeger_config
{
"service_name": "apicast",
"disabled": false,
"sampler": {
"type": "const",
"param": 1
},
"reporter": {
"queueSize": 100,
"bufferFlushInterval": 10,
@jmprusi
jmprusi / Dockerfile
Last active December 21, 2017 15:59
Building Istio dockers from macOS
FROM ubuntu:xenial
# This Dockerfile has been taken from:
# https://github.com/nmnellis/istio/blob/access-logging/ci/Dockerfile
RUN apt-get update \
&& apt-get install -y openjdk-8-jdk make libtool m4 autoconf uuid-dev cmake golang-go curl python python-pip git \
&& echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
&& curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
&& apt-get update \
@jmprusi
jmprusi / debug.sh
Created October 6, 2017 14:48
Wildcard routes issue
oc new-project test
oc new-app https://github.com/openshift/ruby-hello-world.git --name="hello01"
oc new-app https://github.com/openshift/ruby-hello-world.git --name="hello02"
oc new-app https://github.com/openshift/ruby-hello-world.git --name="hello03"
oc expose svc hello01 --hostname=hello01.127.0.0.1.nip.io
oc expose svc hello02 --hostname=2hello.127.0.0.1.nip.io
cat >/tmp/router.yml <<EOF