github.com/replicatedcom/ship@v0.50.0/integration/init/istio/expected/base/charts/pilot/templates/deployment.yaml (about)

     1  ---
     2  # Source: istio/charts/pilot/templates/deployment.yaml
     3  apiVersion: extensions/v1beta1
     4  kind: Deployment
     5  metadata:
     6    name: istio-pilot
     7    namespace: default
     8    # TODO: default template doesn't have this, which one is right ?
     9    labels:
    10      app: pilot
    11      chart: pilot
    12      heritage: Tiller
    13      release: istio
    14      istio: pilot
    15    annotations:
    16      checksum/config-volume: f8da08b6b8c170dde721efd680270b2901e750d4aa186ebb6c22bef5b78a43f9
    17  spec:
    18    replicas: 1
    19    template:
    20      metadata:
    21        labels:
    22          app: pilot
    23          chart: pilot
    24          heritage: Tiller
    25          release: istio
    26          version: 1.1.0
    27          istio: pilot
    28        annotations:
    29          sidecar.istio.io/inject: "false"
    30          scheduler.alpha.kubernetes.io/critical-pod: ""
    31      spec:
    32        serviceAccountName: istio-pilot-service-account
    33        containers:
    34          - name: discovery
    35            image: "gcr.io/istio-release/pilot:master-latest-daily"
    36            imagePullPolicy: IfNotPresent
    37            args:
    38            - "discovery"
    39            ports:
    40            - containerPort: 8080
    41            - containerPort: 15010
    42            readinessProbe:
    43              httpGet:
    44                path: /ready
    45                port: 8080
    46              initialDelaySeconds: 5
    47              periodSeconds: 30
    48              timeoutSeconds: 5
    49            env:
    50            - name: POD_NAME
    51              valueFrom:
    52                fieldRef:
    53                  apiVersion: v1
    54                  fieldPath: metadata.name
    55            - name: POD_NAMESPACE
    56              valueFrom:
    57                fieldRef:
    58                  apiVersion: v1
    59                  fieldPath: metadata.namespace
    60            - name: PILOT_CACHE_SQUASH
    61              value: "5"
    62            - name: GODEBUG
    63              value: "gctrace=2"
    64            - name: PILOT_PUSH_THROTTLE_COUNT
    65              value: "100"
    66            - name: PILOT_TRACE_SAMPLING
    67              value: "100"
    68            resources:
    69              requests:
    70                cpu: 500m
    71                memory: 2048Mi
    72              
    73            volumeMounts:
    74            - name: config-volume
    75              mountPath: /etc/istio/config
    76            - name: istio-certs
    77              mountPath: /etc/certs
    78              readOnly: true
    79          - name: istio-proxy
    80            image: "gcr.io/istio-release/proxyv2:master-latest-daily"
    81            imagePullPolicy: IfNotPresent
    82            ports:
    83            - containerPort: 15003
    84            - containerPort: 15005
    85            - containerPort: 15007
    86            - containerPort: 15011
    87            args:
    88            - proxy
    89            - --serviceCluster
    90            - istio-pilot
    91            - --templateFile
    92            - /etc/istio/proxy/envoy_pilot.yaml.tmpl
    93            - --controlPlaneAuthPolicy
    94            - NONE
    95            env:
    96            - name: POD_NAME
    97              valueFrom:
    98                fieldRef:
    99                  apiVersion: v1
   100                  fieldPath: metadata.name
   101            - name: POD_NAMESPACE
   102              valueFrom:
   103                fieldRef:
   104                  apiVersion: v1
   105                  fieldPath: metadata.namespace
   106            - name: INSTANCE_IP
   107              valueFrom:
   108                fieldRef:
   109                  apiVersion: v1
   110                  fieldPath: status.podIP
   111            resources:
   112              requests:
   113                cpu: 10m
   114              
   115            volumeMounts:
   116            - name: istio-certs
   117              mountPath: /etc/certs
   118              readOnly: true
   119        volumes:
   120        - name: config-volume
   121          configMap:
   122            name: istio
   123        - name: istio-certs
   124          secret:
   125            secretName: istio.istio-pilot-service-account
   126            optional: true
   127        affinity:      
   128          nodeAffinity:
   129            requiredDuringSchedulingIgnoredDuringExecution:
   130              nodeSelectorTerms:
   131              - matchExpressions:
   132                - key: beta.kubernetes.io/arch
   133                  operator: In
   134                  values:
   135                  - amd64
   136                  - ppc64le
   137                  - s390x
   138            preferredDuringSchedulingIgnoredDuringExecution:
   139            - weight: 2
   140              preference:
   141                matchExpressions:
   142                - key: beta.kubernetes.io/arch
   143                  operator: In
   144                  values:
   145                  - amd64
   146            - weight: 2
   147              preference:
   148                matchExpressions:
   149                - key: beta.kubernetes.io/arch
   150                  operator: In
   151                  values:
   152                  - ppc64le
   153            - weight: 2
   154              preference:
   155                matchExpressions:
   156                - key: beta.kubernetes.io/arch
   157                  operator: In
   158                  values:
   159                  - s390x