Skip to content

Commit

Permalink
Merge pull request LondheShubham153#187 from LondheShubham153/LondheS…
Browse files Browse the repository at this point in the history
…hubham153-patch-22

Create replica-sets.yml
  • Loading branch information
LondheShubham153 authored Mar 10, 2024
2 parents 8c84ba3 + c77a0c5 commit a38e66e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions k8s/replica-sets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: node-app-replica-set
namespace: node-app
labels:
app: guestbook
tier: node-label
spec:
# modify replicas according to your case
replicas: 6
selector:
matchLabels:
tier: node-label
template:
metadata:
namespace: node-app
labels:
tier: node-label
spec:
containers:
- name: node-container-rep
image: trainwithshubham/node-app-batch-6

0 comments on commit a38e66e

Please sign in to comment.