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: platform.confluent.io/v1beta1 | |
kind: ControlCenter | |
metadata: | |
name: controlcenter | |
namespace: confluent | |
spec: | |
replicas: 1 | |
image: | |
application: confluentinc/cp-enterprise-control-center:7.2.0 |
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: platform.confluent.io/v1beta1 | |
kind: Connector | |
metadata: | |
name: replicator | |
namespace: confluent | |
spec: | |
class: "io.confluent.connect.replicator.ReplicatorSourceConnector" | |
taskMax: 4 | |
connectClusterRef: | |
name: connect |
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
# Intentionally not automated | |
# .tmux.conf | |
unbind C-b | |
set-option -g prefix C-z | |
bind-key C-z send-prefix | |
# .vimrc | |
set expandtab | |
set shiftwidth=2 | |
set tabstop=2 |
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
global | |
maxconn 300 | |
log 192.168.0.40 local0 debug | |
stats socket /tmp/haproxy.socket level admin | |
gid 80 | |
nbproc 1 | |
chroot /var/empty | |
daemon | |
# | |
# Example configuration for HAProxy 1.5-dev19 for using SNI |
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
# setup dcos security cli | |
dcos package install dcos-enterprise-cli --cli | |
# Create keypair | |
dcos security org service-accounts keypair priv.pem pub.pem | |
# Create service account | |
dcos security org service-accounts create -p pub.pem -d 'Marathon Service Account' marathon | |
dcos security org service-accounts show marathon | |
## Add 'dcos:superuser full' to permissions through UI | |
# Create secret: |
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
import javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.*; | |
/** Establish a SSL connection to a host and port, writes a byte and | |
* prints the response. See | |
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
*/ | |
public class SSLPoke { | |
public static void main(String[] args) { |