最近需要在项目中安装Crunchy pgo (postgres operator),使用的是来自于private Registry的docker images我们根据Crunchy的官方说明文档 https://access.crunchydata.com/documentation/postgres-operator/5.2.0/guides/private-registries/ 来实践,发现其实有2个方法实现,其中第一个方法完全参考官方说明文档,第二个方法是参考Kubernets Deployment yaml文件的写法。 方法一:vi kustomize/install/default/kustomization.yaml ============================================================== namespace: crunchy-postgres-operator commonLabels: app.kubernetes.io/name: pgo # The version below should match the version on the PostgresCluster CRD app.kubernetes.io/version: 5.2.0 bases: - ../crd - ../rbac/cluster - ../manager images: - name: postgres-operator newName: xxxxxx/xxxxxx/postgres-operator newTag: ubi8-5.2.0-0 - name: postgres-operator-upgrade newName: xxxxxx/xxxxxx/postgres-operator-upgrade newTag: ubi8-5.2.0-0 patchesJson6902: - target: { group: apps, version: v1, kind: Deployment, name: pgo } path: selectors.yaml - target: { group: apps, version: v1, kind: Deployment, name: pgo-upgrade } path: selectors.yaml - target: group: apps version: v1 kind: Deployment name: pgo patch: |- - op: add path: /spec/template/spec/imagePullSecrets value: - name: access-aws-cr - target: group: apps version: v1 kind: Deployment name: pgo-upgrade patch: |- - op: add path: /spec/template/spec/imagePullSecrets value: - name: access-aws-cr==============================================================方法二: 修改下面的两个文件./manager/manager-upgrade.yaml serviceAccountName: postgres-operator-upgrade imagePullSecrets: - name: access-aws-cr ./manager/manager.yaml serviceAccountName: pgo imagePullSecrets: - name: access-aws-cr============================================================== Useful links: https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.7.9/installers/kubectl/client-setup.sh https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.7.9/installers/kubectl/postgres-operator.yml https://github.com/CrunchyData/postgres-operator/releases
Crunchy pgo安装
来源:这里教程网
时间:2026-03-14 20:43:39
作者:
编辑推荐:
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- PostgreSQL/GreenPlum Merge Inner Join解密
- 从Oracle的SQL_ID到PG14引入内核的QUERY_ID
从Oracle的SQL_ID到PG14引入内核的QUERY_ID
26-03-14 - RockyLinux实时数据处理实战指南(从零开始构建高效流式数据管道)
RockyLinux实时数据处理实战指南(从零开始构建高效流式数据管道)
26-03-14 - PostgreSQL的shared_buffers和系统OS cache的关系
- PostgreSQL基于Pacemaker+Corosync+pcs的高可用
- PG的非分区表在线转分区表
PG的非分区表在线转分区表
26-03-14 - Oracle/MySQL通过odbc访问PostgreSQL for LightDB
- 从一道题中学会反弹shell
从一道题中学会反弹shell
26-03-14 - LightDB数据库性能瓶颈分析(一)
LightDB数据库性能瓶颈分析(一)
26-03-14 - PostgreSQL/LightDB分区表之常见问题
PostgreSQL/LightDB分区表之常见问题
26-03-14
