This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Docker <== | |
-- Logs begin at Tue 2020-01-14 17:41:32 UTC, end at Tue 2020-01-14 17:44:33 UTC. -- | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.097921453Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/6d6fbda74600f34c8f7c8bfa384a659e8a369aa4c00cf650ae89acaa262e7d00/shim.sock" debug=false pid=6980 | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.314972238Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/0adb09986eb7bc84c540bcc948cb0cc891a7f63b1ca93c99810401c85f1a2cb1/shim.sock" debug=false pid=7114 | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.322412868Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/3a3eb1723c45efa042e707be766b87322620c47ecba3c1043d615f55a1c346cb/shim.sock" debug=false pid=7145 | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.446113394Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/f4ed9a00d42eebf37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: sources.eventing.knative.dev/v1alpha1 | |
kind: CamelSource | |
metadata: | |
name: timed-greeter | |
spec: | |
integration: | |
dependencies: | |
- camel:log | |
source: |- | |
from("timer:tick?period=10s") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/12/20 02:15:28 Camel K is correctly installed in the cluster. | |
2019/12/20 02:15:29 Registering Components. | |
2019/12/20 02:15:29 Setting up Controllers. | |
2019/12/20 02:15:29 Adding the Camel Source controller. | |
{"level":"panic","ts":1576808129.4429235,"logger":"fallback","caller":"addressable/addressable.go:56","msg":"Unable to fetch knative.dev/pkg/apis/duck.InformerFactory from context.","stacktrace":"knative.dev/eventing-contrib/vendor/knative.dev/pkg/client/injection/ducks/duck/v1/addressable.Get\n\t/home/prow/go/src/knative.dev/eventing-contrib/vendor/knative.dev/pkg/client/injection/ducks/duck/v1/addressable/addressable.go:56\nknative.dev/eventing-contrib/vendor/knative.dev/pkg/resolver.NewURIResolver\n\t/home/prow/go/src/knative.dev/eventing-contrib/vendor/knative.dev/pkg/resolver/addressable_resolver.go:53\nknative.dev/eventing-contrib/camel/source/pkg/reconciler.Add\n\t/home/prow/go/src/knative.dev/eventing-contrib/camel/source/pkg/reconciler/camelsource.go:80\nmain.main\n\t/home/prow/go/src/knative. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run -dt --rm --pod new:db --name mariadb -e MYSQL_ROOT_PASSWORD=superS3cret! -e MYSQL_USER=demo -e MYSQL_DATABASE=demodb -e MYSQL_PASSWORD=password -p 3306:3306 -p 8082:8080 mariadb:10.4.4 | |
podman run -dt --rm --pod db --name adminer adminer:4.7.3-standalone | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: operators.coreos.com/v1 | |
kind: CatalogSourceConfig | |
metadata: | |
name: rhd-workshop-packages | |
namespace: openshift-marketplace | |
spec: | |
targetNamespace: openshift-operators | |
packages: knative-serving-operator,knative-eventing-operator,openshift-pipelines-operator,elasticsearch-operator,jaeger-product,kiali-ossm,servicemeshoperator | |
source: community-operators |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: 1.0.0 | |
metadata: | |
name: quarkus-workshop | |
projects: | |
- name: quarkus-tutorial | |
source: | |
type: git | |
location: 'https://github.com/redhat-developer-demos/quarkus-tutorial.git' | |
components: | |
- id: redhat/vscode-yaml/latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: customer | |
version: v1 | |
name: customer | |
spec: | |
replicas: 1 | |
selector: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instead of creating a new gist, you can update an existing one by passing its ID | |
or URL with "-u". For this to work, you must be logged in, and have created the | |
original gist with the same GitHub account. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INGRESSGATEWAY=istio-ingressgateway | |
IP_ADDRESS="$(minishift ip):$(kubectl get svc $INGRESSGATEWAY --namespace istio-system --output 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')" | |
curl -H "Host: greeter.demos.example.com" $IP_ADDRESS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd $PROJECT_HOME/service | |
kubectl create namespace demos | |
kubectl label namespace demos istio-injection=enabled | |
eval $(minikube docker-env) | |
docker build -t dev.local/rhdevelopers/node-greeter:0.0.1 . | |
kubectl apply -f service.yaml -n demos |