[FOLIO-2069] Deploy Okapi to K8s cluster Created: 04/Jun/19 Updated: 03/Jun/20 Resolved: 08/Jul/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Ian Hardy | Assignee: | Ian Hardy |
| Resolution: | Done | Votes: | 0 |
| Labels: | platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||||||
| Sprint: | CP: sprint 66, CP: sprint 67 | ||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||||||
| Description |
|
Add a job to Jenkins / Automation to deploy Okapi to the kubernetes cluster. Possible tools for setting up this pipeline might be kubernetes-cd or ansible.
|
| Comments |
| Comment by Ian Hardy [ 27/Jun/19 ] |
|
Added notes on deploying okapi as a cluster, and yaml templates to do deployment here: https://github.com/folio-org/folio-infrastructure/tree/folio-2069-doc/CI/doc/okapi-kubernetes Note, running the latest version of okapi 18:00:48 INFO MainVerticle Proxy using postgres storage 18:00:48 WARN InternalModule InternalModule starting okapiversion=2.31.0-SNAPSHOT 18:00:48 INFO MainVerticle Checking for working distributed lock. Cluster=true 18:00:59 ERROR MainCluster io.vertx.core.impl.NoStackTraceThrowable: getLock failed. Fix your Hazelcast configuration: https://vertx.io/docs/vertx-hazelcast/java/#_using_an_existing_hazelcast_cluster 18:00:59 INFO DeploymentManager fast shutdown The check for distributed lock was added in okapi 730, need to look into fixing the hazelcast configuration yet. |
| Comment by Ian Hardy [ 01/Jul/19 ] |
|
The above issue is solved by adjusting the hazelcast configuration according to the notes in okapi-734. |
| Comment by Ian Hardy [ 01/Jul/19 ] |
|
Opened PR https://github.com/folio-org/folio-ansible/pull/239. Need to set up ingress to complete testing. |
| Comment by Ian Hardy [ 08/Jul/19 ] |
|
merged in playbook to deploy okapi |