Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes/kubernetes 1 #520

Open
wants to merge 149 commits into
base: integration/pg
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 142 commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
fe3bcf2
initial
hasitha1990 May 8, 2020
1b23f3b
initial
hasitha1990 May 8, 2020
05558f7
add k8s client dependency
hasitha1990 May 18, 2020
0df742a
Merge pull request #1 from hasitha1990/feature/k8s-dependency
hasitha1990 May 18, 2020
53dfad1
add editorconfig style
hasitha1990 May 21, 2020
ce6703f
Merge pull request #3 from hasitha1990/feature/k8s-dependency
hasitha1990 May 21, 2020
c3ce564
add yaml format
hasitha1990 May 24, 2020
0462789
convert docker-compose files to kubernetes manifest files
hasitha1990 May 24, 2020
a64f48b
Converted Docker Composed File to Kubernetes Resources
Spathak2209 May 24, 2020
08263f2
Merge remote-tracking branch 'origin/feature/k8s-dependency' into fea…
Spathak2209 May 24, 2020
d6cec83
Kubernetes Client API. Retrieve number of nodes and cluster info
May 24, 2020
727c568
Kubernetes Client API. Retrieve number of nodes and cluster info
May 24, 2020
dfb64aa
Merge remote-tracking branch 'origin/feature/k8s-dependency' into fea…
May 24, 2020
02fd40d
Kubernetes Client API. Retrieve number of nodes and cluster info
May 24, 2020
8f6f1b2
Check if node with label name "label" exists
May 24, 2020
8c87fc9
Check if node with label name "label" exists
May 24, 2020
33bc033
Check if node with label name "label" exists
May 24, 2020
0ef4f39
Check if node with label name "label" exists
May 24, 2020
0431c53
Cluster health check
oniyide May 25, 2020
f056394
Cluster health check
oniyide May 25, 2020
c8e0385
Kubernetes fabric8 utility class. Manage default namespace, configura…
Jun 1, 2020
d79db58
Kubernetes fabric8 Service Manager implementation
sujayjadhav93 Jun 1, 2020
675287c
Kubernetes fabric8 Service Manager retrieve and delete services
Spathak2209 Jun 1, 2020
418d173
Kubernetes fabric8 Pods Manager - getPods, create and replace pods, d…
oniyide Jun 1, 2020
bd688e2
Kubernetes fabric8 Pods Manager - getPods, create and replace pods, d…
sujayjadhav93 Jun 1, 2020
7a729e5
Kubernetes fabric8 Pods Manager - upload file to pod
Spathak2209 Jun 2, 2020
a35909c
Kubernetes fabric8 Pods Manager - Read file from Pod
Jun 2, 2020
d61b3b0
change kubernetes client dependency
hasitha1990 Jun 7, 2020
80886b6
Merge pull request #4 from hasitha1990/feature/fabric8-dependency
hasitha1990 Jun 7, 2020
751250e
Merge pull request #5 from hasitha1990/feature/migrate-compose
hasitha1990 Jun 7, 2020
dd6a270
remove buggy kompose files
hasitha1990 Jun 7, 2020
1013659
fix kompose files
hasitha1990 Jun 7, 2020
97c6467
remove meta data
hasitha1990 Jun 7, 2020
95e4adf
fix kompose files
hasitha1990 Jun 7, 2020
85101c7
add start support for kubernetes kompose services, deployments
hasitha1990 Jun 7, 2020
9f4630f
add ingress settings to kompose
hasitha1990 Jun 7, 2020
29a17d8
add hobbit namespace
hasitha1990 Jun 13, 2020
ec39e24
add hobbit namespace, fix namespace ip pool
Jun 13, 2020
b53e0e6
remove additional pool file, move namespaces to single file
hasitha1990 Jun 14, 2020
a7a7567
add missing kompose files
hasitha1990 Jun 14, 2020
b0b58e1
edit makefile
Jun 14, 2020
98166b1
add calico config files
Jun 14, 2020
03d9418
add kubernetes commands
hasitha1990 Jun 14, 2020
4ff4550
create ippools and related namespaces
hasitha1990 Jun 14, 2020
6797a9f
add namespace
hasitha1990 Jun 14, 2020
ff4a7e4
change makefile
hasitha1990 Jun 14, 2020
7ff34b6
linting
hasitha1990 Jun 14, 2020
c13c670
Merge branch 'feature/k8s-deployment' of https://github.com/hasitha19…
hasitha1990 Jun 14, 2020
d5c53f0
Adds test K8s Fabric8 Test cases
Spathak2209 Jun 21, 2020
00ee2b0
Adds test K8s Fabric8 Test cases
Spathak2209 Jun 21, 2020
e25b70d
Reworking PodsManager class to mirror the functionality of the Contai…
oniyide Jun 22, 2020
cf74f09
Merge remote-tracking branch 'origin/fabric8-k8s-dependency' into fab…
oniyide Jun 22, 2020
b914a16
configure calico file
hasitha1990 Jun 28, 2020
542216e
Merge branch 'feature/k8s-deployment' of github.com:hasitha1990/platf…
hasitha1990 Jun 28, 2020
7f7cffd
configure calico CNI
hasitha1990 Jun 28, 2020
b84eb3b
configure ippool
hasitha1990 Jun 28, 2020
20f6e85
Test Cases for PodManagerimpl(Partial)
Spathak2209 Jun 28, 2020
3a8d0e2
Custom Resource Definition, CNI configuration for multiple network in…
oniyide Jun 29, 2020
e283c08
Merge remote-tracking branch 'origin/fabric8-k8s-dependency' into fab…
oniyide Jun 29, 2020
3bac798
Create Deafault Net interface if not existing | check network interfaces
oniyide Jun 29, 2020
9da04ae
merge from feature/k8s-deployment
hasitha1990 Jun 29, 2020
e16075f
Merge branch 'fabric8-k8s-dependency' of https://github.com/hasitha19…
hasitha1990 Jun 29, 2020
e3a2233
remove duplicate calico yaml file, create platform controller deploym…
hasitha1990 Jul 1, 2020
47fb63f
format platform-controller.yaml
hasitha1990 Jul 1, 2020
1e4cff1
fix volume mount attributes in platform-controller.yaml
hasitha1990 Jul 1, 2020
32ab348
add ippool configuration to platform-controller.yaml
hasitha1990 Jul 1, 2020
b22aada
create gui deployment and service
hasitha1990 Jul 1, 2020
58fa48f
fix gui.yaml indentation
hasitha1990 Jul 1, 2020
27a061a
create keycloal deployment and service
hasitha1990 Jul 1, 2020
b62157a
fix keycloak.yaml indentation
hasitha1990 Jul 1, 2020
541e16c
fix keycloak.yaml volume path
hasitha1990 Jul 1, 2020
16d311e
create analysis deployment and service
hasitha1990 Jul 1, 2020
d7c403c
fix indentation of analysis.yaml
hasitha1990 Jul 1, 2020
d179205
fix analysis.yaml api version
hasitha1990 Jul 1, 2020
ae7076a
create rabbit deployment and service
hasitha1990 Jul 1, 2020
93a2e43
fix rabbit.yaml api version
hasitha1990 Jul 1, 2020
1d35bc3
create redis deployment
hasitha1990 Jul 1, 2020
61df181
fix indentation of redis.yaml
hasitha1990 Jul 1, 2020
7d6b9e8
fix server path in redis.yaml
hasitha1990 Jul 1, 2020
5f398bc
create vos deployment and service
hasitha1990 Jul 1, 2020
86c630c
fix indentation in vos.yaml
hasitha1990 Jul 1, 2020
a6849ca
fix app selector in vos service
hasitha1990 Jul 1, 2020
14b8e82
create storage-service deployment
hasitha1990 Jul 1, 2020
8d7270a
set privilage vos.yaml
hasitha1990 Jul 1, 2020
4e6ac84
fix privilage vos.yaml
hasitha1990 Jul 1, 2020
44ee987
fix privilage vos.yaml
hasitha1990 Jul 1, 2020
4917b8c
fix container permission
hasitha1990 Jul 1, 2020
55a0f9d
delete keycloak test file
hasitha1990 Jul 2, 2020
9f9db85
merge keycloak deployment and service, fix volume configurations, add…
hasitha1990 Jul 2, 2020
9c022b7
fix labels, connect to ippool, fix env variables
hasitha1990 Jul 2, 2020
b27257f
remove rabbit test file
hasitha1990 Jul 2, 2020
e885826
merge rabbit service and deployment, fix labels, connect to ippool, f…
hasitha1990 Jul 2, 2020
418915e
delete platform-controller test file
hasitha1990 Jul 2, 2020
e5b349f
connect ippool, fix labels, fix volume mount
hasitha1990 Jul 2, 2020
2c577a1
remove gui test file
hasitha1990 Jul 2, 2020
28f06f5
merge gui deployment and service, connect to ippool, fix labels, fix …
hasitha1990 Jul 2, 2020
9dcb3fb
remove redis test file
hasitha1990 Jul 2, 2020
1eafdd3
connect to ippool, fix labels, fix volume mount
hasitha1990 Jul 2, 2020
bef1d77
connect to ippool, fix labels
hasitha1990 Jul 2, 2020
c53fdd7
connect to ippool, fix labels
hasitha1990 Jul 2, 2020
4bfcfd8
remove vos test file
hasitha1990 Jul 2, 2020
42c05e2
merge vos deployment and service, connect to ippool, fix labels, fix,…
hasitha1990 Jul 2, 2020
dd87156
fix gui service api version
hasitha1990 Jul 2, 2020
f4a5b69
merge from feature/k8s-deployment
hasitha1990 Jul 2, 2020
e529be6
merge from feature/k8s-deployment
hasitha1990 Jul 2, 2020
3a29e96
Docker Swarm to Kubernetes Migration
oniyide Jul 5, 2020
9289bdd
Merge remote-tracking branch 'origin/fabric8-k8s-dependency' into fab…
oniyide Jul 5, 2020
42a1315
Resource Usage utilization
oniyide Nov 2, 2020
9396c10
Manage Resource Usage using ResourceContainerManager for k8s
oniyide Nov 14, 2020
8e54291
Manage Resource Usage using ResourceContainerManager for k8s update 2
oniyide Nov 15, 2020
0beca8b
PodsObserver Test case
sujayjadhav93 Nov 16, 2020
b2b08e8
Manage Resource Usage using ResourceContainerManager for k8s update 2
oniyide Nov 16, 2020
96d125b
Merge remote-tracking branch 'origin/fabric8-k8s-dependency' into fab…
oniyide Nov 16, 2020
1b0cc81
Single interface and implementation for Cluster management in K8s and…
oniyide Nov 22, 2020
c716a5a
ClusterManager Test case
sujayjadhav93 Nov 22, 2020
6a39c3b
Single interface and implementation for Cluster management in K8s and…
oniyide Nov 23, 2020
44e84a0
Merge remote-tracking branch 'origin/fabric8-k8s-dependency' into fab…
oniyide Nov 23, 2020
4815eb0
Single interface and implementation for Cluster management in K8s and…
oniyide Nov 30, 2020
48b7cd6
k8s Container manager implementation
oniyide Nov 30, 2020
7a6c124
Platform controller update K8sResourceInformationCollector
oniyide Dec 1, 2020
384a430
ExperimentManager
oniyide Dec 1, 2020
6ed5e44
Kubernetes Container Manager Test
oniyide Dec 14, 2020
7d57891
Kubernetes Jobs
oniyide Dec 29, 2020
c9305de
Kubernetes Jobs - update
oniyide Jan 4, 2021
1b2fbee
Deployment Jobs conflict resolve
oniyide Jan 5, 2021
9e1fc80
Clean
oniyide Jan 5, 2021
6819a6e
K8s configuration files
oniyide Jan 7, 2021
aba820a
K8s configuration files
oniyide Jan 7, 2021
1b7a276
update
oniyide Jan 7, 2021
1ee0413
Kubernetes Config files
oniyide Jan 10, 2021
7fcc246
Elastic search config
oniyide Jan 18, 2021
1c973d0
Kibana - logstash
oniyide Jan 18, 2021
0cb29d1
K8sContainerManagerImplTest update
sujayjadhav93 Jan 22, 2021
8d634ea
K8sContainerManagerImplTest update
sujayjadhav93 Jan 22, 2021
81d3e87
ClusterManagement Test cases.
Dec 6, 2020
975f4c4
start container container manager Test cases.
oniyide Jan 11, 2021
9b23236
start container container manager Test cases.
oniyide Jan 21, 2021
bbbb646
start container container manager Test cases.
dejiabiodun Jan 21, 2021
df42208
Kubernetes ResourceInformationCollector
dejiabiodun Jan 23, 2021
78cfff4
kubernetes Config files
oniyide Jan 23, 2021
04e4f90
kubernetes Config files
oniyide Jan 23, 2021
fda1a61
kubernetes Config files
oniyide Jan 23, 2021
6865e77
ELK Stack final Version
Spathak2209 Feb 9, 2021
11630c7
Kibana - logstash
oniyide Feb 9, 2021
bb75ffd
Kibana - logstash
oniyide Feb 9, 2021
aa28c80
Kubernetes update
oniyide Feb 9, 2021
b940b2d
update
oniyide Feb 9, 2021
15bd504
update
oniyide Feb 12, 2021
5893557
update
oniyide Feb 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ indent_style = space
indent_size = 2

# 2 spaces for md, yaml, ttl, etc..
[*.{md,yml,iml,json,ttl,ts,js,html,css}]
[*.{md,yml,iml,json,ttl,ts,js,html,css,yaml}]
indent_style = space
indent_size = 2
36 changes: 36 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,39 @@ lc-run:
dev:
docker-compose -f docker-compose-dev.yml build
docker-compose -f docker-compose-dev.yml -f docker-compose.override.yml up

#kubernetes configurations
#-
create-cluster:
sudo kubeadm init --pod-network-cidr=192.168.0.0/16
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe it's better to keep sudo out of Makefile? It's usually possible to just run sudo make ... instead, if required.


configure-kubectl:
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is sudo really needed here for cp? The second command just fixes the result of copying with sudo it seems.


schedule-on-master:
kubectl taint nodes --all node-role.kubernetes.io/master-

start-cni:
kubectl apply -f ./resource/calico.yaml && kubectl apply -f - <resource/calicoctl.yaml && alias calicoctl="kubectl exec -i -n kube-system calicoctl /calicoctl -- "

create-ippool:
calicoctl apply -f ./resource/pools.yaml

create-namespace:
kubectl create -f ./resource/namespaces.yaml

assign-to-ippool:
kubectl annotate namespace hobbit "cni.projectcalico.org/ipv4pools"='[“hobbit"]'
kubectl annotate namespace hobbit-core "cni.projectcalico.org/ipv4pools"='[“hobbit-core"]'
kubectl annotate namespace hobbit-service "cni.projectcalico.org/ipv4pools"='[“hobbit-service"]'

