Skip to content

Commit 59545a3

Browse files
committed
Welcome to Stack Simplify
1 parent 18f3eca commit 59545a3

File tree

1 file changed

+5
-5
lines changed
  • 04-Kubernetes-Fundamentals-with-YAML/04-03-ReplicaSets-with-YAML

1 file changed

+5
-5
lines changed

04-Kubernetes-Fundamentals-with-YAML/04-03-ReplicaSets-with-YAML/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ kind: Service
5050
metadata:
5151
name: replicaset-loadbalancer-service
5252
spec:
53-
type: NodePort
54-
selector:
55-
app: myapp2
56-
ports:
53+
type: LoadBalancer
54+
selector:
55+
app: myapp2
56+
ports:
5757
- name: http
5858
port: 80
5959
targetPort: 80
60-
nodePort: 31232
60+
6161
```
6262
- **Create LoadBalancer Service for ReplicaSet & Test**
6363
```

0 commit comments

Comments
 (0)