{"id":3560,"date":"2018-05-30T17:15:21","date_gmt":"2018-05-30T14:15:21","guid":{"rendered":"https:\/\/www.systemcodegeeks.com\/?p=3560"},"modified":"2018-05-30T13:43:40","modified_gmt":"2018-05-30T10:43:40","slug":"cockroachdb-cloud-native-sql-kubernetes","status":"publish","type":"post","link":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/","title":{"rendered":"CockroachDB: A cloud native SQL database in Kubernetes"},"content":{"rendered":"<p><b><a href=\"https:\/\/www.cockroachlabs.com\/\">CockroachDB 2.0<\/a><\/b> has just been released. For those who don&#8217;t know what it is, it can be summarized as a SQL database for the cloud era. One of the best things about <b>CockroachDB<\/b> is that it automatically scales, rebalances and repairs itself without sacrificing the SQL language. Moreover, <b>Cockroach<\/b> implements ACID transactions,\u00a0 so your data is always in a known state.<\/p>\n<p>In this post, I am going to explain how to install it in\u00a0Kubernetes\/OpenShift, insert some data and validate that it has been replicated in all nodes. In next post, I am going to show you how to use it with Spring Boot + JPA.<\/p>\n<p>The first thing you need to have is a Kubernetes\/OpenShift cluster to be used. You can use Minikube or Minishift for this purpose. In my case, I am using Minishift but I will provide equivalent commands for Minikube.<\/p>\n<p>After having everything installed, you need to launch the <b>Cockroach<\/b> cluster.<a href=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/running-cockroachdb-on-kubernetes.png\"><img decoding=\"async\" class=\"aligncenter wp-image-3562 size-full\" src=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/running-cockroachdb-on-kubernetes.png\" alt=\"CockroachDB cloud native SQL database Kubernetes logo\" width=\"529\" height=\"236\" srcset=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/running-cockroachdb-on-kubernetes.png 529w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/running-cockroachdb-on-kubernetes-300x134.png 300w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/a><\/p>\n<p>In case of <b>Kubernetes<\/b>:<\/p>\n<pre class=\"brush:bash\">kubectl\u00a0create -f https:\/\/raw.githubusercontent.com\/cockroachdb\/cockroach\/master\/cloud\/kubernetes\/cockroachdb-statefulset.yaml<\/pre>\n<p>In case of <b>OpenShift<\/b>:<\/p>\n<pre class=\"brush:bash\">oc apply -f https:\/\/raw.githubusercontent.com\/cockroachdb\/cockroach\/master\/cloud\/kubernetes\/cockroachdb-statefulset.yaml<\/pre>\n<p>Then you need to initialize the cluster:<\/p>\n<p>In case of <b>Kubernetes<\/b>:<\/p>\n<pre class=\"brush:bash\">kubectl create -f\u00a0https:\/\/raw.githubusercontent.com\/cockroachdb\/cockroach\/master\/cloud\/kubernetes\/cluster-init.yaml<\/pre>\n<p>In case of <b>OpenShift<\/b>:<\/p>\n<pre class=\"brush:bash\">oc apply -f https:\/\/raw.githubusercontent.com\/cockroachdb\/cockroach\/master\/cloud\/kubernetes\/cluster-init.yaml<\/pre>\n<p>Then let&#8217;s configure the cluster so we can access the admin UI:<\/p>\n<p>In case of <b>Kubernetes<\/b>:<\/p>\n<pre class=\"brush:bash\">kubectl port-forward cockroachdb-0 8080<\/pre>\n<p>In case of <b>OpenShift<\/b>:<\/p>\n<pre class=\"brush:bash\">oc expose svc\u00a0 cockroachdb-public --port=8080 --name=r1<\/pre>\n<p>Now let&#8217;s create a database and a table and see how it is replicated across all the cluster easily.<br \/>\n<b>Cockroach<\/b> comes with a service that offers a load-balanced virtual IP for clients to access the database.<\/p>\n<p>In case of <b>Kubernetes<\/b>:<\/p>\n<pre class=\"brush:bash\">kubectl run cockroachdb -it --image=cockroachdb\/cockroach --rm --restart=Never -- sql --insecure --host=cockroachdb-public<\/pre>\n<p>In case of <b>OpenShift<\/b>:<\/p>\n<pre class=\"brush:bash\">oc run cockroachdb -it --image=cockroachdb\/cockroach --rm --restart=Never\u00a0 \u00a0 \u00a0-- sql --insecure --host=cockroachdb-public<\/pre>\n<p>And finally in the opened console just type some <i>SQL<\/i> calls:<\/p>\n<pre class=\"brush:sql\">create database games;\r\nuse games;\r\ncreate table game (id int, title varchar(30));\r\ninsert into game values (1, 'The Secret of Monkey Island');<\/pre>\n<p>So far, we have a new database, table, and entry in <b>CockroachDB<\/b>. Open admin UI, push <i>Databases<\/i> and you&#8217;ll see something like this:<\/p>\n<p><a href=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-3564 size-full\" src=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/2.png\" alt=\"CockroachDB cloud native SQL database Kubernetes adminUI\" width=\"640\" height=\"177\" srcset=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/2.png 640w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/2-300x83.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>You can see that the database and the table have been created. Now let&#8217;s see how we can know that everything has been replicated correctly. Push Overview and you&#8217;ll see something like:<\/p>\n<p><a href=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/3.png\"><img decoding=\"async\" class=\"aligncenter wp-image-3565 size-full\" src=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/3.png\" alt=\"CockroachDB cloud native SQL database Kubernetes overview live nodes\" width=\"640\" height=\"148\" srcset=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/3.png 640w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/3-300x69.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>So pay attention to <i>Replicas<\/i> column. In all nodes, the number is exactly the same number, this means that all data in the cluster has been replicated X times.<\/p>\n<p>Now let&#8217;s increase by one the number of replicas and just refresh the page to see that the new node initially has not the same replica count.<\/p>\n<p>In case of <b>Kubernetes<\/b>:<\/p>\n<pre class=\"brush:bash\">kubectl scale statefulset cockroachdb --replicas=4<\/pre>\n<p>In case of <b>OpenShift<\/b>:<\/p>\n<pre class=\"brush:bash\">oc scale statefulset cockroachdb --replicas=4<\/pre>\n<p><a href=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/4.png\"><img decoding=\"async\" class=\"aligncenter wp-image-3566 size-full\" src=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/4.png\" alt=\"CockroachDB cloud native SQL database Kubernetes adminUI overview live nodes\" width=\"640\" height=\"148\" srcset=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/4.png 640w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2018\/05\/4-300x69.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Another thing you can do is to just enter each container and validate that when connecting to localhost, the inserted data is there.<\/p>\n<p>In case of <b>Kubernetes<\/b>:<\/p>\n<pre class=\"brush:bash\">kubectl exec -it cockroachdb-0 \/bin\/bash<\/pre>\n<p>In case of <b>OpenShift<\/b>:<\/p>\n<pre class=\"brush:bash\">oc exec -it cockroachdb-0 \/bin\/bash<\/pre>\n<p>Then inside the container just run:<\/p>\n<pre class=\"brush:bash\">.\/cockroach dump games --insecure<\/pre>\n<p>And you will see that CLI connects by default to the current node (localhost) and dumps the content of <i>games<\/i> db.<\/p>\n<p>Repeat the same with other nodes <i>cockroachdb-1 <\/i>and <i>cockroachdb-2<\/i>\u00a0and you should see exactly the same.<\/p>\n<p>So as you can see, it is really easy to use SQL in scale way thanks to <b>Cockroach DB<\/b>. In next post, we are going to see how to integrate Spring Boot + JPA with <b>Cockroach DB<\/b>, and deploying it into Kubernetes.<\/p>\n<p>We keep learning,<\/p>\n<p>Alex<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>Published on System Code Geeks with permission by Alex Soto, partner at our <a href=\"\/\/www.systemcodegeeks.com\/join-us\/scg\/\" target=\"_blank\" rel=\"noopener\">SCG program<\/a>. See the original article here: <a href=\"http:\/\/www.lordofthejars.com\/2018\/05\/cockroachdb-cloud-native-sql-database.html\" target=\"_blank\" rel=\"noopener\">CockroachDB. A cloud native SQL database in Kubernetes.<\/a><\/p>\n<p>Opinions expressed by System Code Geeks contributors are their own.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CockroachDB 2.0 has just been released. For those who don&#8217;t know what it is, it can be summarized as a SQL database for the cloud era. One of the best things about CockroachDB is that it automatically scales, rebalances and repairs itself without sacrificing the SQL language. Moreover, Cockroach implements ACID transactions,\u00a0 so your data &hellip;<\/p>\n","protected":false},"author":1904,"featured_media":188,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[152,145,136],"class_list":["post-3560","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-cockroachdb","tag-kubernetes","tag-openshift"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CockroachDB: A cloud native SQL database in Kubernetes - System Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"&quot;Interested to learn more about CockroachDB 2.0? Then check out our article about this new cloud native SQL database in Kubernetes!&quot;\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CockroachDB: A cloud native SQL database in Kubernetes - System Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"&quot;Interested to learn more about CockroachDB 2.0? Then check out our article about this new cloud native SQL database in Kubernetes!&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\" \/>\n<meta property=\"og:site_name\" content=\"System Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/systemcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-30T14:15:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alex Soto\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/alexsotob\" \/>\n<meta name=\"twitter:site\" content=\"@systemcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alex Soto\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\"},\"author\":{\"name\":\"Alex Soto\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/47a7843fa4548003aace0dfdf6d775b3\"},\"headline\":\"CockroachDB: A cloud native SQL database in Kubernetes\",\"datePublished\":\"2018-05-30T14:15:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\"},\"wordCount\":544,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg\",\"keywords\":[\"cockroachdb\",\"Kubernetes\",\"OpenShift\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\",\"url\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\",\"name\":\"CockroachDB: A cloud native SQL database in Kubernetes - System Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg\",\"datePublished\":\"2018-05-30T14:15:21+00:00\",\"description\":\"\\\"Interested to learn more about CockroachDB 2.0? Then check out our article about this new cloud native SQL database in Kubernetes!\\\"\",\"breadcrumb\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage\",\"url\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg\",\"contentUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.systemcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DevOps\",\"item\":\"https:\/\/www.systemcodegeeks.com\/category\/devops\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CockroachDB: A cloud native SQL database in Kubernetes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#website\",\"url\":\"https:\/\/www.systemcodegeeks.com\/\",\"name\":\"System Code Geeks\",\"description\":\"Operating System Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.systemcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.systemcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/systemcodegeeks\",\"https:\/\/x.com\/systemcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/47a7843fa4548003aace0dfdf6d775b3\",\"name\":\"Alex Soto\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc3a211b790033d32fee33bb321b7bb6e2d381dab14531d3f2e8df9885bca7f9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc3a211b790033d32fee33bb321b7bb6e2d381dab14531d3f2e8df9885bca7f9?s=96&d=mm&r=g\",\"caption\":\"Alex Soto\"},\"sameAs\":[\"http:\/\/www.lordofthejars.com\/\",\"https:\/\/x.com\/http:\/\/twitter.com\/alexsotob\"],\"url\":\"https:\/\/www.systemcodegeeks.com\/author\/alex-soto\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CockroachDB: A cloud native SQL database in Kubernetes - System Code Geeks - 2026","description":"\"Interested to learn more about CockroachDB 2.0? Then check out our article about this new cloud native SQL database in Kubernetes!\"","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/","og_locale":"en_US","og_type":"article","og_title":"CockroachDB: A cloud native SQL database in Kubernetes - System Code Geeks - 2026","og_description":"\"Interested to learn more about CockroachDB 2.0? Then check out our article about this new cloud native SQL database in Kubernetes!\"","og_url":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/","og_site_name":"System Code Geeks","article_publisher":"https:\/\/www.facebook.com\/systemcodegeeks","article_published_time":"2018-05-30T14:15:21+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg","type":"image\/jpeg"}],"author":"Alex Soto","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/alexsotob","twitter_site":"@systemcodegeeks","twitter_misc":{"Written by":"Alex Soto","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#article","isPartOf":{"@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/"},"author":{"name":"Alex Soto","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/47a7843fa4548003aace0dfdf6d775b3"},"headline":"CockroachDB: A cloud native SQL database in Kubernetes","datePublished":"2018-05-30T14:15:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/"},"wordCount":544,"commentCount":0,"publisher":{"@id":"https:\/\/www.systemcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg","keywords":["cockroachdb","Kubernetes","OpenShift"],"articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/","url":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/","name":"CockroachDB: A cloud native SQL database in Kubernetes - System Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.systemcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage"},"image":{"@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg","datePublished":"2018-05-30T14:15:21+00:00","description":"\"Interested to learn more about CockroachDB 2.0? Then check out our article about this new cloud native SQL database in Kubernetes!\"","breadcrumb":{"@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#primaryimage","url":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg","contentUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/devops-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.systemcodegeeks.com\/devops\/cockroachdb-cloud-native-sql-kubernetes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.systemcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"DevOps","item":"https:\/\/www.systemcodegeeks.com\/category\/devops\/"},{"@type":"ListItem","position":3,"name":"CockroachDB: A cloud native SQL database in Kubernetes"}]},{"@type":"WebSite","@id":"https:\/\/www.systemcodegeeks.com\/#website","url":"https:\/\/www.systemcodegeeks.com\/","name":"System Code Geeks","description":"Operating System Developers Resource Center","publisher":{"@id":"https:\/\/www.systemcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.systemcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.systemcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.systemcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/systemcodegeeks","https:\/\/x.com\/systemcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/47a7843fa4548003aace0dfdf6d775b3","name":"Alex Soto","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc3a211b790033d32fee33bb321b7bb6e2d381dab14531d3f2e8df9885bca7f9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc3a211b790033d32fee33bb321b7bb6e2d381dab14531d3f2e8df9885bca7f9?s=96&d=mm&r=g","caption":"Alex Soto"},"sameAs":["http:\/\/www.lordofthejars.com\/","https:\/\/x.com\/http:\/\/twitter.com\/alexsotob"],"url":"https:\/\/www.systemcodegeeks.com\/author\/alex-soto\/"}]}},"_links":{"self":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/posts\/3560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/users\/1904"}],"replies":[{"embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/comments?post=3560"}],"version-history":[{"count":0,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/posts\/3560\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/media\/188"}],"wp:attachment":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/media?parent=3560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/categories?post=3560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/tags?post=3560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}