k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/prow/cluster/horologium_deployment.yaml (about) 1 # Copyright 2017 The Kubernetes Authors All rights reserved. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 apiVersion: apps/v1 16 kind: Deployment 17 metadata: 18 namespace: default 19 name: horologium 20 labels: 21 app: horologium 22 spec: 23 replicas: 1 # Do not scale up. 24 strategy: 25 type: Recreate 26 selector: 27 matchLabels: 28 app: horologium 29 template: 30 metadata: 31 labels: 32 app: horologium 33 spec: 34 serviceAccountName: horologium 35 terminationGracePeriodSeconds: 30 36 containers: 37 - name: horologium 38 image: gcr.io/k8s-prow/horologium:v20240517-ea10bd814 39 args: 40 - --config-path=/etc/config/config.yaml 41 - --job-config-path=/etc/job-config 42 - --dry-run=false 43 ports: 44 - name: metrics 45 containerPort: 9090 46 volumeMounts: 47 - name: config 48 mountPath: /etc/config 49 readOnly: true 50 - name: job-config 51 mountPath: /etc/job-config 52 readOnly: true 53 volumes: 54 - name: config 55 configMap: 56 name: config 57 - name: job-config 58 configMap: 59 name: job-config