For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| basePath: /api/v1 | |
| definitions: | |
| signadotv1.CreateClusterRequest: | |
| properties: | |
| name: | |
| type: string | |
| type: object | |
| signadotv1.CreateClusterResponse: | |
| properties: | |
| id: |
| # Transparent Envoy Proxy that forwards http/https | |
| # Create iptables to route 80 + 443 to 10000: | |
| # $ iptables -t nat -A OUTPUT -p tcp -m owner ! --uid-owner envoyuser --dport 443 -j REDIRECT --to-port 10000 | |
| # $ iptables -t nat -A OUTPUT -p tcp -m owner ! --uid-owner envoyuser --dport 80 -j REDIRECT --to-port 10000 | |
| # Run envoy | |
| # $ envoy -c dynamic_fwd_http_sni.yaml -l debug | |
| admin: | |
| access_log_path: /home/envoyuser/admin/admin_access.log | |
| address: |
| └─< (master)>──» ./gcbmgr tail 7b4c1814-1789-46ce-b48a-793bc58be2eb 0 < 13:38:09 | |
| gcbmgr: BEGIN main on anirudh-XPS-13-9370 Tue Jul 17 13:38:10 PDT 2018 | |
| Checking /home/anirudh/Documents/code/src/src/k8s.io/release state: OK | |
| Checking/setting cloud tools: OK | |
| Checking required system packages: OK | |
| Waiting for GCP to initiate stream... | |
| ----------------------------------------------------------------------------------------------- REMOTE BUILD OUTPUT ----------------------------------------------------------------------------------------------- |
| ##################### ElasticSearch Configuration Example ##################### | |
| # This file contains an overview of various configuration settings, | |
| # targeted at operations staff. Application developers should | |
| # consult the guide at <http://elasticsearch.org/guide>. | |
| # | |
| # The installation procedure is covered at | |
| # <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>. | |
| # | |
| # ElasticSearch comes with reasonable defaults for most settings, |
| spark.kubernetes.namespace | |
| spark.kubernetes.driver.docker.image | |
| spark.kubernetes.executor.docker.image | |
| spark.kubernetes.docker.image.pullPolicy | |
| spark.kubernetes.authenticate.driver.oauthToken | |
| spark.kubernetes.authenticate.driver.oauthTokenFile | |
| spark.kubernetes.authenticate.driver.clientKeyFile | |
| spark.kubernetes.authenticate.driver.clientCertFile | |
| spark.kubernetes.authenticate.driver.caCertFile |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| %pyspark | |
| from random import random | |
| partitions = 2 | |
| n = 100000 * partitions | |
| def f(_): | |
| x = random() * 2 - 1 | |
| y = random() * 2 - 1 |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://fb.me/react-15.0.0.js"></script> | |
| <script src="https://fb.me/react-dom-15.0.0.js"></script> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>React JS Example</title> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://fb.me/react-0.13.0.js"></script> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>React JS Example</title> | |
| </head> | |
| <body> | |
| <script src="https://code.jquery.com/jquery-git.js"></script> |