|
| 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-1.0.3 |
| 11 | + release: istio |
| 12 | + heritage: Tiller |
| 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 | + istio: galley |
| 24 | + annotations: |
| 25 | + sidecar.istio.io/inject: "false" |
| 26 | + scheduler.alpha.kubernetes.io/critical-pod: "" |
| 27 | + spec: |
| 28 | + serviceAccountName: istio-galley-service-account |
| 29 | + containers: |
| 30 | + - name: validator |
| 31 | + image: "gcr.io/istio-release/galley:release-1.0-latest-daily" |
| 32 | + imagePullPolicy: IfNotPresent |
| 33 | + ports: |
| 34 | + - containerPort: 443 |
| 35 | + - containerPort: 9093 |
| 36 | + command: |
| 37 | + - /usr/local/bin/galley |
| 38 | + - validator |
| 39 | + - --deployment-namespace=default |
| 40 | + - --caCertFile=/etc/istio/certs/root-cert.pem |
| 41 | + - --tlsCertFile=/etc/istio/certs/cert-chain.pem |
| 42 | + - --tlsKeyFile=/etc/istio/certs/key.pem |
| 43 | + - --healthCheckInterval=1s |
| 44 | + - --healthCheckFile=/health |
| 45 | + - --webhook-config-file |
| 46 | + - /etc/istio/config/validatingwebhookconfiguration.yaml |
| 47 | + volumeMounts: |
| 48 | + - name: certs |
| 49 | + mountPath: /etc/istio/certs |
| 50 | + readOnly: true |
| 51 | + - name: config |
| 52 | + mountPath: /etc/istio/config |
| 53 | + readOnly: true |
| 54 | + livenessProbe: |
| 55 | + exec: |
| 56 | + command: |
| 57 | + - /usr/local/bin/galley |
| 58 | + - probe |
| 59 | + - --probe-path=/health |
| 60 | + - --interval=10s |
| 61 | + initialDelaySeconds: 5 |
| 62 | + periodSeconds: 5 |
| 63 | + readinessProbe: |
| 64 | + exec: |
| 65 | + command: |
| 66 | + - /usr/local/bin/galley |
| 67 | + - probe |
| 68 | + - --probe-path=/health |
| 69 | + - --interval=10s |
| 70 | + initialDelaySeconds: 5 |
| 71 | + periodSeconds: 5 |
| 72 | + resources: |
| 73 | + requests: |
| 74 | + cpu: 10m |
| 75 | + |
| 76 | + volumes: |
| 77 | + - name: certs |
| 78 | + secret: |
| 79 | + secretName: istio.istio-galley-service-account |
| 80 | + - name: config |
| 81 | + configMap: |
| 82 | + name: istio-galley-configuration |
| 83 | + affinity: |
| 84 | + nodeAffinity: |
| 85 | + requiredDuringSchedulingIgnoredDuringExecution: |
| 86 | + nodeSelectorTerms: |
| 87 | + - matchExpressions: |
| 88 | + - key: beta.kubernetes.io/arch |
| 89 | + operator: In |
| 90 | + values: |
| 91 | + - amd64 |
| 92 | + - ppc64le |
| 93 | + - s390x |
| 94 | + preferredDuringSchedulingIgnoredDuringExecution: |
| 95 | + - weight: 2 |
| 96 | + preference: |
| 97 | + matchExpressions: |
| 98 | + - key: beta.kubernetes.io/arch |
| 99 | + operator: In |
| 100 | + values: |
| 101 | + - amd64 |
| 102 | + - weight: 2 |
| 103 | + preference: |
| 104 | + matchExpressions: |
| 105 | + - key: beta.kubernetes.io/arch |
| 106 | + operator: In |
| 107 | + values: |
| 108 | + - ppc64le |
| 109 | + - weight: 2 |
| 110 | + preference: |
| 111 | + matchExpressions: |
| 112 | + - key: beta.kubernetes.io/arch |
| 113 | + operator: In |
| 114 | + values: |
| 115 | + - s390x |
0 commit comments