Skip to content

Commit b6abf73

Browse files
authored
Update CronJob and PodDisruptionBudget apiVersion for K8s 1.25 (#1658)
* Update CronJob apiVersion. Update PodDisruptionBudget apiVersion Signed-off-by: Manuel Fontan <[email protected]> * code review: remove k8s 1.20 api tests Signed-off-by: Manuel Fontan <[email protected]>
1 parent a57ce1d commit b6abf73

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pull_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
# With a new supported Kubernetes version we should adjust the version
4141
# See https://kubernetes.io/releases for the current releases
42-
kubever: [ "v1.20.0", "v1.21.1", "v1.22.0", "v1.23.0" ]
42+
kubever: [ "v1.21.1", "v1.22.0", "v1.23.0" ]
4343
steps:
4444
- name: Set up Go
4545
uses: actions/setup-go@v1

config/samples/pod_disruption_budget.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Kubernetes won't deliberately cause an interruption to a ready storage pod if
22
# that would drop the ready count below 5.
3-
apiVersion: policy/v1beta1
3+
apiVersion: policy/v1
44
kind: PodDisruptionBudget
55
metadata:
66
name: sample-cluster-storage
@@ -12,7 +12,7 @@ spec:
1212
fdb-cluster-name: sample-cluster
1313
fdb-process-class: storage
1414
---
15-
apiVersion: policy/v1beta1
15+
apiVersion: policy/v1
1616
kind: PodDisruptionBudget
1717
metadata:
1818
name: sample-cluster-log
@@ -24,7 +24,7 @@ spec:
2424
fdb-cluster-name: sample-cluster
2525
fdb-process-class: log
2626
---
27-
apiVersion: policy/v1beta1
27+
apiVersion: policy/v1
2828
kind: PodDisruptionBudget
2929
metadata:
3030
name: sample-cluster-transaction

docs/manual/getting_started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ By default each pod will have two containers and one init container. The `founda
5252
Now that your cluster is deployed, you can easily access the cluster. As an example, we are going to deploy a [Kubernetes Job](https://kubernetes.io/docs/tasks/job/) that will check the status of the cluster every minute. The `cluster file` is available through the exposed `config map` that can be mounted as follows:
5353

5454
```yaml
55-
apiVersion: batch/v1beta1
55+
apiVersion: batch/v1
5656
kind: CronJob
5757
metadata:
5858
name: fdbcli-status-cronjob

0 commit comments

Comments
 (0)