Check Spring Profiles in Rancher

Check Spring Profiles in Rancher

Spring profiles can be used to toggle behaviors in a spring app. If your app is running in a container in Rancher (Kubernetes) you may need to see what spring profiles are being applied. To check what spring profiles a service is running in Rancher:

  • Click Workload in the navigation bar -> Pods
  • Search for your service and click on it
  • Click related resources
  • Click configMap
  • Scroll to SPRING_PROFILES_ACTIVE