-
Notifications
You must be signed in to change notification settings - Fork 0
/
lab10.yaml
92 lines (92 loc) · 2.1 KB
/
lab10.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
apiVersion: v1
items:
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
app.kubernetes.io/component: nginx
app.kubernetes.io/instance: nginx
name: nginx
spec:
lookupPolicy:
local: false
tags:
- annotations:
openshift.io/imported-from: bitnami/nginx
from:
kind: DockerImage
name: bitnami/nginx
generation: null
importPolicy: {}
name: latest
referencePolicy:
type: ""
status:
dockerImageRepository: ""
- apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"nginx:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"nginx\")].image"}]'
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
app.kubernetes.io/component: nginx
app.kubernetes.io/instance: nginx
name: nginx
spec:
replicas: 1
selector:
matchLabels:
deployment: nginx
strategy: {}
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
deployment: nginx
spec:
containers:
- image: ' '
name: nginx
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8443
protocol: TCP
resources: {}
status: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
app.kubernetes.io/component: nginx
app.kubernetes.io/instance: nginx
name: nginx
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
- name: 8443-tcp
port: 8443
protocol: TCP
targetPort: 8443
selector:
deployment: bginx
status:
loadBalancer: {}
kind: List
metadata: {}