Skip to content

Commit

Permalink
using RS instead of RC
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-gupta committed Jun 13, 2017
1 parent 7755a43 commit db43f7c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lb-clusterip.yaml
Expand Up @@ -4,22 +4,22 @@ metadata:
name: wildfly-service
spec:
selector:
app: wildfly-rc-pod
app: wildfly-rs-pod
ports:
- name: web
port: 8080
type: ClusterIP
---
apiVersion: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: wildfly-rc
name: wildfly-rs
spec:
replicas: 2
template:
metadata:
labels:
app: wildfly-rc-pod
app: wildfly-rs-pod
spec:
containers:
- name: wildfly
Expand Down

0 comments on commit db43f7c

Please sign in to comment.