github.com/replicatedcom/ship@v0.50.0/integration/init/istio/expected/base/charts/mixer/templates/Deployment-istio-telemetry.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: istio-telemetry
     5    namespace: default
     6    labels:
     7      app: mixer
     8      chart: mixer
     9      heritage: Tiller
    10      release: istio
    11      istio: mixer
    12  spec:
    13    replicas: 1
    14    template:
    15      metadata:
    16        labels:
    17          app: mixer
    18          chart: mixer
    19          heritage: Tiller
    20          release: istio
    21          version: 1.1.0
    22          istio: mixer
    23          istio-mixer-type: telemetry
    24        annotations:
    25          sidecar.istio.io/inject: "false"
    26          scheduler.alpha.kubernetes.io/critical-pod: ""
    27      spec:
    28        serviceAccountName: istio-mixer-service-account
    29        volumes:
    30        - name: istio-certs
    31          secret:
    32            secretName: istio.istio-mixer-service-account
    33            optional: true
    34        - name: uds-socket
    35          emptyDir: {}
    36        containers:
    37        - name: mixer
    38          image: "gcr.io/istio-release/mixer:master-latest-daily"
    39          imagePullPolicy: IfNotPresent
    40          ports:
    41          - containerPort: 9093
    42          - containerPort: 42422
    43          args:
    44            - --address
    45            - unix:///sock/mixer.socket
    46            - --configStoreURL=k8s://
    47            - --configDefaultNamespace=default
    48            - --trace_zipkin_url=http://zipkin:9411/api/v1/spans
    49          env:
    50          - name: GODEBUG
    51            value: "gctrace=2"
    52          resources:
    53            requests:
    54              cpu: 10m
    55            
    56          volumeMounts:
    57          - name: uds-socket
    58            mountPath: /sock
    59          livenessProbe:
    60            httpGet:
    61              path: /version
    62              port: 9093
    63            initialDelaySeconds: 5
    64            periodSeconds: 5
    65        - name: istio-proxy
    66          image: "gcr.io/istio-release/proxyv2:master-latest-daily"
    67          imagePullPolicy: IfNotPresent
    68          ports:
    69          - containerPort: 9091
    70          - containerPort: 15004
    71  
    72          ports:
    73          - containerPort: 15090
    74            protocol: TCP
    75            name: http-envoy-prom
    76  
    77          args:
    78          - proxy
    79          - --serviceCluster
    80          - istio-telemetry
    81          - --templateFile
    82          - /etc/istio/proxy/envoy_telemetry.yaml.tmpl
    83          - --controlPlaneAuthPolicy
    84          - NONE
    85          env:
    86          - name: POD_NAME
    87            valueFrom:
    88              fieldRef:
    89                apiVersion: v1
    90                fieldPath: metadata.name
    91          - name: POD_NAMESPACE
    92            valueFrom:
    93              fieldRef:
    94                apiVersion: v1
    95                fieldPath: metadata.namespace
    96          - name: INSTANCE_IP
    97            valueFrom:
    98              fieldRef:
    99                apiVersion: v1
   100                fieldPath: status.podIP
   101          resources:
   102            requests:
   103              cpu: 10m
   104            
   105          volumeMounts:
   106          - name: istio-certs
   107            mountPath: /etc/certs
   108            readOnly: true
   109          - name: uds-socket
   110            mountPath: /sock
   111  
   112  ---