| apiVersion: v1 |
| kind: Service |
| metadata: |
| labels: |
| app: envoy-skia-org |
| name: envoy-skia-org |
| annotations: |
| beta.cloud.google.com/backend-config: '{"ports": {"8000":"skia-default-backendconfig"}}' |
| spec: |
| ports: |
| - name: http |
| port: 8000 |
| selector: |
| app: envoy-skia-org |
| type: NodePort |
| --- |
| apiVersion: apps/v1beta1 |
| kind: Deployment |
| metadata: |
| name: envoy-skia-org |
| spec: |
| replicas: 2 |
| strategy: |
| type: RollingUpdate |
| template: |
| metadata: |
| labels: |
| app: envoy-skia-org |
| annotations: |
| prometheus.io.scrape: "true" |
| prometheus.io.port: "9000" |
| prometheus.io.path: "/stats/prometheus" |
| spec: |
| automountServiceAccountToken: false |
| containers: |
| - name: envoy-skia-org |
| image: gcr.io/skia-public/envoy-skia-org:2019-10-07T14_56_20Z-jcgregorio-4f440cf-clean |
| args: |
| - --config-path /etc/envoy/computed.json |
| ports: |
| - containerPort: 8000 |
| - containerPort: 9000 |
| resources: |
| requests: |
| memory: "200Mi" |
| cpu: "150m" |
| readinessProbe: |
| httpGet: |
| path: / |
| port: 8000 |
| initialDelaySeconds: 1 |
| periodSeconds: 3 |