title: How to use sqlite3 database with Django on Kuberenets pod
body: <p>I am having one python-django project which consist of sqlite3 database, I am deploying it on Kubernetes pod, wanted to know how to access the sqlite3 database, once I deploy the app on Kubernetes. Generally If I was using postgres or mysql, I would have created another pod and then expose my services, not sure for sqlite3 database. How to access it and use the database, or I have to create a new pod for sqlite3?</p>
  <p>Dockerfile for my Django app:</p>
  <pre><code>FROM python:3.4
  
  RUN apt-get update \
      &amp;&amp; apt-get install -y --no-install-recommends \
          sqlite3 \
      &amp;&amp; rm -rf /var/lib/apt/lists/*
  
  WORKDIR /usr/src/app
  COPY requirements.txt ./
  RUN pip install -r requirements.txt
  COPY . .
  
  EXPOSE 8000
  CMD [&quot;python&quot;, &quot;manage.py&quot;, &quot;runserver&quot;, &quot;0.0.0.0:8000&quot;]  
  
  </code></pre>