mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-22 05:21:24 +02:00
lets not break things for now
This commit is contained in:
@@ -108,7 +108,7 @@ These parameters are grouped directly under the `spec` key in the manifest.
|
|||||||
for details on tolerations and possible values of those keys. When set, this
|
for details on tolerations and possible values of those keys. When set, this
|
||||||
value overrides the `pod_toleration` setting from the operator. Optional.
|
value overrides the `pod_toleration` setting from the operator. Optional.
|
||||||
|
|
||||||
* **podPriorityClassName**
|
* **pod_priority_class_name**
|
||||||
a name of the [priority
|
a name of the [priority
|
||||||
class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass)
|
class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass)
|
||||||
that should be assigned to the cluster pods. When not specified, the value
|
that should be assigned to the cluster pods. When not specified, the value
|
||||||
|
|||||||
+2
-2
@@ -351,7 +351,7 @@ metadata:
|
|||||||
name: acid-minimal-cluster
|
name: acid-minimal-cluster
|
||||||
spec:
|
spec:
|
||||||
...
|
...
|
||||||
initContainers:
|
init_containers:
|
||||||
- name: "container-name"
|
- name: "container-name"
|
||||||
image: "company/image:tag"
|
image: "company/image:tag"
|
||||||
env:
|
env:
|
||||||
@@ -359,7 +359,7 @@ spec:
|
|||||||
value: "any-k8s-env-things"
|
value: "any-k8s-env-things"
|
||||||
```
|
```
|
||||||
|
|
||||||
`initContainers` accepts full `v1.Container` definition.
|
`init_containers` accepts full `v1.Container` definition.
|
||||||
|
|
||||||
|
|
||||||
## Increase volume size
|
## Increase volume size
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ kind: postgresql
|
|||||||
metadata:
|
metadata:
|
||||||
name: acid-test-cluster
|
name: acid-test-cluster
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
dockerImage: registry.opensource.zalan.do/acid/spilo-11:1.5-p8
|
||||||
|
init_containers:
|
||||||
- name: date
|
- name: date
|
||||||
image: busybox
|
image: busybox
|
||||||
command: [ "/bin/date" ]
|
command: [ "/bin/date" ]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: "acid.zalan.do/v1"
|
|||||||
kind: postgresql
|
kind: postgresql
|
||||||
metadata:
|
metadata:
|
||||||
name: acid-minimal-cluster
|
name: acid-minimal-cluster
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
teamId: "ACID"
|
teamId: "ACID"
|
||||||
volume:
|
volume:
|
||||||
|
|||||||
@@ -53,8 +53,8 @@ type PostgresSpec struct {
|
|||||||
Databases map[string]string `json:"databases,omitempty"`
|
Databases map[string]string `json:"databases,omitempty"`
|
||||||
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
|
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
|
||||||
Sidecars []Sidecar `json:"sidecars,omitempty"`
|
Sidecars []Sidecar `json:"sidecars,omitempty"`
|
||||||
InitContainers []v1.Container `json:"initContainers,omitempty"`
|
InitContainers []v1.Container `json:"init_containers,omitempty"`
|
||||||
PodPriorityClassName string `json:"podPriorityClassName,omitempty"`
|
PodPriorityClassName string `json:"pod_priority_class_name,omitempty"`
|
||||||
ShmVolume *bool `json:"enableShmVolume,omitempty"`
|
ShmVolume *bool `json:"enableShmVolume,omitempty"`
|
||||||
EnableLogicalBackup bool `json:"enableLogicalBackup,omitempty"`
|
EnableLogicalBackup bool `json:"enableLogicalBackup,omitempty"`
|
||||||
LogicalBackupSchedule string `json:"logicalBackupSchedule,omitempty"`
|
LogicalBackupSchedule string `json:"logicalBackupSchedule,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user