istio.io/istio@v0.0.0-20240520182934-d79c90f27776/operator/cmd/mesh/testdata/manifest-generate/input/pilot_k8s_settings.yaml (about)

     1  apiVersion: install.istio.io/v1alpha1
     2  kind: IstioOperator
     3  spec:
     4    profile: empty
     5    hub: docker.io/istio
     6    tag: 1.1.4
     7    meshConfig:
     8      rootNamespace: istio-control
     9    components:
    10      pilot:
    11        enabled: true
    12        namespace: istio-control
    13        k8s:
    14          env:
    15            - name: POD_NAME
    16              valueFrom:
    17                fieldRef:
    18                  apiVersion: v1
    19                  fieldPath: new.path
    20            - name: GODEBUG
    21              value: gctrace=111
    22            - name: NEW_VAR
    23              value: new_value
    24          hpaSpec:
    25            maxReplicas: 333
    26            scaleTargetRef:
    27              name: istio-pilot
    28            metrics:
    29              - type: Resource
    30                resource:
    31                  name: cpu
    32                  target:
    33                    type: Utilization
    34                    averageUtilization: 444
    35              - type: Resource
    36                resource:
    37                  name: memory
    38                  target:
    39                    type: Utilization
    40                    averageUtilization: 444
    41          readinessProbe:
    42            httpGet:
    43              path: /ready
    44              port: 8080
    45            initialDelaySeconds: 555
    46          resources:
    47            requests:
    48              memory: 999Mi
    49          nodeSelector:
    50            master: "true"
    51