|
@@ -0,0 +1,63 @@
|
|
|
+apiVersion: v1
|
|
|
+kind: List
|
|
|
+metadata: {}
|
|
|
+items:
|
|
|
+- apiVersion: apps/v1
|
|
|
+ kind: Deployment
|
|
|
+ metadata:
|
|
|
+ creationTimestamp: null
|
|
|
+ labels:
|
|
|
+ app: frontend
|
|
|
+ name: frontend
|
|
|
+ spec:
|
|
|
+ replicas: 10
|
|
|
+ selector:
|
|
|
+ matchLabels:
|
|
|
+ app: frontend
|
|
|
+ strategy: {}
|
|
|
+ template:
|
|
|
+ metadata:
|
|
|
+ creationTimestamp: null
|
|
|
+ labels:
|
|
|
+ app: frontend
|
|
|
+ spec:
|
|
|
+ containers:
|
|
|
+ - image: registry.ocp4.example.com:8443/redhattraining/hello-world-nginx:v1.0
|
|
|
+ name: hello-world-nginx
|
|
|
+ resources:
|
|
|
+ requests:
|
|
|
+ cpu: 50m
|
|
|
+ memory: 20Mi
|
|
|
+ status: {}
|
|
|
+- apiVersion: v1
|
|
|
+ kind: Service
|
|
|
+ metadata:
|
|
|
+ creationTimestamp: null
|
|
|
+ labels:
|
|
|
+ app: frontend
|
|
|
+ name: frontend
|
|
|
+ spec:
|
|
|
+ ports:
|
|
|
+ - port: 8080
|
|
|
+ protocol: TCP
|
|
|
+ targetPort: 8080
|
|
|
+ selector:
|
|
|
+ app: frontend
|
|
|
+ status:
|
|
|
+ loadBalancer: {}
|
|
|
+- apiVersion: route.openshift.io/v1
|
|
|
+ kind: Route
|
|
|
+ metadata:
|
|
|
+ creationTimestamp: null
|
|
|
+ labels:
|
|
|
+ app: frontend
|
|
|
+ name: frontend
|
|
|
+ spec:
|
|
|
+ port:
|
|
|
+ targetPort: 8080
|
|
|
+ to:
|
|
|
+ kind: ""
|
|
|
+ name: frontend
|
|
|
+ weight: null
|
|
|
+ status:
|
|
|
+ ingress: null
|