start-platform:
kubectl apply -f ./resource/kompose

start-dev-platform:
Copy link
Collaborator

Choose a reason for hiding this comment

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

There's already a target named start-dev-platform which still exists.

kubectl apply -f ./resource/kompose-dev

start-elk-platform:
kubectl apply -f ./resource/kompose-elk
75 changes: 46 additions & 29 deletions analysis-component/analysis-component.iml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.aksw:palmetto:0.1.1" level="project" />
<orderEntry type="library" name="Maven: com.carrotsearch:hppc:0.6.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-core:4.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.lucene:lucene-analyzers-common:4.4.0" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.10" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.6.5" level="project" />
<orderEntry type="library" name="Maven: nz.ac.waikato.cms.weka:weka-stable:3.8.0" level="project" />
<orderEntry type="library" name="Maven: nz.ac.waikato.cms.weka.thirdparty:java-cup-11b:2015.03.26" level="project" />
<orderEntry type="library" name="Maven: nz.ac.waikato.cms.weka.thirdparty:java-cup-11b-runtime:2015.03.26" level="project" />
Expand All @@ -33,35 +42,43 @@
<orderEntry type="library" name="Maven: net.sourceforge.f2j:arpack_combined_all:0.1" level="project" />
<orderEntry type="library" name="Maven: com.googlecode.netlib-java:netlib-java:1.1" level="project" />
<orderEntry type="library" name="Maven: com.github.fommil.netlib:core:1.1" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
<orderEntry type="library" name="Maven: org.hobbit:core:1.0.8-SNAPSHOT" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
<orderEntry type="library" name="Maven: org.hobbit:core:1.0.18" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.3.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-shaded-guava:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-arq:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.6" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.9" level="project" />
<orderEntry type="library" name="Maven: com.github.jsonld-java:jsonld-java:0.11.1" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient-cache:4.5.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.thrift:libthrift:0.10.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.25" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.7" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.15" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-log4j12:1.7.15" level="project" />
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
<orderEntry type="library" name="Maven: com.rabbitmq:amqp-client:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-core:3.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-iri:3.1.0" level="project" />
<orderEntry type="library" name="Maven: com.rabbitmq:amqp-client:4.8.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-core:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-iri:3.6.0" level="project" />
<orderEntry type="library" name="Maven: xerces:xercesImpl:2.11.0" level="project" />
<orderEntry type="library" name="Maven: xml-apis:xml-apis:1.4.01" level="project" />
<orderEntry type="library" name="Maven: commons-cli:commons-cli:1.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-base:3.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-shaded-guava:3.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-csv:1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.3.2" level="project" />
<orderEntry type="library" name="Maven: com.github.andrewoma.dexx:collection:0.6" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-tdb:3.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-arq:3.1.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.2.6" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.2.5" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.6" level="project" />
<orderEntry type="library" name="Maven: com.github.jsonld-java:jsonld-java:0.7.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.3.3" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.3.3" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.3.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient-cache:4.2.6" level="project" />
<orderEntry type="library" name="Maven: org.apache.thrift:libthrift:0.9.2" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.20" level="project" />
<orderEntry type="library" name="Maven: commons-cli:commons-cli:1.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-base:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-csv:1.5" level="project" />
<orderEntry type="library" name="Maven: com.github.andrewoma.dexx:collection:0.7" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-tdb:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-tdb2:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-dboe-trans-data:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-dboe-transaction:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-dboe-base:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-dboe-index:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-rdfconnection:3.6.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-log4j12:1.7.10" level="project" />
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.github.stefanbirkner:system-rules:1.17.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit-dep:4.10" level="project" />
</component>
</module>
</module>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this file be just deleted and ignored?

