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

     1  ---
     2  # Source: istio/charts/galley/templates/deployment.yaml
     3  apiVersion: extensions/v1beta1
     4  kind: Deployment
     5  metadata:
     6    name: istio-galley
     7    namespace: default
     8    labels:
     9      app: galley
    10      chart: galley
    11      heritage: Tiller
    12      release: istio
    13      istio: galley
    14  spec:
    15    replicas: 1
    16    strategy:
    17      rollingUpdate:
    18        maxSurge: 1
    19        maxUnavailable: 0
    20    template:
    21      metadata:
    22        labels:
    23          app: galley
    24          chart: galley
    25          heritage: Tiller
    26          release: istio
    27          version: 1.1.0
    28          istio: galley
    29        annotations:
    30          sidecar.istio.io/inject: "false"
    31          scheduler.alpha.kubernetes.io/critical-pod: ""
    32      spec:
    33        serviceAccountName: istio-galley-service-account
    34        containers:
    35          - name: galley
    36            image: "gcr.io/istio-release/galley:master-latest-daily"
    37            imagePullPolicy: IfNotPresent
    38            ports:
    39            - containerPort: 443
    40            - containerPort: 9093
    41            - containerPort: 9901
    42            command:
    43            - /usr/local/bin/galley
    44            - --caCertFile=/etc/istio/certs/root-cert.pem
    45            - --tlsCertFile=/etc/istio/certs/cert-chain.pem
    46            - --tlsKeyFile=/etc/istio/certs/key.pem
    47            - --livenessProbeInterval=1s
    48            - --livenessProbePath=/healthliveness
    49            - --readinessProbePath=/healthready
    50            - --readinessProbeInterval=1s
    51            - --insecure=true
    52            - --validation-webhook-config-file
    53            - /etc/istio/config/validatingwebhookconfiguration.yaml
    54            volumeMounts:
    55            - name: certs
    56              mountPath: /etc/istio/certs
    57              readOnly: true
    58            - name: config
    59              mountPath: /etc/istio/config
    60              readOnly: true
    61            livenessProbe:
    62              exec:
    63                command:
    64                  - /usr/local/bin/galley
    65                  - probe
    66                  - --probe-path=/healthliveness
    67                  - --interval=10s
    68              initialDelaySeconds: 5
    69              periodSeconds: 5
    70            readinessProbe:
    71              exec:
    72                command:
    73                  - /usr/local/bin/galley
    74                  - probe
    75                  - --probe-path=/healthready
    76                  - --interval=10s
    77              initialDelaySeconds: 5
    78              periodSeconds: 5
    79            resources:
    80              requests:
    81                cpu: 10m
    82              
    83        volumes:
    84        - name: certs
    85          secret:
    86            secretName: istio.istio-galley-service-account
    87        - name: config
    88          configMap:
    89            name: istio-galley-configuration
    90        affinity:      
    91          nodeAffinity:
    92            requiredDuringSchedulingIgnoredDuringExecution:
    93              nodeSelectorTerms:
    94              - matchExpressions:
    95                - key: beta.kubernetes.io/arch
    96                  operator: In
    97                  values:
    98                  - amd64
    99                  - ppc64le
   100                  - s390x
   101            preferredDuringSchedulingIgnoredDuringExecution:
   102            - weight: 2
   103              preference:
   104                matchExpressions:
   105                - key: beta.kubernetes.io/arch
   106                  operator: In
   107                  values:
   108                  - amd64
   109            - weight: 2
   110              preference:
   111                matchExpressions:
   112                - key: beta.kubernetes.io/arch
   113                  operator: In
   114                  values:
   115                  - ppc64le
   116            - weight: 2
   117              preference:
   118                matchExpressions:
   119                - key: beta.kubernetes.io/arch
   120                  operator: In
   121                  values:
   122                  - s390x