[Aerogear-users] Problems deplying aerogear in kubernetes with wildfly eap

Victor Silva vfbsilva at gmail.com
Fri Jun 23 15:24:08 EDT 2017


Folks I'm trying to deploy aerogear on Kubernetes. I'm using the wildfly
image from: https://hub.docker.com/r/aerogear/unifiedpush-wildfly/

As I have my databases outside of Kubernetes I've built  the image as
described here:

docker build -t aerogear/unifiedpush-wildfly .


With the following dockerfile:
https://hub.docker.com/r/aerogear/unifiedpush-wildfly/~/dockerfile/

Unfortunately the dockerfile seems to point to an invalid tarball:
RUN curl -L -o /opt/aerogear-unifiedpush-server-$UPSVER-dist.tar.gz
https://github.com/aerogear/aerogear-unifiedpush-server/releases/download/
$UPSVER/aerogear-unifiedpush-server-$UPSVER-dist.tar.gz

So I went to:
https://github.com/aerogear/aerogear-unifiedpush-server/releases/
And got:
https://github.com/aerogear/aerogear-unifiedpush-server/
releases/download/1.2.0-beta.1/aerogear-unifiedpush-server-
1.2.0-beta.1-dist.tar.gz

Then tried to deploy the wars getting a ton of errors:
https://pastebin.com/G89f3EpM

It seems that among other problems a mysql is being deployed on my server
which makes no sense as I've provided the variables in standalone.xml:

<connection-url>jdbc:mysql://${env.UNIFIEDPUSH_PORT_3306_
TCP_ADDR}:${env.UNIFIEDPUSH_PORT_3306_TCP_PORT}/${env.UNIFIEDPUSH_ENV_MYSQL_
DATABASE}?useUnicode=true&amp;characterEncoding=UTF-8</connection-url>
<user-name>${env.UNIFIEDPUSH_ENV_MYSQL_USER}</user-name>
<password>${env.UNIFIEDPUSH_ENV_MYSQL_PASSWORD}</password>
<connection-url>jdbc:mysql://${env.KEYCLOAK_PORT_3306_TCP_
ADDR}:${env.KEYCLOAK_PORT_3306_TCP_PORT}/${env.KEYCLOAK_ENV_MYSQL_DATABASE}?
useUnicode=true&amp;characterEncoding=UTF-8</connection-url>
<user-name>${env.KEYCLOAK_ENV_MYSQL_USER}</user-name>
<password>${env.KEYCLOAK_ENV_MYSQL_PASSWORD}</password>
<core-environment>
</core-environment>
<recovery-environment socket-binding="txn-recovery-environment"
status-socket-binding="txn-status-manager"/>
<socket-binding name="txn-recovery-environment" port="4712"/>


I'm not sure if the case is related to:

https://issues.jboss.org/projects/AGPUSH/issues/AGPUSH-
2117?filter=allopenissues

Anyone had success deploying in kubernetes?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170623/51595c47/attachment.html 


More information about the Aerogear-users mailing list