docs: update deployment and statefulset apiVersion

apps/v1beta2 was deprecated in k8s 1.16 so the examples are no longer working - updated kind to just v1.
This commit is contained in:
Antti Viitala 2023-05-30 16:59:45 +08:00
parent 1f6340a95c
commit 5a7192d8a6
No known key found for this signature in database
GPG Key ID: 32EEC644DAEE1F62
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ spec:
First lets deploy a Kafka Stateful set, a simple example(a lot of stuff is missing) with a headless service called `ksvc`
```yaml
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: kafka

View File

@ -216,7 +216,7 @@ Consult [AWS ExternalDNS setup docs](aws.md) for installation guidelines.
In ExternalDNS containers args, make sure to specify `aws-zone-type` and `ingress-class`:
```yaml
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
@ -254,7 +254,7 @@ Consult [AWS ExternalDNS setup docs](aws.md) for installation guidelines.
In ExternalDNS containers args, make sure to specify `aws-zone-type` and `ingress-class`:
```yaml
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
labels: