# Aerospike in kubernetes

**URL:** <https://discuss.aerospike.com/t/aerospike-in-kubernetes/8047>\
**Category:** General Discussion\
**Tags:** aql\
**Created:** [December 1, 2020, 9:23am UTC](https://discuss.aerospike.com/t/aerospike-in-kubernetes/8047 "2020-12-01T09:23:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![omer1](https://avatars.discourse-cdn.com/v4/letter/o/94ad74/32.png) [@omer1](https://discuss.aerospike.com/u/omer1)\
**Post date:** [December 1, 2020, 9:23am UTC](https://discuss.aerospike.com/t/aerospike-in-kubernetes/8047/1 "2020-12-01T09:23:19Z")

</div>

I am using aerospike in kubernetes. I have aerospike pods running, and want to enter them with aql.

in docker I have managed like this: `docker exec -ti aerospike aql --no-config-file` How is this done in kubernetes?

---

<div class="post-metadata">

**Author:** ![meher](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/meher/32/1644_2.png) [@meher](https://discuss.aerospike.com/u/meher)\
**Post date:** [December 8, 2020, 12:20am UTC](https://discuss.aerospike.com/t/aerospike-in-kubernetes/8047/2 "2020-12-08T00:20:41Z")

</div>

I am not a kubernetes expert, but it seems (per this document on [Get a Shell to a Running Container](https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/)), the following would be the command to try:

`kubectl exec -it pod/aerospike -c aerospike — aql`

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/system/32/2274_2.png) [@system](https://discuss.aerospike.com/u/system)\
**Post date:** [March 2, 2021, 7:11am UTC](https://discuss.aerospike.com/t/aerospike-in-kubernetes/8047/4 "2021-03-02T07:11:01Z")

</div>

This topic was automatically closed 84 days after the last reply. New replies are no longer allowed.
