Skip to content

Commit

Permalink
Replace deprecated deployment apiVersion
Browse files Browse the repository at this point in the history
extensions/v1beta1 is deprecated since v1.8 k8s version
  • Loading branch information
luarx authored and zwopir committed Jun 3, 2019
1 parent f4a4bb7 commit 3864091
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/kubernetes/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: p8s-elastic-exporter
Expand All @@ -9,6 +9,9 @@ spec:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
selector:
matchLabels:
app: p8s-elastic-exporter
template:
metadata:
labels:
Expand Down

0 comments on commit 3864091

Please sign in to comment.