Skip to content

Commit

Permalink
use new api version for statefulset
Browse files Browse the repository at this point in the history
  • Loading branch information
erez-rabih committed May 21, 2020
1 parent 5c76877 commit 724dd12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kube/stateful.set.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{APP_NAME}}
spec:
serviceName: {{SVC_NAME}}
replicas: {{REPLICAS}}
selector:
matchLabels:
app: {{APP_NAME}}
template:
metadata:
labels:
Expand Down

0 comments on commit 724dd12

Please sign in to comment.