Loading manifests/automationservice.yaml→manifests/ztpservice.yaml +14 −14 Original line number Original line Diff line number Diff line Loading @@ -19,9 +19,9 @@ metadata: annotations: annotations: app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 labels: labels: app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice app: automationservice app: ztpservice name: automationservice name: ztpservice spec: spec: ports: ports: - name: grpc - name: grpc Loading @@ -32,7 +32,7 @@ spec: port: 9192 port: 9192 targetPort: 8080 targetPort: 8080 selector: selector: app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice type: ClusterIP type: ClusterIP --- --- apiVersion: apps/v1 apiVersion: apps/v1 Loading @@ -41,21 +41,21 @@ metadata: annotations: annotations: app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 labels: labels: app: automationservice app: ztpservice app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice name: automationservice name: ztpservice spec: spec: replicas: 1 replicas: 1 selector: selector: matchLabels: matchLabels: app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice template: template: metadata: metadata: annotations: annotations: app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 labels: labels: app: automationservice app: ztpservice app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice spec: spec: containers: containers: - env: - env: Loading @@ -67,7 +67,7 @@ spec: value: contextservice value: contextservice - name: DEVICE_SERVICE_HOST - name: DEVICE_SERVICE_HOST value: deviceservice value: deviceservice image: labs.etsi.org:5050/tfs/controller/automation:0.2.0 image: labs.etsi.org:5050/tfs/controller/ztp:0.2.0 imagePullPolicy: Always imagePullPolicy: Always livenessProbe: livenessProbe: failureThreshold: 3 failureThreshold: 3 Loading @@ -79,7 +79,7 @@ spec: periodSeconds: 10 periodSeconds: 10 successThreshold: 1 successThreshold: 1 timeoutSeconds: 10 timeoutSeconds: 10 name: automationservice name: ztpservice ports: ports: - containerPort: 5050 - containerPort: 5050 name: grpc name: grpc Loading Loading @@ -108,12 +108,12 @@ spec: apiVersion: autoscaling/v2 apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler metadata: metadata: name: automationservice-hpa name: ztpservice-hpa spec: spec: scaleTargetRef: scaleTargetRef: apiVersion: apps/v1 apiVersion: apps/v1 kind: Deployment kind: Deployment name: automationservice name: ztpservice minReplicas: 1 minReplicas: 1 maxReplicas: 10 maxReplicas: 10 metrics: metrics: Loading src/ztp/target/kubernetes/kubernetes.yml +6 −6 Original line number Original line Diff line number Diff line Loading @@ -3,8 +3,8 @@ apiVersion: v1 kind: Service kind: Service metadata: metadata: annotations: annotations: app.quarkus.io/commit-id: 17d40a0ca26855b14e5fc1828af157235dcd3ce1 app.quarkus.io/commit-id: 9d36a29ba5ef1fb46f7b51a5c477bdc4410ba548 app.quarkus.io/build-timestamp: 2023-11-08 - 11:12:54 +0000 app.quarkus.io/build-timestamp: 2023-11-08 - 11:15:43 +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" Loading @@ -29,8 +29,8 @@ apiVersion: apps/v1 kind: Deployment kind: Deployment metadata: metadata: annotations: annotations: app.quarkus.io/commit-id: 17d40a0ca26855b14e5fc1828af157235dcd3ce1 app.quarkus.io/commit-id: 9d36a29ba5ef1fb46f7b51a5c477bdc4410ba548 app.quarkus.io/build-timestamp: 2023-11-08 - 11:12:54 +0000 app.quarkus.io/build-timestamp: 2023-11-08 - 11:15:43 +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" Loading @@ -47,8 +47,8 @@ spec: template: template: metadata: metadata: annotations: annotations: app.quarkus.io/commit-id: 17d40a0ca26855b14e5fc1828af157235dcd3ce1 app.quarkus.io/commit-id: 9d36a29ba5ef1fb46f7b51a5c477bdc4410ba548 app.quarkus.io/build-timestamp: 2023-11-08 - 11:12:54 +0000 app.quarkus.io/build-timestamp: 2023-11-08 - 11:15:43 +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" Loading Loading
manifests/automationservice.yaml→manifests/ztpservice.yaml +14 −14 Original line number Original line Diff line number Diff line Loading @@ -19,9 +19,9 @@ metadata: annotations: annotations: app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 labels: labels: app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice app: automationservice app: ztpservice name: automationservice name: ztpservice spec: spec: ports: ports: - name: grpc - name: grpc Loading @@ -32,7 +32,7 @@ spec: port: 9192 port: 9192 targetPort: 8080 targetPort: 8080 selector: selector: app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice type: ClusterIP type: ClusterIP --- --- apiVersion: apps/v1 apiVersion: apps/v1 Loading @@ -41,21 +41,21 @@ metadata: annotations: annotations: app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 labels: labels: app: automationservice app: ztpservice app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice name: automationservice name: ztpservice spec: spec: replicas: 1 replicas: 1 selector: selector: matchLabels: matchLabels: app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice template: template: metadata: metadata: annotations: annotations: app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 app.quarkus.io/build-timestamp: 2022-09-19 - 10:48:18 +0000 labels: labels: app: automationservice app: ztpservice app.kubernetes.io/name: automationservice app.kubernetes.io/name: ztpservice spec: spec: containers: containers: - env: - env: Loading @@ -67,7 +67,7 @@ spec: value: contextservice value: contextservice - name: DEVICE_SERVICE_HOST - name: DEVICE_SERVICE_HOST value: deviceservice value: deviceservice image: labs.etsi.org:5050/tfs/controller/automation:0.2.0 image: labs.etsi.org:5050/tfs/controller/ztp:0.2.0 imagePullPolicy: Always imagePullPolicy: Always livenessProbe: livenessProbe: failureThreshold: 3 failureThreshold: 3 Loading @@ -79,7 +79,7 @@ spec: periodSeconds: 10 periodSeconds: 10 successThreshold: 1 successThreshold: 1 timeoutSeconds: 10 timeoutSeconds: 10 name: automationservice name: ztpservice ports: ports: - containerPort: 5050 - containerPort: 5050 name: grpc name: grpc Loading Loading @@ -108,12 +108,12 @@ spec: apiVersion: autoscaling/v2 apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler metadata: metadata: name: automationservice-hpa name: ztpservice-hpa spec: spec: scaleTargetRef: scaleTargetRef: apiVersion: apps/v1 apiVersion: apps/v1 kind: Deployment kind: Deployment name: automationservice name: ztpservice minReplicas: 1 minReplicas: 1 maxReplicas: 10 maxReplicas: 10 metrics: metrics: Loading
src/ztp/target/kubernetes/kubernetes.yml +6 −6 Original line number Original line Diff line number Diff line Loading @@ -3,8 +3,8 @@ apiVersion: v1 kind: Service kind: Service metadata: metadata: annotations: annotations: app.quarkus.io/commit-id: 17d40a0ca26855b14e5fc1828af157235dcd3ce1 app.quarkus.io/commit-id: 9d36a29ba5ef1fb46f7b51a5c477bdc4410ba548 app.quarkus.io/build-timestamp: 2023-11-08 - 11:12:54 +0000 app.quarkus.io/build-timestamp: 2023-11-08 - 11:15:43 +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" Loading @@ -29,8 +29,8 @@ apiVersion: apps/v1 kind: Deployment kind: Deployment metadata: metadata: annotations: annotations: app.quarkus.io/commit-id: 17d40a0ca26855b14e5fc1828af157235dcd3ce1 app.quarkus.io/commit-id: 9d36a29ba5ef1fb46f7b51a5c477bdc4410ba548 app.quarkus.io/build-timestamp: 2023-11-08 - 11:12:54 +0000 app.quarkus.io/build-timestamp: 2023-11-08 - 11:15:43 +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" Loading @@ -47,8 +47,8 @@ spec: template: template: metadata: metadata: annotations: annotations: app.quarkus.io/commit-id: 17d40a0ca26855b14e5fc1828af157235dcd3ce1 app.quarkus.io/commit-id: 9d36a29ba5ef1fb46f7b51a5c477bdc4410ba548 app.quarkus.io/build-timestamp: 2023-11-08 - 11:12:54 +0000 app.quarkus.io/build-timestamp: 2023-11-08 - 11:15:43 +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" Loading