--- apiVersion: apps/v1 kind: Deployment metadata: name: rgw namespace: ceph-system labels: app.kubernetes.io/name: rgw app.kubernetes.io/component: rgw app.kubernetes.io/version: v18.2.8 annotations: reloader.stakater.com/auto: "true" spec: replicas: 3 strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 1 maxSurge: 0 selector: matchLabels: app.kubernetes.io/name: rgw template: metadata: labels: app.kubernetes.io/name: rgw app.kubernetes.io/component: rgw spec: automountServiceAccountToken: false securityContext: runAsNonRoot: true runAsUser: 167 runAsGroup: 167 fsGroup: 167 seccompProfile: type: RuntimeDefault affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: topologyKey: kubernetes.io/hostname labelSelector: matchLabels: app.kubernetes.io/name: rgw topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app.kubernetes.io/name: rgw containers: - name: rgw image: quay.io/ceph/ceph:v18.2.8 imagePullPolicy: IfNotPresent command: - radosgw - -f - --cluster - ceph - --name - client.rgw.syd1 ports: - name: http containerPort: 7480 startupProbe: httpGet: path: / port: http periodSeconds: 5 failureThreshold: 30 readinessProbe: httpGet: path: / port: http initialDelaySeconds: 5 periodSeconds: 10 livenessProbe: httpGet: path: / port: http periodSeconds: 20 failureThreshold: 6 resources: requests: cpu: "1" memory: 2Gi limits: cpu: "2" memory: 4Gi securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: drop: ["ALL"] volumeMounts: - name: ceph-conf mountPath: /etc/ceph readOnly: true - name: keyring mountPath: /var/lib/ceph/radosgw/ceph-rgw.syd1 readOnly: true - name: run mountPath: /var/run/ceph - name: log mountPath: /var/log/ceph - name: tmp mountPath: /tmp volumes: - name: ceph-conf configMap: name: ceph-conf - name: keyring secret: secretName: rgw-keyring items: - key: keyring path: keyring - name: run emptyDir: {} - name: log emptyDir: {} - name: tmp emptyDir: {}