I hereby claim:
- I am isignal on github.
- I am sanketh_yugabyte (https://keybase.io/sanketh_yugabyte) on keybase.
- I have a public key ASAPFP-E2tURuEwVGVGOJVaXAV08Egl7HrymQn8i4po1vgo
To claim this, I am signing this object:
flowchart TD | |
subgraph install_docker [INSTALL DOCKER] | |
direction LR | |
I1_airgap{Is airgap?} | |
I1.1.1(Remove old docker pkgs) | |
I1.1.2(Add docker repos \n to apt/yum) | |
I1.1.3(apt/yum \n install packages) | |
I1.1.1 --- I1.1.2 --- I1.1.3 | |
I1.2.0(DO THESE MANUALLY) |
# pip install yb-cassandra-driver to be able to import cassandra.cluster | |
from cassandra.cluster import Cluster, Session | |
from ssl import SSLContext, PROTOCOL_TLS, CERT_REQUIRED | |
import os | |
import sys | |
hostname = sys.argv[1] | |
ssl_context = SSLContext(PROTOCOL_TLS) |
I hereby claim:
To claim this, I am signing this object:
Name: yb-tserver-0 | |
Namespace: foo | |
Priority: 0 | |
Node: kind-control-plane/172.17.0.2 | |
Start Time: Tue, 18 Feb 2020 12:50:29 -0800 | |
Labels: app=yb-tserver | |
controller-revision-hash=yb-tserver-8449f87cc5 | |
statefulset.kubernetes.io/pod-name=yb-tserver-0 | |
Annotations: <none> | |
Status: Running |
version: '2' | |
services: | |
yb-master: | |
image: yugabytedb/yugabyte:2.0.3.0-b7 | |
container_name: yb-master-n1 | |
command: [ "/home/yugabyte/bin/yb-master", | |
"--fs_data_dirs=/mnt/disk0,/mnt/disk1", | |
"--master_addresses=yb-master-n1:7100", | |
"--replication_factor=1", |
[yugabyted:1623] 2019-11-15 11:01:35,610 INFO: | 0.1s | Starting Yugabyte DB (this may take a couple minutes)... | |
[yugabyted:1623] 2019-11-15 11:01:35,611 INFO: | 0.1s | About to start master with cmd /private/tmp/ybd-test-64E6A870-3E8A-4A0E-9D0B-0AE9CEA10A70/yugabyte-2.0.5.0/bin/yb-master --stop_on_parent_termination --undefok=stop_on_parent_termination --fs_data_dirs=/private/tmp/ybd-test-64E6A870-3E8A-4A0E-9D0B-0AE9CEA10A70/yugabyte-2.0.5.0/yugabyte-data --webserver_interface=127.0.0.1 --metrics_snapshotter_tserver_metrics_whitelist=handler_latency_yb_tserver_TabletServerService_Read_count,handler_latency_yb_tserver_TabletServerService_Write_count,handler_latency_yb_tserver_TabletServerService_Read_sum,handler_latency_yb_tserver_TabletServerService_Write_sum,disk_usage,cpu_usage,node_up --yb_num_shards_per_tserver=1 --ysql_num_shards_per_tserver=1 --master_addresses=127.0.0.1:7100 --rpc_bind_addresses=127.0.0.1:7100 --server_broadcast_addresses=127.0.0.1:7100 --replication_factor=1 --use_initial_sys_catal |
2019-11-15 18:36:37,336 [INFO] from play.api.db.DefaultDBApi in main - Database [default] connected at jdbc:postgresql://localhost:5433/system_platform | |
2019-11-15 18:36:39,590 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started Commissioner TaskPool. | |
2019-11-15 18:36:39,591 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started TaskProgressMonitor thread. | |
2019-11-15 18:36:41,283 [WARN] from play.api.db.evolutions.ApplicationEvolutions in main - Your production database [default] needs evolutions! | |
# --- Rev:1,Ups - fda115c | |
create table access_key ( | |
key_code varchar(255) not null, | |
provider_uuid uuid not null, | |
key_info TEXT not null, |
2019-11-15 18:36:37,336 [INFO] from play.api.db.DefaultDBApi in main - Database [default] connected at jdbc:postgresql://localhost:5433/system_platform | |
2019-11-15 18:36:39,590 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started Commissioner TaskPool. | |
2019-11-15 18:36:39,591 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started TaskProgressMonitor thread. | |
2019-11-15 18:36:41,283 [WARN] from play.api.db.evolutions.ApplicationEvolutions in main - Your production database [default] needs evolutions! | |
# --- Rev:1,Ups - fda115c | |
create table access_key ( | |
key_code varchar(255) not null, | |
provider_uuid uuid not null, | |
key_info TEXT not null, |
[yugabyted:1572] 2019-11-15 18:35:48,187 INFO: | 0.1s | Starting YugabyteDB (this may take a couple minutes)... | |
[yugabyted:1572] 2019-11-15 18:35:48,187 INFO: | 0.1s | Running the post-installation script /tmp/post_install/yugabyte-2.0.6.0/bin/post_install.sh | |
[yugabyted:1572] 2019-11-15 18:36:20,087 INFO: | 32.0s | Successfully ran the post-installation script. | |
[yugabyted:1572] 2019-11-15 18:36:20,088 INFO: | 32.0s | Creating data directory /tmp/post_install/yugabyte-2.0.6.0/yugabyte-data. | |
[yugabyted:1572] 2019-11-15 18:36:20,088 INFO: | 32.0s | About to start master with cmd /tmp/post_install/yugabyte-2.0.6.0/bin/yb-master --stop_on_parent_termination --undefok=stop_on_parent_termination --fs_data_dirs=/tmp/post_install/yugabyte-2.0.6.0/yugabyte-data --webserver_interface=127.0.0.1 --metrics_snapshotter_tserver_metrics_whitelist=handler_latency_yb_tserver_TabletServerService_Read_count,handler_latency_yb_tserver_TabletServerService_Write_count,handler_latency_yb_tserver_TabletServerService_Read_sum,hand |
# | |
# Overall Design: | |
# There are two Kubernetes StatefulSets in this yaml file - yb-master and yb-tserver. Each of | |
# these has the following: | |
# - a headless service to expose a DNS entry for discovery | |
# - a service to expose end-points to the outside world | |
# - the stateful set itself | |
# - a load-balancer service to view the universe dashboard UI | |
# | |
# Using YB with k8s |