-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Database abstraction and README update #39
Conversation
Signed-off-by: Yury Tsarev <yury@upbound.io>
…uster * Avoid the need for cloud sql proxy sidecar for workload deployments Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
@stevendborrelli please use |
/test-e2e |
1 similar comment
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
1 similar comment
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
* Use new `pre-delete` hooks * Explicitly specify namespace for the database claim Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
1 similar comment
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
* This way DatabaseInstance deletion is not dependend on Cluster and we need no complex ordering * Drawback: stable network name in Cluster composition * GKE tweaks to spare some resources * Isolated simple test-hooks Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
Signed-off-by: Yury Tsarev <yury@upbound.io>
/test-e2e |
1 similar comment
/test-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
All claims became ready:
kubectl get claim,composite
NAME READY CONNECTION-SECRET AGE
cluster.gcp.platformref.upbound.io/platform-ref-gcp-cluster True cluster-conn 82m
NAME READY CONNECTION-SECRET AGE
postgresqlinstance.gcp.platformref.upbound.io/platform-ref-gcp-db True platform-ref-gcp-db-conn 80m
NAME READY COMPOSITION AGE
xgke.gcp.platformref.upbound.io/platform-ref-gcp-cluster-xftvn-cp6lf True xgke.gcp.platformref.upbound.io 81m
NAME READY COMPOSITION AGE
xnetwork.gcp.platformref.upbound.io/platform-ref-gcp-cluster-xftvn-tng6l True xnetworks.gcp.platformref.upbound.io 81m
NAME READY COMPOSITION AGE
xcluster.gcp.platformref.upbound.io/platform-ref-gcp-cluster-xftvn True xclusters.gcp.platformref.upbound.io 81m
NAME READY COMPOSITION AGE
xpostgresqlinstance.gcp.platformref.upbound.io/platform-ref-gcp-db-mf49v True xpostgresqlinstances.gcp.platformref.upbound.io 80m
NAME READY COMPOSITION AGE
xservices.gcp.platformref.upbound.io/platform-ref-gcp-cluster-xftvn-8qg2l True xservices.gcp.platformref.upbound.io 81m
|
||
```console | ||
kubectl -n upbound-system get cluster | ||
kubectl delete -f examples/cluster-claim.yaml,examples/postgres-claim.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got caught with hanging resources that required manual deletion (the helm release and SQL user). Perhaps we should document the scripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I've added note on ordered delete 69bb0f7
Signed-off-by: Yury Tsarev <yury@upbound.io>
Description of your changes
Fixes #26
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR, as appropriate.How has this code been tested
To test the cluster-database private connectivity end-to-end.