修改istio-proxy cpu request

apiVersion: apps/v1
kind: Deployment
metadata:
  name: hello
  namespace: test

spec:
  replicas: 1
  selector:
    matchLabels:
      app: hello
  template:
    metadata:
      labels:
        app: hello
      annotations:
        sidecar.istio.io/proxyCPU: "600m"
        sidecar.istio.io/proxyMemory: "256Mi"
    spec:
      containers:
      - name: nginx
        image: nginx:1.7.9
        ports:
        - containerPort: 80

annotations:
sidecar.istio.io/proxyCPU: “600m”
sidecar.istio.io/proxyMemory: “256Mi”
在对应deployment的yaml文件中增加annotation,注意修改的是request

参考

  • https://github.com/istio/istio/issues/16126
  • https://discuss.istio.io/t/override-istio-sidecar-proxy-cpu-mem-limits/3226/7

相关文章

istio的授权功能,也称为基于角色的访问控制(RBAC),它为i...
Errorfromserver(Forbidden):errorwhencreating"oot/is...
3.1Istio的核心组件及其功能Istio总体分两部分:控制面和数据...
在Istio中,双向TLS是传输身份验证的完整堆栈解决方案,它为...
在之前的最佳实践中,已经带大家通过一系列的实践任务领略了...
流量镜像流量镜像,也称为影子流量,流量镜像提供一种尽可能...