# istio_resource_annotations.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: resource
spec:
  replicas: 7
  selector:
    matchLabels:
      app: resource
  template:
    metadata:
      annotations:
        sidecar.istio.io/proxyCPU: "100m"
        sidecar.istio.io/proxyCPULimit: "1000m"
        sidecar.istio.io/proxyMemory: "1Gi"
        sidecar.istio.io/proxyMemoryLimit: "2Gi"
      labels:
        app: resource
    spec:
      containers:
      - name: resource
        image: "fake.docker.io/google-samples/traffic-go-gke:1.0"
        ports:
        - name: http
          containerPort: 80