Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad9912b

Browse files
committed
Change last rc manifests to rs
1 parent 51afad8 commit ad9912b

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

examples/kubernetes/helloworldservice-set-latest.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
###############################################################################
16-
kind: ReplicationController
17-
apiVersion: v1
16+
apiVersion: extensions/v1beta1
17+
kind: ReplicaSet
1818
metadata:
1919
name: helloworldservice-controller-latest
2020
labels:
@@ -24,8 +24,9 @@ metadata:
2424
spec:
2525
replicas: 2
2626
selector:
27-
name: helloworldservice
28-
version: latest
27+
matchLabels:
28+
name: helloworldservice
29+
version: latest
2930
template:
3031
metadata:
3132
labels:

examples/kubernetes/helloworldservice-set-v2.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
###############################################################################
16-
kind: ReplicationController
17-
apiVersion: v1
16+
apiVersion: extensions/v1beta1
17+
kind: ReplicaSet
1818
metadata:
1919
name: helloworldservice-controller-v2
2020
labels:
@@ -24,8 +24,9 @@ metadata:
2424
spec:
2525
replicas: 2
2626
selector:
27-
name: helloworldservice
28-
version: "2.0"
27+
matchLabels:
28+
name: helloworldservice
29+
version: "2.0"
2930
template:
3031
metadata:
3132
labels:

examples/kubernetes/helloworldui-set-latest.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
###############################################################################
16-
kind: ReplicationController
17-
apiVersion: v1
16+
apiVersion: extensions/v1beta1
17+
kind: ReplicaSet
1818
metadata:
1919
name: helloworldui-controller-latest
2020
labels:
@@ -24,8 +24,9 @@ metadata:
2424
spec:
2525
replicas: 2
2626
selector:
27-
name: helloworldui
28-
version: latest
27+
matchLabels:
28+
name: helloworldui
29+
version: latest
2930
template:
3031
metadata:
3132
name: helloworldui

0 commit comments

Comments
 (0)