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
0.0 TEL | Telepresence 0.105 launched at Thu Apr 30 22:39:12 2020 | |
0.0 TEL | /usr/local/bin/telepresence | |
0.0 TEL | uname: uname_result(system='Darwin', node='bszeti-mac', release='19.3.0', version='Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64', machine='x86_64', processor='i386') | |
0.0 TEL | Platform: darwin | |
0.0 TEL | WSL: False | |
0.0 TEL | Python 3.7.7 (default, Mar 10 2020, 15:43:33) | |
0.0 TEL | [Clang 11.0.0 (clang-1100.0.33.17)] | |
0.0 TEL | BEGIN SPAN main.py:40(main) | |
0.0 TEL | BEGIN SPAN startup.py:83(set_kube_command) | |
0.0 TEL | Found kubectl -> /usr/local/bin/kubectl |
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
FROM centos | |
CMD echo 'Hello World! - v1.0' && exec sleep infinity |
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
# DeploymentConfig from ImageStream myimage-ref-source | |
apiVersion: apps.openshift.io/v1 | |
kind: DeploymentConfig | |
metadata: | |
name: myimage-ref-source-mytag | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: |
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
URL | TLS | |
---|---|---|
http://fuse7-hello-plain.192.168.99.100.nip.io | No TLS | |
https://fuse7-hello-edge.192.168.99.100.nip.io | Edge | |
https://fuse7-hello-reencrypt.192.168.99.100.nip.io | Re-encrypt | |
https://fuse7-hello-passthrough.192.168.99.100.nip.io | Passthrough | |
https://any.custom.name | Passthrough |
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
Route type | Hostname expected | Certificate used | |
---|---|---|---|
No TLS | HTTP Host header | - | |
Edge | HTTP Host header | Router | |
Re-encrypt | HTTP Host header | Router | |
Passthrough | TLS Client Hello | Pod |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder class="net.logstash.logback.encoder.LogstashEncoder"/> | |
</appender> | |
<root level="info"> | |
<appender-ref ref="STDOUT" /> | |
</root> | |
</configuration> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<!-- This conversionRule is required to make %wEx work. Instead %n%ex is good too --> | |
<conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" /> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%d %5p %logger: %replace(%m%wEx){'\n','
'}%nopex%n</pattern> | |
</encoder> | |
</appender> |
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
// Let's assume we have a Spring environment | |
... | |
import javax.cache.CacheManager; | |
import my.company.utils.CachePolicy; | |
@Component | |
public class CachedRoute extends RouteBuilder{ | |
private static final Logger log = LoggerFactory.getLogger(CachedRoute.class); |
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
package com.mycompany.utils; | |
import org.apache.camel.AsyncCallback; | |
import org.apache.camel.Exchange; | |
import org.apache.camel.Expression; | |
import org.apache.camel.Processor; | |
import org.apache.camel.model.ProcessorDefinition; | |
import org.apache.camel.processor.DelayProcessorSupport; | |
import org.apache.camel.processor.DelegateAsyncProcessor; | |
import org.apache.camel.spi.Policy; |
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
pipeline { | |
agent{ | |
kubernetes { | |
label 'app-users-it' | |
cloud 'openshift' | |
defaultContainer 'jnlp' | |
yaml ''' | |
apiVersion: v1 | |
kind: Pod | |
metadata: |
NewerOlder