File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
# ##############################################################################
16
- kind : ReplicationController
17
- apiVersion : v1
16
+ apiVersion : extensions/v1beta1
17
+ kind : ReplicaSet
18
18
metadata :
19
19
name : helloworldservice-controller-latest
20
20
labels :
@@ -24,8 +24,9 @@ metadata:
24
24
spec :
25
25
replicas : 2
26
26
selector :
27
- name : helloworldservice
28
- version : latest
27
+ matchLabels :
28
+ name : helloworldservice
29
+ version : latest
29
30
template :
30
31
metadata :
31
32
labels :
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
# ##############################################################################
16
- kind : ReplicationController
17
- apiVersion : v1
16
+ apiVersion : extensions/v1beta1
17
+ kind : ReplicaSet
18
18
metadata :
19
19
name : helloworldservice-controller-v2
20
20
labels :
@@ -24,8 +24,9 @@ metadata:
24
24
spec :
25
25
replicas : 2
26
26
selector :
27
- name : helloworldservice
28
- version : " 2.0"
27
+ matchLabels :
28
+ name : helloworldservice
29
+ version : " 2.0"
29
30
template :
30
31
metadata :
31
32
labels :
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
# ##############################################################################
16
- kind : ReplicationController
17
- apiVersion : v1
16
+ apiVersion : extensions/v1beta1
17
+ kind : ReplicaSet
18
18
metadata :
19
19
name : helloworldui-controller-latest
20
20
labels :
@@ -24,8 +24,9 @@ metadata:
24
24
spec :
25
25
replicas : 2
26
26
selector :
27
- name : helloworldui
28
- version : latest
27
+ matchLabels :
28
+ name : helloworldui
29
+ version : latest
29
30
template :
30
31
metadata :
31
32
name : helloworldui
You can’t perform that action at this time.
0 commit comments