26e53ee35c
Part of #582. RGW runs on VMs (ausyd1nxvm2115-2119) and needs to move into k8s under GitOps; this adds the `ceph-system` namespace with an in-cluster RGW behind a ClusterIP service. Cutover comes later. - add `ceph-system` app to the platform applicationset - add ceph.conf configmap with a shared `client.rgw.syd1` section and explicit keyring path - add rgw keyring from vault `kubernetes/namespace/ceph-system/default/rgw-keyring` (`keyring`) - add 3-replica `quay.io/ceph/ceph:v18.2.8` radosgw deployment, non-root, read-only root, startup probe, hard per-node spread, PDB + VPA - add ClusterIP service `rgw` on 7480 Requires unkin/terraform-artifactapi#78 merged first. Reviewed-on: #583 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
27 lines
655 B
YAML
27 lines
655 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: ceph-conf
|
|
namespace: ceph-system
|
|
data:
|
|
ceph.conf: |
|
|
[global]
|
|
fsid = de96a98f-3d23-465a-a899-86d3d67edab8
|
|
mon_host = 198.18.23.9,198.18.23.10,198.18.23.11,198.18.23.12,198.18.23.13
|
|
auth_client_required = cephx
|
|
auth_cluster_required = cephx
|
|
auth_service_required = cephx
|
|
ms_bind_ipv4 = true
|
|
ms_bind_ipv6 = false
|
|
|
|
[client.rgw.syd1]
|
|
rgw_realm = unkin
|
|
rgw_zonegroup = au
|
|
rgw_zone = syd1
|
|
rgw_frontends = beast port=7480
|
|
keyring = /var/lib/ceph/radosgw/ceph-rgw.syd1/keyring
|
|
log_to_file = false
|
|
log_to_stderr = true
|
|
err_to_stderr = true
|