mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-14 06:33:10 +01:00
Compare commits
12 Commits
3a4ffea20b
...
b119cc1206
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b119cc1206 | ||
|
|
367db3cd66 | ||
|
|
df22bf2216 | ||
|
|
921b20c249 | ||
|
|
8901cb94f9 | ||
|
|
a487c4ef50 | ||
|
|
90dbe03a74 | ||
|
|
4d0e2788e9 | ||
|
|
fb0e326029 | ||
|
|
da6445426b | ||
|
|
340204ff21 | ||
|
|
17b86f3faf |
126
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
126
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: File a bug report
|
||||||
|
title: "[Bug]: "
|
||||||
|
labels: ["triage", "bug"]
|
||||||
|
projects: ["coudnative-pg/plugin-barman-cloud"]
|
||||||
|
# assignees:
|
||||||
|
# - gbartolini
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to fill out this bug report for the BarmanCloudPlugin!
|
||||||
|
- type: checkboxes
|
||||||
|
id: search
|
||||||
|
attributes:
|
||||||
|
label: Is there an existing issue already for this bug?
|
||||||
|
description: Before you submit a bug, make sure you have searched if a similar one already exists
|
||||||
|
options:
|
||||||
|
- label: I have searched for an existing issue, and could not find anything. I believe this is a new bug.
|
||||||
|
required: true
|
||||||
|
# - type: checkboxes
|
||||||
|
# id: troubleshooting
|
||||||
|
# attributes:
|
||||||
|
# label: I have read the troubleshooting guide
|
||||||
|
# description: Before you submit a bug, make sure you have read the ["Common issues" section in the Troubleshooting guide](https://cloudnative-pg.io/documentation/current/troubleshooting/#some-common-issues).
|
||||||
|
# options:
|
||||||
|
# - label: I have read the troubleshooting guide and I think this is a new bug.
|
||||||
|
# required: true
|
||||||
|
# - type: checkboxes
|
||||||
|
# id: supported
|
||||||
|
# attributes:
|
||||||
|
# label: I am running a supported version of CloudNativePG
|
||||||
|
# description: Before you submit a bug, make sure you have read ["Supported releases"](https://cloudnative-pg.io/documentation/current/supported_releases/) and that you are running a supported version of CloudNativePG with the latest patch/security fixes, or you are working on the current trunk (`main` branch)
|
||||||
|
# options:
|
||||||
|
# - label: I have read the troubleshooting guide and I think this is a new bug.
|
||||||
|
# required: true
|
||||||
|
- type: input
|
||||||
|
id: contact
|
||||||
|
attributes:
|
||||||
|
label: Contact Details
|
||||||
|
description: How can we get in touch with you if we need more info?
|
||||||
|
placeholder: ex. email@example.com
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Version
|
||||||
|
description: What is the version of the BarmanCloudPlugin you are running?
|
||||||
|
options:
|
||||||
|
- "0.5.1"
|
||||||
|
- "0.5.0"
|
||||||
|
- "0.4.1"
|
||||||
|
- "0.4.0"
|
||||||
|
- "0.3.0"
|
||||||
|
- "0.2.0"
|
||||||
|
- "0.1.0"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: k8s_version
|
||||||
|
attributes:
|
||||||
|
label: What version of Kubernetes are you using?
|
||||||
|
options:
|
||||||
|
- "1.32"
|
||||||
|
- "1.31"
|
||||||
|
- "1.30"
|
||||||
|
- "1.29"
|
||||||
|
- "other (unsupported)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: k8s_environment
|
||||||
|
attributes:
|
||||||
|
label: What is your Kubernetes environment?
|
||||||
|
options:
|
||||||
|
- "Self-managed: kind (evaluation)"
|
||||||
|
- "Self-managed: k0s"
|
||||||
|
- "Self-managed: k3s"
|
||||||
|
- "Self-managed: RKE"
|
||||||
|
- "Cloud: Amazon EKS"
|
||||||
|
- "Cloud: Google GKE"
|
||||||
|
- "Cloud: Azure AKS"
|
||||||
|
- "Cloud: Other"
|
||||||
|
- "Other"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: installation_method
|
||||||
|
attributes:
|
||||||
|
label: How did you install the BarmanCloudPlugin?
|
||||||
|
options:
|
||||||
|
- "YAML manifest"
|
||||||
|
# - "Helm"
|
||||||
|
# - "OLM"
|
||||||
|
- "Other"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
label: What happened?
|
||||||
|
description: Also tell us, what did you expect to happen?
|
||||||
|
placeholder: Tell us what you see!
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: spec
|
||||||
|
attributes:
|
||||||
|
label: Cluster resource
|
||||||
|
description: Please copy and paste the CR of the cluster
|
||||||
|
render: shell
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: Relevant log output
|
||||||
|
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
||||||
|
render: shell
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Code of Conduct
|
||||||
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
|
||||||
|
options:
|
||||||
|
- label: I agree to follow this project's Code of Conduct
|
||||||
|
required: true
|
||||||
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
# - name: Open discussions
|
||||||
|
# url: https://github.com/cloudnative-pg/cloudnative-pg/discussions
|
||||||
|
# about: Please ask and answer questions here.
|
||||||
|
- name: Slack chat
|
||||||
|
url: https://github.com/cloudnative-pg/cloudnative-pg?tab=readme-ov-file#communications
|
||||||
|
about: Please join the slack channel and interact with our community
|
||||||
74
.github/ISSUE_TEMPLATE/documentation.yml
vendored
Normal file
74
.github/ISSUE_TEMPLATE/documentation.yml
vendored
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
name: Documentation
|
||||||
|
description: Issues or improvement ideas for the plugin-barman-cloud documentation
|
||||||
|
title: "[Docs]: "
|
||||||
|
labels: ["triage", "documentation"]
|
||||||
|
projects: ["coudnative-pg/plugin-barman-cloud"]
|
||||||
|
# assignees:
|
||||||
|
# - gbartolini
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time improve the documentation of the BarmanCloudPlugin!
|
||||||
|
- type: checkboxes
|
||||||
|
id: search
|
||||||
|
attributes:
|
||||||
|
label: Is there an existing issue already for your request/idea?
|
||||||
|
description: Before you submit a new issue, make sure you have searched if a similar one already exists
|
||||||
|
options:
|
||||||
|
- label: I have searched for an existing issue, and could not find anything. I believe this is a new documentation enhancement to be evaluated.
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: problem
|
||||||
|
attributes:
|
||||||
|
label: What problem in the existing documentation this issue aims to solve?
|
||||||
|
description: A clear and concise description of what the problem is (e.g. I'm always frustrated when [...])
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: doc_add
|
||||||
|
attributes:
|
||||||
|
label: Describe what additions need to be done to the documentation
|
||||||
|
description: A clear and concise description of what sections/pages you want to add to the current documentation.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: doc_change
|
||||||
|
attributes:
|
||||||
|
label: Describe what pages need to change in the documentation, if any
|
||||||
|
description: Please provide links to the pages in the current documentation
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: doc_remove
|
||||||
|
attributes:
|
||||||
|
label: Describe what pages need to be removed from the documentation, if any
|
||||||
|
description: Please provide links to the pages in the current documentation that you want to be removed
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: additional_context
|
||||||
|
attributes:
|
||||||
|
label: Additional context
|
||||||
|
description: Add any other context about this issue.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
id: backport
|
||||||
|
attributes:
|
||||||
|
label: Backport?
|
||||||
|
description: Do you suggest to backport this feature or not?
|
||||||
|
options:
|
||||||
|
- "Yes"
|
||||||
|
- "No"
|
||||||
|
- "N/A"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Code of Conduct
|
||||||
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
|
||||||
|
options:
|
||||||
|
- label: I agree to follow this project's Code of Conduct
|
||||||
|
required: true
|
||||||
77
.github/ISSUE_TEMPLATE/feature.yml
vendored
Normal file
77
.github/ISSUE_TEMPLATE/feature.yml
vendored
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
name: Feature request
|
||||||
|
description: Suggest an idea or request a new feature for the plugin-barman-cloud
|
||||||
|
title: "[Feature]: "
|
||||||
|
labels: ["triage", "enhancement"]
|
||||||
|
projects: ["coudnative-pg/plugin-barman-cloud"]
|
||||||
|
# assignees:
|
||||||
|
# - gbartolini
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to propose new ideas and feature requests to the BarmanCloudPlugin!
|
||||||
|
- type: checkboxes
|
||||||
|
id: search
|
||||||
|
attributes:
|
||||||
|
label: Is there an existing issue already for this feature request/idea?
|
||||||
|
description: Before you submit a new feature request, make sure you have searched if a similar one already exists
|
||||||
|
options:
|
||||||
|
- label: I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: problem
|
||||||
|
attributes:
|
||||||
|
label: What problem is this feature going to solve? Why should it be added?
|
||||||
|
description: A clear and concise description of what the problem is (e.g. I'm always frustrated when [...])
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: solution
|
||||||
|
attributes:
|
||||||
|
label: Describe the solution you'd like
|
||||||
|
description: A clear and concise description of what you want to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: alternatives
|
||||||
|
attributes:
|
||||||
|
label: Describe alternatives you've considered
|
||||||
|
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: additional_context
|
||||||
|
attributes:
|
||||||
|
label: Additional context
|
||||||
|
description: Add any other context or screenshots about the feature request here.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
id: backport
|
||||||
|
attributes:
|
||||||
|
label: Backport?
|
||||||
|
description: Do you suggest to backport this feature or not?
|
||||||
|
options:
|
||||||
|
- "Yes"
|
||||||
|
- "No"
|
||||||
|
- "N/A"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: contribute
|
||||||
|
attributes:
|
||||||
|
label: Are you willing to actively contribute to this feature?
|
||||||
|
description: Let us know if you are interested in developing this feature.
|
||||||
|
options:
|
||||||
|
- "No"
|
||||||
|
- "Yes"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Code of Conduct
|
||||||
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
|
||||||
|
options:
|
||||||
|
- label: I agree to follow this project's Code of Conduct
|
||||||
|
required: true
|
||||||
48
.github/ISSUE_TEMPLATE/release-notes.yml
vendored
Normal file
48
.github/ISSUE_TEMPLATE/release-notes.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
name: Release Notes
|
||||||
|
description: Release notes for a new version of the BarmanCloudPlugin
|
||||||
|
title: "[Release Notes]: BarmanCloudPlugin 1.XX.Y and 1.XX-1.Z"
|
||||||
|
labels: ["triage", "documentation"]
|
||||||
|
projects: ["coudnative-pg/plugin-barman-cloud"]
|
||||||
|
# assignees:
|
||||||
|
# - gbartolini
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Make sure that the correct versions are reported in the title of the ticket.
|
||||||
|
- type: checkboxes
|
||||||
|
id: search
|
||||||
|
attributes:
|
||||||
|
label: Is there an existing issue already for this task?
|
||||||
|
description: Before you submit a new issue, make sure you have searched if a similar one already exists
|
||||||
|
options:
|
||||||
|
- label: I have searched for an existing issue, and could not find anything. I believe this is a new request.
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: minor
|
||||||
|
attributes:
|
||||||
|
label: Is this a new minor release?
|
||||||
|
description: Is this a new minor release for the BarmanCloudPlugin?
|
||||||
|
options:
|
||||||
|
- "No"
|
||||||
|
- "Yes"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: preview
|
||||||
|
attributes:
|
||||||
|
label: Is this a preview release?
|
||||||
|
description: Is this a preview release for the BarmanCloudPlugin? If so, make sure you add `-RC1` to the version and update the `preview_version.md` file.
|
||||||
|
options:
|
||||||
|
- "No"
|
||||||
|
- "Yes"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Code of Conduct
|
||||||
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
|
||||||
|
options:
|
||||||
|
- label: I agree to follow this project's Code of Conduct
|
||||||
|
required: true
|
||||||
@ -128,6 +128,7 @@ pluginConfiguration
|
|||||||
podName
|
podName
|
||||||
postgres
|
postgres
|
||||||
postgresql
|
postgresql
|
||||||
|
pprof
|
||||||
primaryUpdateStrategy
|
primaryUpdateStrategy
|
||||||
rbac
|
rbac
|
||||||
rc
|
rc
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -7,7 +7,7 @@ toolchain go1.25.4
|
|||||||
require (
|
require (
|
||||||
github.com/cert-manager/cert-manager v1.19.1
|
github.com/cert-manager/cert-manager v1.19.1
|
||||||
github.com/cloudnative-pg/api v1.27.0
|
github.com/cloudnative-pg/api v1.27.0
|
||||||
github.com/cloudnative-pg/barman-cloud v0.3.3
|
github.com/cloudnative-pg/barman-cloud v0.3.4-0.20251203100017-1d476f125c5b
|
||||||
github.com/cloudnative-pg/cloudnative-pg v1.27.1
|
github.com/cloudnative-pg/cloudnative-pg v1.27.1
|
||||||
github.com/cloudnative-pg/cnpg-i v0.3.0
|
github.com/cloudnative-pg/cnpg-i v0.3.0
|
||||||
github.com/cloudnative-pg/cnpg-i-machinery v0.4.1
|
github.com/cloudnative-pg/cnpg-i-machinery v0.4.1
|
||||||
|
|||||||
4
go.sum
4
go.sum
@ -18,8 +18,8 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF
|
|||||||
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/cloudnative-pg/api v1.27.0 h1:uSUkF9X/0UZu1Xn5qI33qHVmzZrDKuuyoiRlsOmSTv4=
|
github.com/cloudnative-pg/api v1.27.0 h1:uSUkF9X/0UZu1Xn5qI33qHVmzZrDKuuyoiRlsOmSTv4=
|
||||||
github.com/cloudnative-pg/api v1.27.0/go.mod h1:IWyAmuirffHiw6iIGD1p18BmZNb13TK9Os/wkp8ltDg=
|
github.com/cloudnative-pg/api v1.27.0/go.mod h1:IWyAmuirffHiw6iIGD1p18BmZNb13TK9Os/wkp8ltDg=
|
||||||
github.com/cloudnative-pg/barman-cloud v0.3.3 h1:EEcjeV+IUivDpmyF/H/XGY1pGaKJ5LS5MYeB6wgGcak=
|
github.com/cloudnative-pg/barman-cloud v0.3.4-0.20251203100017-1d476f125c5b h1:7qpnZpOkmjhs0Prasu8laSaiEQ7eC2qW1xA39mQ/aEc=
|
||||||
github.com/cloudnative-pg/barman-cloud v0.3.3/go.mod h1:5CM4MncAxAjnqxjDt0I5E/oVd7gsMLL0/o/wQ+vUSgs=
|
github.com/cloudnative-pg/barman-cloud v0.3.4-0.20251203100017-1d476f125c5b/go.mod h1:F6JqmFpa3V0/8paxu372tvxH7F6NrfUbtul3zrsoy+k=
|
||||||
github.com/cloudnative-pg/cloudnative-pg v1.27.1 h1:w+bbtXyEPoaa7sZGXxbb8qJ+/bUGWQ3M48kbNUEpKlk=
|
github.com/cloudnative-pg/cloudnative-pg v1.27.1 h1:w+bbtXyEPoaa7sZGXxbb8qJ+/bUGWQ3M48kbNUEpKlk=
|
||||||
github.com/cloudnative-pg/cloudnative-pg v1.27.1/go.mod h1:XbwCAlCm5fr+/A+v+qvMp8DHzVtJr2m0Y/TpKALw+Bk=
|
github.com/cloudnative-pg/cloudnative-pg v1.27.1/go.mod h1:XbwCAlCm5fr+/A+v+qvMp8DHzVtJr2m0Y/TpKALw+Bk=
|
||||||
github.com/cloudnative-pg/cnpg-i v0.3.0 h1:5ayNOG5x68lU70IVbHDZQrv5p+bErCJ0mqRmOpW2jjE=
|
github.com/cloudnative-pg/cnpg-i v0.3.0 h1:5ayNOG5x68lU70IVbHDZQrv5p+bErCJ0mqRmOpW2jjE=
|
||||||
|
|||||||
@ -52,6 +52,13 @@ func NewCmd() *cobra.Command {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmd.Flags().String("pprof-server",
|
||||||
|
"",
|
||||||
|
"The address where pprof server should be exposed, for example: 0.0.0.0:6061. "+
|
||||||
|
"Empty string means disabled. Disabled by default",
|
||||||
|
)
|
||||||
|
_ = viper.BindPFlag("pprof-server", cmd.Flags().Lookup("pprof-server"))
|
||||||
|
|
||||||
_ = viper.BindEnv("namespace", "NAMESPACE")
|
_ = viper.BindEnv("namespace", "NAMESPACE")
|
||||||
_ = viper.BindEnv("cluster-name", "CLUSTER_NAME")
|
_ = viper.BindEnv("cluster-name", "CLUSTER_NAME")
|
||||||
_ = viper.BindEnv("pod-name", "POD_NAME")
|
_ = viper.BindEnv("pod-name", "POD_NAME")
|
||||||
|
|||||||
@ -52,7 +52,8 @@ func Start(ctx context.Context) error {
|
|||||||
namespace := viper.GetString("namespace")
|
namespace := viper.GetString("namespace")
|
||||||
|
|
||||||
controllerOptions := ctrl.Options{
|
controllerOptions := ctrl.Options{
|
||||||
Scheme: scheme,
|
PprofBindAddress: viper.GetString("pprof-server"),
|
||||||
|
Scheme: scheme,
|
||||||
Client: client.Options{
|
Client: client.Options{
|
||||||
// Important: the caching options below are used by
|
// Important: the caching options below are used by
|
||||||
// controller-runtime only.
|
// controller-runtime only.
|
||||||
|
|||||||
@ -157,7 +157,7 @@ func (impl JobHookImpl) Restore(
|
|||||||
|
|
||||||
config := getRestoreWalConfig()
|
config := getRestoreWalConfig()
|
||||||
|
|
||||||
contextLogger.Info("sending restore response", "config", config, "env", env)
|
contextLogger.Info("sending restore response", "config", config)
|
||||||
return &restore.RestoreResponse{
|
return &restore.RestoreResponse{
|
||||||
RestoreConfig: config,
|
RestoreConfig: config,
|
||||||
Envs: nil,
|
Envs: nil,
|
||||||
|
|||||||
@ -74,3 +74,24 @@ spec:
|
|||||||
|
|
||||||
For a complete list of supported options, refer to the
|
For a complete list of supported options, refer to the
|
||||||
[official Barman Cloud documentation](https://docs.pgbarman.org/release/latest/).
|
[official Barman Cloud documentation](https://docs.pgbarman.org/release/latest/).
|
||||||
|
|
||||||
|
## Enable the pprof debug server for the sidecar
|
||||||
|
|
||||||
|
You can enable the instance sidecar's pprof debug HTTP server by adding the `--pprof-server=<address>` flag to the container's
|
||||||
|
arguments via `.spec.instanceSidecarConfiguration.additionalContainerArgs`.
|
||||||
|
|
||||||
|
Pass a bind address in the form `<host>:<port>` (for example, `0.0.0.0:6061`).
|
||||||
|
An empty value disables the server (disabled by default).
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: barmancloud.cnpg.io/v1
|
||||||
|
kind: ObjectStore
|
||||||
|
metadata:
|
||||||
|
name: my-store
|
||||||
|
spec:
|
||||||
|
instanceSidecarConfiguration:
|
||||||
|
additionalContainerArgs:
|
||||||
|
- "--pprof-server=0.0.0.0:6061"
|
||||||
|
```
|
||||||
|
|||||||
773
web/yarn.lock
773
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user