mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-07 10:06:57 +02:00
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:
parent
1f6340a95c
commit
5a7192d8a6
@ -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`
|
First lets deploy a Kafka Stateful set, a simple example(a lot of stuff is missing) with a headless service called `ksvc`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: kafka
|
name: kafka
|
||||||
|
@ -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`:
|
In ExternalDNS containers args, make sure to specify `aws-zone-type` and `ingress-class`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
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`:
|
In ExternalDNS containers args, make sure to specify `aws-zone-type` and `ingress-class`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user