Crunchy pgo安裝
最近需要在專案中安裝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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/725820/viewspace-2917054/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Crunchy PostgreSQL database backup via pgo commandSQLDatabaseGo
- Crunchy PostgreSQL database restore via pgo commandSQLDatabaseRESTGo
- 雲原生 PostgreSQL 叢集 - PGO:來自 Crunchy Data 的 Postgres OperatorSQLGo
- Rust 編譯器探索使用 PGORust編譯Go
- codis安裝 (java 安裝 + zookeeper 安裝 + go 安裝 + codis 安裝JavaGo
- 雲原生 PostgreSQL 叢集 - PGO:5分鐘快速上手SQLGo
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- mysql安裝 (yum 安裝)MySql
- MMM安裝、MHA安裝
- mysql安裝------RPM包安裝及解除安裝MySql
- oracle安裝:OUI安裝Oracle(圖形介面安裝)OracleUI
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- 02 安裝git、安裝TortoiseGitGit
- Ubuntu解除安裝和安裝Ubuntu
- Orace RAC安裝-DNS安裝DNS
- caffe安裝系列——安裝OpenCVOpenCV
- SPARK 安裝之scala 安裝Spark
- mac 安裝opencv homebrew安裝MacOpenCV
- Oracle 安裝與解除安裝Oracle
- solaris mysql 安裝 解除安裝MySql
- BiocManager安裝,devtools安裝dev
- JDK安裝和解除安裝JDK
- 安裝HomeBrew提示已安裝並無法解除安裝
- SQL Server 2012 安裝——安裝 OR 解除安裝SQLServer
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- 雲原生 PostgreSQL - CrunchyData PGO 教程:建立、連線、刪除 Postgres 叢集SQLGo
- mysql安裝-----二進位制包安裝及解除安裝MySql
- cocoapods安裝/解除安裝/使用
- Mac Redis安裝與解除安裝MacRedis
- [ 安裝 ] Zeppelin安裝步驟!
- Ubuntu安裝和解除安裝mongodbUbuntuMongoDB
- linux 安裝yum 安裝phpLinuxPHP
- [雲原生]Docker - 安裝&解除安裝Docker
- JDK的安裝與解除安裝JDK
- selenium 安裝與 chromedriver安裝Chrome
- ORACLE TEXT安裝與解除安裝Oracle
- Centos 安裝yum,安裝ansibleCentOS