Empty file added analysis-deployment.yaml
Empty file.
30 changes: 30 additions & 0 deletions k8s-config/deployment/analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: analysis
name: analysis
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: analysis
strategy: {}
template:
metadata:
labels:
io.kompose.network/hobbit-core: "true"
io.kompose.service: analysis
spec:
nodeSelector:
node-role: system
containers:
- env:
- name: HOBBIT_RABBIT_HOST
value: 192.168.210.214:5672
image: hobbitproject/hobbit-analysis-component:latest
imagePullPolicy: "IfNotPresent"
name: analysis
resources: {}
restartPolicy: Always
serviceAccountName: ""
59 changes: 59 additions & 0 deletions k8s-config/deployment/gui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: gui
name: gui
spec:
ports:
- name: "8080"
port: 8080
targetPort: 8080
nodePort: 30007
selector:
io.kompose.service: gui
type: NodePort
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: gui
name: gui
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: gui
strategy: {}
template:
metadata:
labels:
io.kompose.network/hobbit: "true"
io.kompose.network/hobbit-core: "true"
io.kompose.service: gui
spec:
hostNetwork: true
nodeSelector:
node-role: system
containers:
- env:
- name: CHECK_REALM_URL
value: "false"
- name: ELASTICSEARCH_HOST
value: elasticsearch
- name: ELASTICSEARCH_HTTP_PORT
value: "9200"
- name: HOBBIT_RABBIT_HOST
value: 192.168.210.214
- name: KEYCLOAK_AUTH_URL
value: "http://131.234.28.241:31058/auth"
- name: KEYCLOAK_DIRECT_URL
value: "http://131.234.28.241:31058/auth"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are these IPs configured like that?

