Skip to content

Instantly share code, notes, and snippets.

export KN_VERSION=1.12.3
# Serving
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v$KN_VERSION/serving-crds.yaml
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v$KN_VERSION/serving-core.yaml
kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v$KN_VERSION/kourier.yaml
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
# ---------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
squake:~/workspace/syndesis [fix/8465_update_camelk_crd]$ kamel install -o yaml
OLM is available in the cluster
OLM resources are already available: skipping installation
apiVersion: v1
items:
- apiVersion: camel.apache.org/v1
kind: IntegrationPlatform
metadata:
creationTimestamp: null
labels:
# Log as admin before
oc adm prune images --confirm --registry-url https://default-route-openshift-image-registry.apps-crc.testing/
@squakez
squakez / gist:29ce102fbc181406a500012d06fc3889
Created May 29, 2020 13:27
Run a Strimzi Kafka producer CLI
oc exec -it broker-kafka-0 -- /opt/kafka/bin/kafka-console-producer.sh \
--broker-list localhost:9092 \
--topic sample4mongo