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

Add: K8s deployment kind update #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion kubernetes/deployments/auth.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: auth
spec:
replicas: 1
selector:
matchLabels:
app: auth
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion kubernetes/deployments/frontend.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
spec:
replicas: 1
selector:
matchLabels:
app: frontend
template:
metadata:
labels:
Expand Down
6 changes: 5 additions & 1 deletion kubernetes/deployments/hello-canary.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-canary
spec:
replicas: 1
selector:
matchLabels:
app: hello
track: canary
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion kubernetes/deployments/hello-green.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: hello-green
spec:
replicas: 3
selector:
matchLabels:
app: hello
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion kubernetes/deployments/hello.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello
spec:
replicas: 3
selector:
matchLabels:
app: hello
template:
metadata:
labels:
Expand Down