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