Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Fix Deployment manifests
Browse files Browse the repository at this point in the history
- Updated v1beta1 to v1
- Added spec.selector
  • Loading branch information
saurabh-slacklife committed Oct 15, 2020
1 parent 3aebd53 commit 3c06f22
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
5 changes: 4 additions & 1 deletion pubsub/bigquery-controller.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: bigquery-controller
labels:
name: bigquery-controller
spec:
replicas: 2
selector:
matchLabels:
name: bigquery-controller
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion pubsub/twitter-stream.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: twitter-stream
labels:
name: twitter-stream
spec:
replicas: 1
selector:
matchLabels:
name: twitter-stream
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion redis/bigquery-controller.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: bigquery-controller
labels:
name: bigquery-controller
spec:
replicas: 2
selector:
matchLabels:
name: bigquery-controller
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion redis/redis-master.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-master
labels:
name: redis-master
spec:
replicas: 1
selector:
matchLabels:
name: redis-master
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion redis/twitter-stream.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: twitter-stream
labels:
name: twitter-stream
spec:
replicas: 1
selector:
matchLabels:
name: twitter-stream
template:
metadata:
labels:
Expand Down

0 comments on commit 3c06f22

Please sign in to comment.