image: oluoniyide/hobbit-gui:1.0.5
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to change this before merging.

imagePullPolicy: ""
name: gui
ports:
- containerPort: 8080
resources: {}
restartPolicy: Always
61 changes: 61 additions & 0 deletions k8s-config/deployment/keycloak.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak
spec:
ports:
- name: http
port: 8080
targetPort: 8080
nodePort: 31058
selector:
app: keycloak
type: NodePort
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: keycloak
namespace: default
labels:
app: keycloak
spec:
replicas: 1
selector:
matchLabels:
app: keycloak
template:
metadata:
labels:
app: keycloak
spec:
volumes:
- name: task-pv-keycloak
persistentVolumeClaim:
claimName: keycloak-pv-claim
nodeSelector:
node-role: system
containers:
- name: keycloak
volumeMounts:
- mountPath: /opt/jboss/keycloak/standalone/data/db
name: task-pv-keycloak
image: jboss/keycloak:9.0.0
env:
- name: DB_VENDOR
value: h2
- name: KEYCLOAK_USER
value: "admin"
- name: KEYCLOAK_PASSWORD
value: "admin"
- name: PROXY_ADDRESS_FORWARDING
value: "false"
- name: JAVA_TOOLS_OPTS
value: "-Djboss.as.management.blocking.timeout=3600"
ports:
- name: http
containerPort: 8080
- name: https
containerPort: 8443
51 changes: 51 additions & 0 deletions k8s-config/deployment/platform-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: platform-controller
name: platform-controller
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: platform-controller
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.network/hobbit-core: "true"
io.kompose.service: platform-controller
spec:
nodeSelector:
node-role: benchmark
containers:
- env:
- name: DEPLOY_ENV
value: testing
- name: GITLAB_USER
value: oluoniyide
- name: GITLAB_EMAIL
value: oluoniyide@yahoo.com
- name: GITLAB_TOKEN
value: zRmVRQiodtu47Sj31Jmu
Copy link
Contributor

Choose a reason for hiding this comment

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

Please tell me that this is not your real token.... you should never upload a security token to git!!! 😱

- name: HOBBIT_RABBIT_EXPERIMENTS_HOST
value: 131.234.28.241:31060
- name: HOBBIT_RABBIT_HOST
value: 131.234.28.241:31060
- name: HOBBIT_REDIS_HOST
value: 192.168.210.211
- name: SWARM_NODE_NUMBER
value: "1"
image: oluoniyide/platformcontroller:3.2.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to change this before merging.

imagePullPolicy: ""
name: platform-controller
resources: {}
# volumeMounts:
# - mountPath: /var/run/docker.sock
# name: docker-sock
restartPolicy: Always
serviceAccountName: ""
# volumes:
# - name: docker-sock
# hostPath:
Loading