# Creation of Keyspaces while deploying ScyllaDB on k8s?

**URL:** <https://forum.scylladb.com/t/creation-of-keyspaces-while-deploying-scylladb-on-k8s/1329>\
**Category:** ScyllaDB\
**Tags:** kubernetes\
**Created:** [February 23, 2024, 11:47am UTC](https://forum.scylladb.com/t/creation-of-keyspaces-while-deploying-scylladb-on-k8s/1329 "2024-02-23T11:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikhil](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/nikhil/32/512_2.png) [@Nikhil](https://forum.scylladb.com/u/Nikhil)\
**Post date:** [February 23, 2024, 11:47am UTC](https://forum.scylladb.com/t/creation-of-keyspaces-while-deploying-scylladb-on-k8s/1329/1 "2024-02-23T11:47:22Z")

</div>

I was going through the steps of deploying scyllaDB on kubernetes and I successfully deployed it on k8s. Now, I want to automate the creation of keyspaces in database (if not possible, create some presumed keyspaces. Is there any way that It can be done while deploying database on k8s?

---

<div class="post-metadata">

**Author:** ![Kacper\_Rzetelski](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/kacper_rzetelski/32/695_2.png) [@Kacper\_Rzetelski](https://forum.scylladb.com/u/Kacper_Rzetelski)\
**Post date:** [March 7, 2024, 11:12am UTC](https://forum.scylladb.com/t/creation-of-keyspaces-while-deploying-scylladb-on-k8s/1329/2 "2024-03-07T11:12:31Z")

</div>

At this point you should follow the same steps you’d use with a regular ScyllaDB deployment, we don’t automate keyspace creation any further.

You’ll find `kubectl exec` helpful for running cqlsh on your ScyllaDB nodes.
