Loading src/ztp/target/kubernetes/kubernetes.yml +22 −15 Original line number Diff line number Diff line Loading @@ -3,8 +3,8 @@ apiVersion: v1 kind: Service metadata: annotations: app.quarkus.io/commit-id: 92c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083 app.quarkus.io/build-timestamp: 2024-02-14 - 12:45:13 +0000 app.quarkus.io/commit-id: 9fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756 app.quarkus.io/build-timestamp: 2024-02-15 - 11:02:55 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" Loading @@ -17,14 +17,18 @@ metadata: name: ztpservice spec: ports: - name: http port: 9192 protocol: TCP targetPort: 8080 - name: https port: 443 protocol: TCP targetPort: 8443 - name: grpc port: 5050 protocol: TCP targetPort: 5050 - name: http port: 9192 protocol: TCP targetPort: 8080 selector: app.kubernetes.io/name: ztpservice type: ClusterIP Loading @@ -33,8 +37,8 @@ apiVersion: apps/v1 kind: Deployment metadata: annotations: app.quarkus.io/commit-id: 92c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083 app.quarkus.io/build-timestamp: 2024-02-14 - 12:45:13 +0000 app.quarkus.io/commit-id: 9fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756 app.quarkus.io/build-timestamp: 2024-02-15 - 11:02:55 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" Loading @@ -53,8 +57,8 @@ spec: template: metadata: annotations: app.quarkus.io/commit-id: 92c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083 app.quarkus.io/build-timestamp: 2024-02-14 - 12:45:13 +0000 app.quarkus.io/commit-id: 9fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756 app.quarkus.io/build-timestamp: 2024-02-15 - 11:02:55 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" Loading @@ -71,10 +75,10 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - name: DEVICE_SERVICE_HOST value: deviceservice - name: CONTEXT_SERVICE_HOST value: contextservice - name: DEVICE_SERVICE_HOST value: deviceservice image: labs.etsi.org:5050/tfs/controller/ztp:0.2.0 imagePullPolicy: Always livenessProbe: Loading @@ -89,12 +93,15 @@ spec: timeoutSeconds: 10 name: ztpservice ports: - containerPort: 8080 name: http protocol: TCP - containerPort: 8443 name: https protocol: TCP - containerPort: 5050 name: grpc protocol: TCP - containerPort: 8080 name: http protocol: TCP readinessProbe: failureThreshold: 3 httpGet: Loading Loading
src/ztp/target/kubernetes/kubernetes.yml +22 −15 Original line number Diff line number Diff line Loading @@ -3,8 +3,8 @@ apiVersion: v1 kind: Service metadata: annotations: app.quarkus.io/commit-id: 92c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083 app.quarkus.io/build-timestamp: 2024-02-14 - 12:45:13 +0000 app.quarkus.io/commit-id: 9fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756 app.quarkus.io/build-timestamp: 2024-02-15 - 11:02:55 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" Loading @@ -17,14 +17,18 @@ metadata: name: ztpservice spec: ports: - name: http port: 9192 protocol: TCP targetPort: 8080 - name: https port: 443 protocol: TCP targetPort: 8443 - name: grpc port: 5050 protocol: TCP targetPort: 5050 - name: http port: 9192 protocol: TCP targetPort: 8080 selector: app.kubernetes.io/name: ztpservice type: ClusterIP Loading @@ -33,8 +37,8 @@ apiVersion: apps/v1 kind: Deployment metadata: annotations: app.quarkus.io/commit-id: 92c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083 app.quarkus.io/build-timestamp: 2024-02-14 - 12:45:13 +0000 app.quarkus.io/commit-id: 9fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756 app.quarkus.io/build-timestamp: 2024-02-15 - 11:02:55 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" Loading @@ -53,8 +57,8 @@ spec: template: metadata: annotations: app.quarkus.io/commit-id: 92c9cc249d2be0fb74fbc6a3d2d1405fbf5fb083 app.quarkus.io/build-timestamp: 2024-02-14 - 12:45:13 +0000 app.quarkus.io/commit-id: 9fcc34bb0e7806d8a5ca5f75cbf3cb9e3358d756 app.quarkus.io/build-timestamp: 2024-02-15 - 11:02:55 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" Loading @@ -71,10 +75,10 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - name: DEVICE_SERVICE_HOST value: deviceservice - name: CONTEXT_SERVICE_HOST value: contextservice - name: DEVICE_SERVICE_HOST value: deviceservice image: labs.etsi.org:5050/tfs/controller/ztp:0.2.0 imagePullPolicy: Always livenessProbe: Loading @@ -89,12 +93,15 @@ spec: timeoutSeconds: 10 name: ztpservice ports: - containerPort: 8080 name: http protocol: TCP - containerPort: 8443 name: https protocol: TCP - containerPort: 5050 name: grpc protocol: TCP - containerPort: 8080 name: http protocol: TCP readinessProbe: failureThreshold: 3 httpGet: Loading