mirror of
https://github.com/k3s-io/k3s.git
synced 2025-12-18 23:06:14 -05:00
Replace legacy ReplicationController with Deployment
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
f6a3f0c8b5
commit
e91afa8cec
2 changed files with 8 additions and 6 deletions
|
|
@ -30,14 +30,15 @@ spec:
|
|||
selector:
|
||||
k8s-app: nginx-app-ingress
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: test-ingress
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
k8s-app: nginx-app-ingress
|
||||
matchLabels:
|
||||
k8s-app: nginx-app-ingress
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
|
|||
|
|
@ -30,14 +30,15 @@ spec:
|
|||
selector:
|
||||
k8s-app: nginx-app-ingress
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: test-ingress
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
k8s-app: nginx-app-ingress
|
||||
matchLabels:
|
||||
k8s-app: nginx-app-ingress
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
|
|||
Loading…
Reference in a new issue