<p>I have a micro-services based JHipster app and have generated a Kubernetes deployment script using the <code>kubernetes</code> sub-generator.</p>

<p>I have deployed the app to Azure AKS and have it running smoothly. The current profile it is running with is 'prod'. How can I change the active profile the 'dev' in order to view swagger documentation?</p>

Omtara
<p>I managed to get the swagger API functional by adding swagger to the <code>SPRING_PROFILES_ACTIVE</code> environment variable for all containers' deployment file.</p>

<pre><code>spec:
  ...
  containers:
    - name: core-app
      image: myrepo.azurecr.io/core
      env:
        - name: SPRING_PROFILES_ACTIVE
          value: prod,swagger
</code></pre>
