<p>how to combine multiple images (redis+ memcache +python) into 1 single container in a pod using kubectl command .</p>

<p>do we have any other option instead of creating custom docker image with 
all required image  </p>

Ramya S
<p>Instead of this, you could run all three containers in a single Kubernetes pod, which is what I would recommend if they are tightly coupled.</p>

<p>It's a good idea to keep each container as small as it needs to be to do one thing.</p>

<p>Just add more containers to your pod spec...</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: example
spec:
  containers:
    - name: app
      image: python
      ports:
        - containerPort: 80
    - name: key-value-store
      image: redis
      ports:
        - containerPort: 6379
    - name: cache
      image: memcached
      ports:
        - containerPort: 9001
          name: or-whatever-port-memcached-uses
</code></pre>

<p>I wouldn't use a pod directly, but the same idea applies to pods created by deployments, daemonsets, etc.</p>
