Commit b28903a authored Feb 18, 2025 · 1 / 1 · Verified
1 parent 89724a2 commit b28903a Copy full SHA for b28903a
File tree 10 files changed +277
-0
lines changed
install/processors/graph-processors
10 files changed +277
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : jalapeno-api
5
+ namespace : jalapeno
6
+ spec :
7
+ replicas : 1
8
+ selector :
9
+ matchLabels :
10
+ app : jalapeno-api
11
+ template :
12
+ metadata :
13
+ labels :
14
+ app : jalapeno-api
15
+ spec :
16
+ containers :
17
+ - name : api
18
+ image : iejalapeno/jalapeno-api:latest
19
+ imagePullPolicy : Always
20
+ env :
21
+ - name : JALAPENO_DATABASE_SERVER
22
+ value : " http://arangodb:8529"
23
+ - name : JALAPENO_DATABASE_NAME
24
+ value : " jalapeno"
25
+ resources :
26
+ requests :
27
+ memory : " 256Mi"
28
+ cpu : " 200m"
29
+ limits :
30
+ memory : " 512Mi"
31
+ cpu : " 500m"
32
+ livenessProbe :
33
+ httpGet :
34
+ path : /health
35
+ port : 8000
36
+ initialDelaySeconds : 30
37
+ readinessProbe :
38
+ httpGet :
39
+ path : /health
40
+ port : 8000
41
+ volumeMounts :
42
+ - name : credentials
43
+ mountPath : /credentials
44
+ ports :
45
+ - containerPort : 8000
46
+ volumes :
47
+ - name : credentials
48
+ secret :
49
+ secretName : jalapeno
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : jalapeno-api
5
+ namespace : jalapeno
6
+ spec :
7
+ type : NodePort
8
+ selector :
9
+ app : jalapeno-api
10
+ ports :
11
+ - port : 80
12
+ targetPort : 8000
13
+ nodePort : 30800
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ kubectl apply -f igp-graph.yaml
4
+ echo " Waiting for 10 seconds for igp-graph to be ready"
5
+ sleep 10
6
+ kubectl apply -f ipv4-graph.yaml
7
+ kubectl apply -f ipv6-graph.yaml
8
+ kubectl apply -f srv6-localsids.yaml
9
+ kubectl apply -f api-deployment.yaml
10
+ kubectl apply -f api-svc.yaml
11
+ kubectl apply -f ui-deployment.yaml
12
+ kubectl apply -f ui-svc.yaml
13
+
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ kubectl delete -f igp-graph.yaml
4
+ kubectl delete -f ipv4-graph.yaml
5
+ kubectl delete -f ipv6-graph.yaml
6
+ kubectl delete -f srv6-localsids.yaml
7
+ kubectl delete -f ui-deployment.yaml
8
+ kubectl delete -f api-deployment.yaml
9
+ kubectl delete -f ui-svc.yaml
10
+ kubectl delete -f api-svc.yaml
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ spec :
5
+ replicas : 1
6
+ selector :
7
+ matchLabels :
8
+ app : igp-graph
9
+ template :
10
+ metadata :
11
+ labels :
12
+ app : igp-graph
13
+ spec :
14
+ containers :
15
+ - args :
16
+ - --v
17
+ - " 5"
18
+ - --message-server
19
+ - " broker.jalapeno:9092"
20
+ - --database-server
21
+ - " http://arangodb.jalapeno:8529"
22
+ - --database-name
23
+ - " jalapeno"
24
+ image : docker.io/iejalapeno/igp-graph:latest
25
+ imagePullPolicy : Always
26
+ name : igp-graph
27
+ volumeMounts :
28
+ - name : credentials
29
+ mountPath : /credentials
30
+ volumes :
31
+ - name : credentials
32
+ secret :
33
+ secretName : jalapeno
34
+ metadata :
35
+ name : igp-graph
36
+ namespace : jalapeno
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ spec :
5
+ replicas : 1
6
+ selector :
7
+ matchLabels :
8
+ app : ipv4-graph
9
+ template :
10
+ metadata :
11
+ labels :
12
+ app : ipv4-graph
13
+ spec :
14
+ containers :
15
+ - args :
16
+ - --v
17
+ - " 5"
18
+ - --message-server
19
+ - " broker.jalapeno:9092"
20
+ - --database-server
21
+ - " http://arangodb:8529"
22
+ - --database-name
23
+ - " jalapeno"
24
+ image : docker.io/iejalapeno/ipv4-graph:latest
25
+ imagePullPolicy : Always
26
+ name : ipv4-graph
27
+ volumeMounts :
28
+ - name : credentials
29
+ mountPath : /credentials
30
+ volumes :
31
+ - name : credentials
32
+ secret :
33
+ secretName : jalapeno
34
+ metadata :
35
+ name : ipv4-graph
36
+ namespace : jalapeno
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ spec :
5
+ replicas : 1
6
+ selector :
7
+ matchLabels :
8
+ app : ipv6-graph
9
+ template :
10
+ metadata :
11
+ labels :
12
+ app : ipv6-graph
13
+ spec :
14
+ containers :
15
+ - args :
16
+ - --v
17
+ - " 5"
18
+ - --message-server
19
+ - " broker.jalapeno:9092"
20
+ - --database-server
21
+ - " http://arangodb:8529"
22
+ - --database-name
23
+ - " jalapeno"
24
+ image : docker.io/iejalapeno/ipv6-graph:latest
25
+ imagePullPolicy : Always
26
+ name : ipv6-graph
27
+ volumeMounts :
28
+ - name : credentials
29
+ mountPath : /credentials
30
+ volumes :
31
+ - name : credentials
32
+ secret :
33
+ secretName : jalapeno
34
+ metadata :
35
+ name : ipv6-graph
36
+ namespace : jalapeno
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ namespace : jalapeno
5
+ name : srv6-localsids
6
+ labels :
7
+ app : srv6-localsids
8
+ spec :
9
+ replicas : 1
10
+ selector :
11
+ matchLabels :
12
+ app : srv6-localsids
13
+ template :
14
+ metadata :
15
+ labels :
16
+ app : srv6-localsids
17
+ spec :
18
+ containers :
19
+ - name : srv6-localsids
20
+ image : iejalapeno/srv6-localsids:latest
21
+ imagePullPolicy : IfNotPresent
22
+ env :
23
+ - name : PYTHONUNBUFFERED
24
+ value : " 1"
25
+ imagePullSecrets :
26
+ - name : regcred
27
+
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : jalapeno-ui
5
+ namespace : jalapeno
6
+ labels :
7
+ app : jalapeno-ui
8
+ spec :
9
+ replicas : 1
10
+ selector :
11
+ matchLabels :
12
+ app : jalapeno-ui
13
+ template :
14
+ metadata :
15
+ labels :
16
+ app : jalapeno-ui
17
+ spec :
18
+ containers :
19
+ - name : jalapeno-ui
20
+ image : iejalapeno/jalapeno-ui:latest
21
+ imagePullPolicy : Always
22
+ ports :
23
+ - containerPort : 80
24
+ env :
25
+ - name : REACT_APP_API_URL
26
+ value : " http://jalapeno-api:80"
27
+ livenessProbe :
28
+ httpGet :
29
+ path : /
30
+ port : 80
31
+ initialDelaySeconds : 10
32
+ periodSeconds : 10
33
+ readinessProbe :
34
+ httpGet :
35
+ path : /
36
+ port : 80
37
+ initialDelaySeconds : 5
38
+ periodSeconds : 5
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : jalapeno-ui
5
+ namespace : jalapeno
6
+ labels :
7
+ app : jalapeno-ui
8
+ annotations :
9
+ service.kubernetes.io/description : " Jalapeno UI service exposed on NodePort 30700"
10
+ spec :
11
+ type : NodePort
12
+ ports :
13
+ - port : 80
14
+ targetPort : 80
15
+ nodePort : 30700
16
+ protocol : TCP
17
+ name : http
18
+ selector :
19
+ app : jalapeno-ui
You can’t perform that action at this time.
0 commit comments