Skip to content

Conversation

@ewoutp
Copy link
Contributor

@ewoutp ewoutp commented May 28, 2018

This PR contains fixes needed to deploy ArangoDB on OpenShift.
Tested on minishift v1.17.0+f974f0c.

Note that in order to make it work, also a patched version of the ArangoDB image is needed.
A Dockerfile as below is known to work.

FROM arangodb/arangodb-preview:3.3
RUN chgrp 0 /var/lib/arangodb3 && chmod 775 /var/lib/arangodb3
RUN chgrp 0 /var/lib/arangodb3-apps && chmod 775 /var/lib/arangodb3-apps

These changes are patched into newly released arangodb images.

// Pod cannot be fetched, ensure it is created
args := []string{
"--server.authentication=false",
fmt.Sprintf("--server.endpoint=tcp://[::]:%d", k8sutil.ArangoPort),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this imply that the connection will never be ssl? and never use authentication?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the ID pod : Yes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ID pod is run very quickly to fetch version information for a given image name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will never be accessible from outside, nor will it store any data or live longer than a few seconds

@ewoutp ewoutp merged commit bf880c1 into master Jun 1, 2018
@ewoutp ewoutp deleted the bugfix/openshift branch June 1, 2018 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants