export TKN=$(curl -X POST 'http://127.0.0.1:8080/auth/realms/your-realm/protocol/openid-connect/token' \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "username=your-user" \
-d 'password=your-pass' \
-d 'grant_type=password' \
oc get nodes -o=custom-columns=NAME:.metadata.name,CPU:.status.capacity.cpu --selector='node-role.kubernetes.io/worker,!node-role.kubernetes.io/infra' | sed 1d
oc get nodes -o=custom-columns=NAME:.metadata.name,CPU:.status.capacity.cpu --selector='node-role.kubernetes.io/compute,!node-role.kubernetes.io/infra'
This file contains 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: monitoring.coreos.com/v1 | |
kind: ServiceMonitor | |
metadata: | |
name: amq-broker-service-monitor | |
namespace: camel-kafka | |
spec: | |
endpoints: | |
- interval: 10s | |
port: console-jolokia | |
scheme: http |
apiVersion: apps.3scale.net/v1alpha1
kind: APIManager
metadata:
name: 3scale-instance
namespace: 3scale-operator
spec:
wildcardDomain: apps.mycluster.com.br
resourceRequirementsEnabled: true
This file contains 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
--- | |
kind: ImageStream | |
metadata: | |
creationTimestamp: null | |
name: debezium-streams-connect | |
spec: | |
lookupPolicy: | |
local: false | |
status: | |
dockerImageRepository: "" |
This file contains 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
<infinispan | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:infinispan:config:13.0 https://infinispan.org/schemas/infinispan-config-13.0.xsd | |
urn:infinispan:server:13.0 https://infinispan.org/schemas/infinispan-server-13.0.xsd" | |
xmlns="urn:infinispan:config:13.0" | |
xmlns:server="urn:infinispan:server:13.0"> | |
<jgroups> | |
<stack name="image-tcp" extends="tcp"> | |
<TCP bind_addr="${jgroups.bind.address,jgroups.tcp.address:match-interface:eth.*}" | |
bind_port="${jgroups.bind.port,jgroups.tcp.port:7800}" |
This file contains 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: kafka.strimzi.io/v1beta2 | |
kind: KafkaMirrorMaker2 | |
metadata: | |
name: my-mm2-cluster1 | |
namespace: mm2 | |
spec: | |
clusters: | |
- alias: my-cluster-a | |
bootstrapServers: 'my-cluster-a-kafka-bootstrap:9092' | |
- alias: my-cluster-b |
This file contains 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
// kamel run ProxyRoute.java --dev | |
import java.util.Locale; | |
import org.apache.camel.Exchange; | |
import org.apache.camel.Message; | |
import org.apache.camel.builder.RouteBuilder; | |
public class ProxyRoute extends RouteBuilder { | |
@Override |
This file contains 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: | |
generateName: quarkus- | |
projects: | |
- name: quarkus-quickstarts | |
source: | |
type: zip | |
location: 'https://devfile-registry-openshift-workspaces.apps.cluster-a183.a183.sandbox1868.opentlc.com/resources/quarkus-quarkus-quickstarts-main.zip' | |
components: | |
- type: chePlugin |
This file contains 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: user1-workspace | |
components: | |
- id: redhat/quarkus-java11/latest | |
type: chePlugin | |
- mountSources: true | |
endpoints: | |
- attributes: | |
public: 'true' |
NewerOlder