<p>Is there a way to run the docker-compose app identically on k8s?</p>
<p>Currently the content of my docker-compose.yml file is as follows:</p>
<pre class="lang-yaml prettyprint-override"><code>version: &quot;3&quot;
services:
  registry:
    restart: always
    image: registry:2
    ports:
      - 5000:5000
    environment:
      REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt
      REGISTRY_HTTP_TLS_KEY: /certs/domain.key
      REGISTRY_AUTH: htpasswd
      REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
      REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
    volumes:
      - /home/app/docker/test/data:/var/lib/registry
      - /home/app/docker/test/certs:/certs
      - /home/app/docker/test/auth:/auth
  nginx:
    container_name: &quot;nginx&quot;
    build:
      context: ./nginx
      dockerfile: Dockerfile
    ports:
      - '80:80'
    depends_on:
      - node
  node:
    container_name: &quot;node&quot;
    build:
      context: ./web
      dockerfile: Dockerfile
    volumes:
      - ./volumes/index.html:/usr/src/node/index.html
    expose:
      - &quot;3000&quot;
</code></pre>
<p>Can you change this to work with k8s?</p>

potato
<p>Try Kompose(<a href="https://github.com/kubernetes/kompose" rel="nofollow noreferrer">github</a>)</p>
<pre><code>kompose convert -f docker-compose.yaml
</code></pre>
