Skip to content

Process changes to docs from: repo: EnterpriseDB/cloud-native-postgres ref: refs/tags/v1.26.0 #6868

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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions product_docs/docs/postgres_for_kubernetes/1/kubectl-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ them in your systems.

#### Debian packages

For example, let's install the 1.26.0 release of the plugin, for an Intel based
For example, let's install the 1.26.0-rc2 release of the plugin, for an Intel based
64 bit server. First, we download the right `.deb` file.

```sh
wget https://github.com/EnterpriseDB/kubectl-cnp/releases/download/v1.26.0/kubectl-cnp_1.26.0_linux_x86_64.deb \
wget https://github.com/EnterpriseDB/kubectl-cnp/releases/download/v1.26.0-rc2/kubectl-cnp_1.26.0-rc2_linux_x86_64.deb \
--output-document kube-plugin.deb
```

Expand All @@ -50,17 +50,17 @@ $ sudo dpkg -i kube-plugin.deb
Selecting previously unselected package cnp.
(Reading database ... 6688 files and directories currently installed.)
Preparing to unpack kube-plugin.deb ...
Unpacking kubectl-cnp (1.26.0) ...
Setting up kubectl-cnp (1.26.0) ...
Unpacking kubectl-cnp (1.26.0-rc2) ...
Setting up kubectl-cnp (1.26.0-rc2) ...
```

#### RPM packages

As in the example for `.rpm` packages, let's install the 1.26.0 release for an
As in the example for `.rpm` packages, let's install the 1.26.0-rc2 release for an
Intel 64 bit machine. Note the `--output` flag to provide a file name.

```sh
curl -L https://github.com/EnterpriseDB/kubectl-cnp/releases/download/v1.26.0/kubectl-cnp_1.26.0_linux_x86_64.rpm \
curl -L https://github.com/EnterpriseDB/kubectl-cnp/releases/download/v1.26.0-rc2/kubectl-cnp_1.26.0-rc2_linux_x86_64.rpm \
--output kube-plugin.rpm
```

Expand All @@ -74,7 +74,7 @@ Dependencies resolved.
Package Architecture Version Repository Size
====================================================================================================
Installing:
cnp x86_64 1.26.0-1 @commandline 20 M
cnp x86_64 1.26.0-rc2-1 @commandline 20 M

Transaction Summary
====================================================================================================
Expand Down Expand Up @@ -265,9 +265,9 @@ sandbox-3 0/604DE38 0/604DE38 0/604DE38 0/604DE38 00:00:00 00:00:00 00
Instances status
Name Current LSN Replication role Status QoS Manager Version Node
---- ----------- ---------------- ------ --- --------------- ----
sandbox-1 0/604DE38 Primary OK BestEffort 1.26.0 k8s-eu-worker
sandbox-2 0/604DE38 Standby (async) OK BestEffort 1.26.0 k8s-eu-worker2
sandbox-3 0/604DE38 Standby (async) OK BestEffort 1.26.0 k8s-eu-worker
sandbox-1 0/604DE38 Primary OK BestEffort 1.26.0-rc2 k8s-eu-worker
sandbox-2 0/604DE38 Standby (async) OK BestEffort 1.26.0-rc2 k8s-eu-worker2
sandbox-3 0/604DE38 Standby (async) OK BestEffort 1.26.0-rc2 k8s-eu-worker
```

If you require more detailed status information, use the `--verbose` option (or
Expand Down Expand Up @@ -321,9 +321,9 @@ sandbox-primary primary 1 1 1
Instances status
Name Current LSN Replication role Status QoS Manager Version Node
---- ----------- ---------------- ------ --- --------------- ----
sandbox-1 0/6053720 Primary OK BestEffort 1.26.0 k8s-eu-worker
sandbox-2 0/6053720 Standby (async) OK BestEffort 1.26.0 k8s-eu-worker2
sandbox-3 0/6053720 Standby (async) OK BestEffort 1.26.0 k8s-eu-worker
sandbox-1 0/6053720 Primary OK BestEffort 1.26.0-rc2 k8s-eu-worker
sandbox-2 0/6053720 Standby (async) OK BestEffort 1.26.0-rc2 k8s-eu-worker2
sandbox-3 0/6053720 Standby (async) OK BestEffort 1.26.0-rc2 k8s-eu-worker
```

With an additional `-v` (e.g. `kubectl cnp status sandbox -v -v`), you can
Expand Down Expand Up @@ -546,12 +546,12 @@ Archive: report_operator_<TIMESTAMP>.zip

```output
====== Begin of Previous Log =====
2023-03-28T12:56:41.251711811Z {"level":"info","ts":"2023-03-28T12:56:41Z","logger":"setup","msg":"Starting EDB Postgres for Kubernetes Operator","version":"1.26.0","build":{"Version":"1.26.0+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:56:41.251711811Z {"level":"info","ts":"2023-03-28T12:56:41Z","logger":"setup","msg":"Starting EDB Postgres for Kubernetes Operator","version":"1.26.0-rc2","build":{"Version":"1.26.0-rc2+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:56:41.251851909Z {"level":"info","ts":"2023-03-28T12:56:41Z","logger":"setup","msg":"Starting pprof HTTP server","addr":"0.0.0.0:6060"}
<snipped …>

====== End of Previous Log =====
2023-03-28T12:57:09.854306024Z {"level":"info","ts":"2023-03-28T12:57:09Z","logger":"setup","msg":"Starting EDB Postgres for Kubernetes Operator","version":"1.26.0","build":{"Version":"1.26.0+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:57:09.854306024Z {"level":"info","ts":"2023-03-28T12:57:09Z","logger":"setup","msg":"Starting EDB Postgres for Kubernetes Operator","version":"1.26.0-rc2","build":{"Version":"1.26.0-rc2+dev107","Commit":"cc9bab17","Date":"2023-03-28"}}
2023-03-28T12:57:09.854363943Z {"level":"info","ts":"2023-03-28T12:57:09Z","logger":"setup","msg":"Starting pprof HTTP server","addr":"0.0.0.0:6060"}
```

Expand Down