# Keycloak as Wildfly adapter running on Kubernetes?

**URL:** <https://forum.keycloak.org/t/keycloak-as-wildfly-adapter-running-on-kubernetes/5245>\
**Category:** Miscellanaeous\
**Created:** [October 8, 2020, 11:05am UTC](https://forum.keycloak.org/t/keycloak-as-wildfly-adapter-running-on-kubernetes/5245 "2020-10-08T11:05:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathanvila](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/jonathanvila/32/1481_2.png) [@jonathanvila](https://forum.keycloak.org/u/jonathanvila)\
**Post date:** [October 8, 2020, 11:05am UTC](https://forum.keycloak.org/t/keycloak-as-wildfly-adapter-running-on-kubernetes/5245/1 "2020-10-08T11:05:51Z")

</div>

Hi, our project ( RH MTA / Windup ) is using the EAP Openshift image and installing keycloak inside.  
When I run the pod in Kubernetes ( minikube ) it fails because it tries to reach “routes” endpoint in the API.

/apis/route.openshift.io/v1/namespaces/{namespace}/routes

And obviously this resource doesn’t exist on K8s.

My colleague Ken Wills pointed me also to this code : [https://github.com/wildfly/wildfly-cekit-modules/blob/master/jboss/container/wildfly/launch/keycloak/added/keycloak.sh#L1067](https://github.com/wildfly/wildfly-cekit-modules/blob/master/jboss/container/wildfly/launch/keycloak/added/keycloak.sh#L1067)
