github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/prow/cluster/starter.yaml (about) 1 # This file contains Kubernetes YAML files for the most important prow 2 # components. Don't edit resources in this file. Instead, pull them out into 3 # their own files. 4 --- 5 apiVersion: v1 6 kind: ConfigMap 7 metadata: 8 name: plugins 9 data: 10 plugins: 11 --- 12 apiVersion: v1 13 kind: ConfigMap 14 metadata: 15 name: config 16 data: 17 config: | 18 periodics: 19 - interval: 10m 20 agent: kubernetes 21 name: echo-test 22 spec: 23 containers: 24 - image: alpine 25 command: ["/bin/date"] 26 --- 27 apiVersion: extensions/v1beta1 28 kind: ThirdPartyResource 29 metadata: 30 name: prow-job.prow.k8s.io 31 versions: 32 - name: v1 33 --- 34 apiVersion: extensions/v1beta1 35 kind: Deployment 36 metadata: 37 name: hook 38 labels: 39 app: hook 40 spec: 41 replicas: 2 42 strategy: 43 type: RollingUpdate 44 rollingUpdate: 45 maxSurge: 1 46 maxUnavailable: 1 47 template: 48 metadata: 49 labels: 50 app: hook 51 spec: 52 terminationGracePeriodSeconds: 180 53 containers: 54 - name: hook 55 image: gcr.io/k8s-prow/hook:0.170 56 imagePullPolicy: Always 57 args: 58 - --dry-run=false 59 ports: 60 - name: http 61 containerPort: 8888 62 volumeMounts: 63 - name: hmac 64 mountPath: /etc/webhook 65 readOnly: true 66 - name: oauth 67 mountPath: /etc/github 68 readOnly: true 69 - name: config 70 mountPath: /etc/config 71 readOnly: true 72 - name: plugins 73 mountPath: /etc/plugins 74 readOnly: true 75 volumes: 76 - name: hmac 77 secret: 78 secretName: hmac-token 79 - name: oauth 80 secret: 81 secretName: oauth-token 82 - name: config 83 configMap: 84 name: config 85 - name: plugins 86 configMap: 87 name: plugins 88 --- 89 apiVersion: v1 90 kind: Service 91 metadata: 92 name: hook 93 spec: 94 selector: 95 app: hook 96 ports: 97 - port: 8888 98 type: NodePort 99 --- 100 apiVersion: extensions/v1beta1 101 kind: Deployment 102 metadata: 103 name: plank 104 labels: 105 app: plank 106 spec: 107 replicas: 1 # Do not scale up. 108 template: 109 metadata: 110 labels: 111 app: plank 112 spec: 113 containers: 114 - name: plank 115 image: gcr.io/k8s-prow/plank:0.49 116 args: 117 - --dry-run=false 118 volumeMounts: 119 - name: oauth 120 mountPath: /etc/github 121 readOnly: true 122 - name: config 123 mountPath: /etc/config 124 readOnly: true 125 volumes: 126 - name: oauth 127 secret: 128 secretName: oauth-token 129 - name: config 130 configMap: 131 name: config 132 --- 133 apiVersion: extensions/v1beta1 134 kind: Deployment 135 metadata: 136 name: sinker 137 labels: 138 app: sinker 139 spec: 140 replicas: 1 141 template: 142 metadata: 143 labels: 144 app: sinker 145 spec: 146 containers: 147 - name: sinker 148 image: gcr.io/k8s-prow/sinker:0.21 149 volumeMounts: 150 - name: config 151 mountPath: /etc/config 152 readOnly: true 153 volumes: 154 - name: config 155 configMap: 156 name: config 157 --- 158 apiVersion: extensions/v1beta1 159 kind: Deployment 160 metadata: 161 name: deck 162 labels: 163 app: deck 164 spec: 165 replicas: 2 166 strategy: 167 type: RollingUpdate 168 rollingUpdate: 169 maxSurge: 1 170 maxUnavailable: 1 171 template: 172 metadata: 173 labels: 174 app: deck 175 spec: 176 terminationGracePeriodSeconds: 30 177 containers: 178 - name: deck 179 image: gcr.io/k8s-prow/deck:0.52 180 ports: 181 - name: http 182 containerPort: 8080 183 volumeMounts: 184 - name: config 185 mountPath: /etc/config 186 readOnly: true 187 volumes: 188 - name: config 189 configMap: 190 name: config 191 --- 192 apiVersion: v1 193 kind: Service 194 metadata: 195 name: deck 196 spec: 197 selector: 198 app: deck 199 ports: 200 - port: 80 201 targetPort: 8080 202 type: NodePort 203 --- 204 apiVersion: extensions/v1beta1 205 kind: Deployment 206 metadata: 207 name: horologium 208 labels: 209 app: horologium 210 spec: 211 replicas: 1 212 template: 213 metadata: 214 labels: 215 app: horologium 216 spec: 217 terminationGracePeriodSeconds: 30 218 containers: 219 - name: horologium 220 image: gcr.io/k8s-prow/horologium:0.8 221 volumeMounts: 222 - name: config 223 mountPath: /etc/config 224 readOnly: true 225 volumes: 226 - name: config 227 configMap: 228 name: config 229 --- 230 apiVersion: extensions/v1beta1 231 kind: Ingress 232 metadata: 233 name: ing 234 spec: 235 rules: 236 - http: 237 paths: 238 - path: /* 239 backend: 240 serviceName: deck 241 servicePort: 80 242 - path: /hook 243 backend: 244 serviceName: hook 245 servicePort: 8888