Skip to content

Instantly share code, notes, and snippets.

#
# 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
@Arnav15
Arnav15 / tservers.yaml
Created June 25, 2019 20:30
YAML for a deployment set of the tserver app in YB
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: server1
namespace: yugabyte
labels:
app: yb-tserver
spec:
replicas: 1
template:
@Arnav15
Arnav15 / masters.yaml
Last active June 25, 2019 20:33
YAML for a deployment set of the master app in YB
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: master1
namespace: yugabyte
labels:
app: yb-master
server: master1
spec:
replicas: 1
@Arnav15
Arnav15 / keybase.md
Last active September 17, 2018 19:48
Keybase Cred

Keybase proof

I hereby claim:

  • I am arnav15 on github.
  • I am arnav_yb (https://keybase.io/arnav_yb) on keybase.
  • I have a public key ASCmOKR84rMuTlIh-O9HxNXWYA5yGjWd2V4su16dNR-USgo

To claim this, I am signing this object: