Skip to content

Instantly share code, notes, and snippets.

@iSignal
Created February 18, 2020 20:54
Show Gist options
  • Save iSignal/8ac83a59bab300ed01d0104fd44212de to your computer and use it in GitHub Desktop.
Save iSignal/8ac83a59bab300ed01d0104fd44212de to your computer and use it in GitHub Desktop.
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
IP: 10.244.0.181
Controlled By: StatefulSet/yb-tserver
Containers:
yb-tserver:
Container ID: containerd://d3685f1686b98b5137275a5a2e0ccc57f73ef2a9f0c8dbb349cbe072d0b7c9d9
Image: yugabytedb/yugabyte:latest
Image ID: docker.io/yugabytedb/yugabyte@sha256:06cc56c6b521396f35f2b9216535db5a1b50235ef11d73395f7d72ef2c9bbf89
Ports: 9000/TCP, 9100/TCP, 9042/TCP, 6379/TCP, 5433/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP, 0/TCP, 0/TCP
Command:
/home/yugabyte/bin/yb-tserver
--fs_data_dirs=/mnt/data0
--rpc_bind_addresses=$(POD_NAME).yb-tservers.$(NAMESPACE).svc.cluster.local:9100
--server_broadcast_addresses=$(POD_NAME).yb-tservers.$(NAMESPACE).svc.cluster.local:9100
--enable_ysql=true
--pgsql_proxy_bind_address=0.0.0.0:5433
--use_private_ip=never
--tserver_master_addrs=yb-master-0.yb-masters.$(NAMESPACE).svc.cluster.local:7100
--logtostderr
--yb_num_shards_per_tserver=1
--ysql_num_shards_per_tserver=1
State: Running
Started: Tue, 18 Feb 2020 12:50:30 -0800
Ready: True
Restart Count: 0
Environment:
GET_HOSTS_FROM: dns
POD_IP: (v1:status.podIP)
POD_NAME: yb-tserver-0 (v1:metadata.name)
NAMESPACE: foo (v1:metadata.namespace)
Mounts:
/mnt/data0 from datadir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-sn2kw (ro)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
datadir:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: datadir-yb-tserver-0
ReadOnly: false
default-token-sn2kw:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-sn2kw
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned foo/yb-tserver-0 to kind-control-plane
Normal Pulling 4m2s kubelet, kind-control-plane Pulling image "yugabytedb/yugabyte:latest"
Normal Pulled 4m1s kubelet, kind-control-plane Successfully pulled image "yugabytedb/yugabyte:latest"
Normal Created 4m1s kubelet, kind-control-plane Created container yb-tserver
Normal Started 4m1s kubelet, kind-control-plane Started container yb-tserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment