github.com/GoogleCloudPlatform/testgrid@v0.0.174/cluster/prod/api.yaml (about) 1 --- 2 apiVersion: apps/v1 3 kind: Deployment 4 metadata: 5 name: testgrid-api 6 namespace: testgrid 7 labels: 8 app: testgrid 9 channel: stable 10 component: api 11 spec: 12 replicas: 1 13 selector: 14 matchLabels: 15 app: testgrid 16 channel: stable 17 component: api 18 template: 19 metadata: 20 labels: 21 app: testgrid 22 channel: stable 23 component: api 24 spec: 25 serviceAccountName: api 26 containers: 27 - name: api 28 image: gcr.io/k8s-testgrid/api:v20230707-v0.0.163-27-g43be86eb 29 args: 30 - --allowed-origin=* 31 - --scope=gs://k8s-testgrid 32 - --port=8080 33 --- 34 apiVersion: v1 35 kind: ServiceAccount 36 metadata: 37 annotations: 38 iam.gke.io/gcp-service-account: testgrid-api@k8s-testgrid.iam.gserviceaccount.com 39 name: api 40 namespace: testgrid 41 --- 42 apiVersion: v1 43 kind: Service 44 metadata: 45 name: api 46 namespace: testgrid 47 spec: 48 type: NodePort 49 selector: 50 app: testgrid 51 component: api 52 ports: 53 - protocol: TCP 54 port: 80 55 targetPort: 8080 56 --- 57 apiVersion: networking.k8s.io/v1 58 kind: Ingress 59 metadata: 60 name: testgrid-api-ingress 61 namespace: testgrid 62 annotations: 63 kubernetes.io/ingress.class: "gce" 64 spec: 65 rules: 66 - http: 67 paths: 68 - path: /* 69 pathType: ImplementationSpecific 70 backend: 71 service: 72 name: api 73 port: 74 number: 80