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
- Crunchy PG手動備份實驗
- Rust 編譯器探索使用 PGORust編譯Go
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- 雲原生 PostgreSQL 叢集 - PGO:5分鐘快速上手SQLGo
- BiocManager安裝,devtools安裝dev
- Linux安裝解除安裝MySQLLinuxMySql
- linux 安裝yum 安裝phpLinuxPHP
- Ubuntu解除安裝和安裝Ubuntu
- 02 安裝git、安裝TortoiseGitGit
- cocoapods安裝/解除安裝/使用
- JDK安裝和解除安裝JDK
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- [ 安裝 ] Zeppelin安裝步驟!
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- ElasticSearch的安裝和使用,Postman的安裝,Kibana的安裝,EShead外掛的安裝ElasticsearchPostman
- Mac Redis安裝與解除安裝MacRedis
- 安裝了IDLE後安裝tensorflow
- kratos安裝及依賴安裝
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- debian安裝和解除安裝vmware
- JDK的安裝與解除安裝JDK
- linux 解除安裝jdk和安裝LinuxJDK
- 【推薦 - glibc安裝】MySQL - 安裝MySql
- linux下安裝snap安裝工具Linux
- [雲原生]Docker - 安裝&解除安裝Docker
- Ubuntu安裝和解除安裝mongodbUbuntuMongoDB
- window下安裝並使用nvm(含解除安裝node、解除安裝nvm、全域性安裝npm)NPM
- 安裝
- air安裝win10怎麼解除安裝_air安裝win10如何解除安裝AIWin10
- Centos Docker安裝、升級、解除安裝CentOSDocker
- Webpack學習 – Webpack安裝及安裝Web
- Linux-Ubuntu-mysql-安裝&解除安裝LinuxUbuntuMySql
- Centos7.9安裝解除安裝DockerCentOSDocker
- Centos7安裝安裝部署dockerCentOSDocker