Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
6a47aee3
Commit
6a47aee3
authored
1 year ago
by
Konstantinos Poulakakis
Browse files
Options
Downloads
Patches
Plain Diff
refactor: regenerate kubernetes.yml file for grpc port.
parent
9fcc34bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!235
Release TeraFlowSDN 3.0
,
!209
Resolve "(UBI) Upgrade ZTP Quarkus to v.3"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ztp/target/kubernetes/kubernetes.yml
+22
-15
22 additions, 15 deletions
src/ztp/target/kubernetes/kubernetes.yml
with
22 additions
and
15 deletions
src/ztp/target/kubernetes/kubernetes.yml
+
22
−
15
View file @
6a47aee3
...
@@ -3,8 +3,8 @@ apiVersion: v1
...
@@ -3,8 +3,8 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
annotations
:
annotations
:
app.quarkus.io/commit-id
:
9
2c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083
app.quarkus.io/commit-id
:
9
fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756
app.quarkus.io/build-timestamp
:
2024-02-1
4
- 1
2:45:13
+0000
app.quarkus.io/build-timestamp
:
2024-02-1
5
- 1
1:02:55
+0000
prometheus.io/scrape
:
"
true"
prometheus.io/scrape
:
"
true"
prometheus.io/path
:
/q/metrics
prometheus.io/path
:
/q/metrics
prometheus.io/port
:
"
8080"
prometheus.io/port
:
"
8080"
...
@@ -17,14 +17,18 @@ metadata:
...
@@ -17,14 +17,18 @@ metadata:
name
:
ztpservice
name
:
ztpservice
spec
:
spec
:
ports
:
ports
:
-
name
:
http
port
:
9192
protocol
:
TCP
targetPort
:
8080
-
name
:
https
-
name
:
https
port
:
443
port
:
443
protocol
:
TCP
protocol
:
TCP
targetPort
:
8443
targetPort
:
8443
-
name
:
grpc
port
:
5050
protocol
:
TCP
targetPort
:
5050
-
name
:
http
port
:
9192
protocol
:
TCP
targetPort
:
8080
selector
:
selector
:
app.kubernetes.io/name
:
ztpservice
app.kubernetes.io/name
:
ztpservice
type
:
ClusterIP
type
:
ClusterIP
...
@@ -33,8 +37,8 @@ apiVersion: apps/v1
...
@@ -33,8 +37,8 @@ apiVersion: apps/v1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
annotations
:
annotations
:
app.quarkus.io/commit-id
:
9
2c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083
app.quarkus.io/commit-id
:
9
fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756
app.quarkus.io/build-timestamp
:
2024-02-1
4
- 1
2:45:13
+0000
app.quarkus.io/build-timestamp
:
2024-02-1
5
- 1
1:02:55
+0000
prometheus.io/scrape
:
"
true"
prometheus.io/scrape
:
"
true"
prometheus.io/path
:
/q/metrics
prometheus.io/path
:
/q/metrics
prometheus.io/port
:
"
8080"
prometheus.io/port
:
"
8080"
...
@@ -53,8 +57,8 @@ spec:
...
@@ -53,8 +57,8 @@ spec:
template
:
template
:
metadata
:
metadata
:
annotations
:
annotations
:
app.quarkus.io/commit-id
:
9
2c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083
app.quarkus.io/commit-id
:
9
fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756
app.quarkus.io/build-timestamp
:
2024-02-1
4
- 1
2:45:13
+0000
app.quarkus.io/build-timestamp
:
2024-02-1
5
- 1
1:02:55
+0000
prometheus.io/scrape
:
"
true"
prometheus.io/scrape
:
"
true"
prometheus.io/path
:
/q/metrics
prometheus.io/path
:
/q/metrics
prometheus.io/port
:
"
8080"
prometheus.io/port
:
"
8080"
...
@@ -71,10 +75,10 @@ spec:
...
@@ -71,10 +75,10 @@ spec:
valueFrom
:
valueFrom
:
fieldRef
:
fieldRef
:
fieldPath
:
metadata.namespace
fieldPath
:
metadata.namespace
-
name
:
DEVICE_SERVICE_HOST
value
:
deviceservice
-
name
:
CONTEXT_SERVICE_HOST
-
name
:
CONTEXT_SERVICE_HOST
value
:
contextservice
value
:
contextservice
-
name
:
DEVICE_SERVICE_HOST
value
:
deviceservice
image
:
labs.etsi.org:5050/tfs/controller/ztp:0.2.0
image
:
labs.etsi.org:5050/tfs/controller/ztp:0.2.0
imagePullPolicy
:
Always
imagePullPolicy
:
Always
livenessProbe
:
livenessProbe
:
...
@@ -89,12 +93,15 @@ spec:
...
@@ -89,12 +93,15 @@ spec:
timeoutSeconds
:
10
timeoutSeconds
:
10
name
:
ztpservice
name
:
ztpservice
ports
:
ports
:
-
containerPort
:
8080
name
:
http
protocol
:
TCP
-
containerPort
:
8443
-
containerPort
:
8443
name
:
https
name
:
https
protocol
:
TCP
protocol
:
TCP
-
containerPort
:
5050
name
:
grpc
protocol
:
TCP
-
containerPort
:
8080
name
:
http
protocol
:
TCP
readinessProbe
:
readinessProbe
:
failureThreshold
:
3
failureThreshold
:
3
httpGet
:
httpGet
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment