Comments (2)
This was discussed in our discord
https://discord.com/channels/673534664354430999/1159134548274188390/1172918476839604435
https://github.com/Rodent1/home-ops/blob/0cfe2c9ede87f182b5362c177a1b25d1edbe1516/kubernetes/apps/database/cloudnative-pg/cluster/cluster16.yaml I used this thing
Specifically these parts
bootstrap:
initdb:
import:
type: monolith
databases: ["*"]
roles: ["*"]
source:
externalCluster: cnpg-6
and
externalClusters:
- name: cnpg-6
connectionParameters:
# Use the correct IP or host name for the source database
host: postgres-rw.database.svc.cluster.local
user: postgres
dbname: postgres
sslmode: require
password:
name: cloudnative-pg-secret
key: password
While the pg14 cluster was still running
Ref: https://cloudnative-pg.io/documentation/current/database_import/
from home-ops.
You basically want to spin up a new cluster side by side the old one and then have cnpg bootstrap the new one from the old one. Make sure the old database is not being used by any workloads first.
from home-ops.
Related Issues (20)
- Create an application in Go to serve kube stats over a json endpoint HOT 1
- Link Checker Dashboard 🔗
- Publish my schemas in the cloud HOT 1
- Add `PushSecret` config for Ceph RGW buckets for Thanos HOT 4
- Consolidate method of pulling CLI tools in Github workflows HOT 1
- Update cloudflare terraform to use `cloudflare_ruleset` HOT 1
- Change lldap container to rootless HOT 1
- Replace kubelet-args with kubelet config file due to args being deprecated HOT 1
- Question on Ceph Version within Rook HOT 3
- kube-vip rbac manifest moved/removed HOT 1
- Replace redis with dragonflydb HOT 1
- Switch unpackerr to ghcr HOT 1
- No alerts are coming thru for failed helmreleases HOT 1
- Write a task to deploy code server for editing hass configs HOT 1
- kromogo cluster_age_days calculation HOT 1
- Cluster bootstrap & upgrade nuances 🔴
- Re-evaluate storing `HelmRelease` resources in the `flux-system` namespace HOT 1
- Renovate Dashboard 🤖
- Typo in grafana dashboard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-ops.