Replace legacy ReplicationController with Deployment

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola 2025-12-12 11:21:58 -08:00
parent f6a3f0c8b5
commit e91afa8cec
2 changed files with 8 additions and 6 deletions

View file

@ -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:

View file

@ -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: