Include PXC namespace in the manual recovery command

Description

Make our life easier to run the kubectl exec command when recovering manually. No need to config the correct namespace in the current context or manually adding the -n <namespace> argument into the recovery command.

Using the downward API to inject the pod namespace as MY_POD_NAMESPACE environment variable

Here's the tiny PR https://github.com/percona/percona-xtradb-cluster-operator/pull/864

Environment

None

Smart Checklist

Activity

Show:

Aleksandra Abramova August 18, 2021 at 2:41 PM

 

Hello! We would like to send you a gift for your active participation! 

Please send us an email to community-team@percona.com with info about your current mailing address and phone, and we will ship it to you!

Michael Lin May 1, 2021 at 3:00 AM

Make our life easier to run the `kubectl exec` command when recovering manually. No need to config the correct namespace in the current context or manually adding the `-n <namespace>` argument into the recovery command.

Done

Details

Assignee

Reporter

Fix versions

Priority

Smart Checklist

Created May 1, 2021 at 2:59 AM
Updated March 5, 2024 at 5:52 PM
Resolved August 9, 2021 at 8:08 AM

Flag notifications