File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : v1
3+ kind : ServiceAccount
4+ metadata :
5+ name : meshery
6+ namespace : meshery
7+ ---
8+ apiVersion : rbac.authorization.k8s.io/v1
9+ kind : ClusterRoleBinding
10+ metadata :
11+ name : smi-conformance
12+ namespace : meshery
13+ subjects :
14+ - kind : ServiceAccount
15+ name : meshery
16+ namespace : meshery
17+ roleRef :
18+ kind : ClusterRole
19+ name : cluster-admin
20+ apiGroup : rbac.authorization.k8s.io
21+ ---
22+ apiVersion : v1
23+ kind : Service
24+ metadata :
25+ name : smi-conformance
26+ namespace : meshery
27+ labels :
28+ app.kubernetes.io/name : smi-conformance
29+ spec :
30+ type : NodePort
31+ ports :
32+ - port : 10011
33+ targetPort : grpc
34+ protocol : TCP
35+ name : smi-conformance
36+ selector :
37+ app.kubernetes.io/name : smi-conformance
38+ ---
39+ apiVersion : apps/v1
40+ kind : Deployment
41+ metadata :
42+ name : smi-conformance
43+ namespace : meshery
44+ labels :
45+ app.kubernetes.io/name : smi-conformance
46+ spec :
47+ replicas : 1
48+ selector :
49+ matchLabels :
50+ app.kubernetes.io/name : smi-conformance
51+ strategy :
52+ rollingUpdate :
53+ maxSurge : 10%
54+ maxUnavailable : 0
55+ type : RollingUpdate
56+ template :
57+ metadata :
58+ labels :
59+ app.kubernetes.io/name : smi-conformance
60+ spec :
61+ serviceAccountName : meshery
62+ containers :
63+ - name : smi-conformance
64+ image : " layer5/learn-layer5:smi"
65+ imagePullPolicy : Always
66+ ports :
67+ - name : grpc
68+ containerPort : 10011
69+ protocol : TCP
70+ resources :
71+ limits :
72+ cpu : 500m
73+ memory : 1000Mi
74+ requests :
75+ cpu : 200m
76+ memory : 500Mi
77+ restartPolicy : Always
You can’t perform that action at this time.
0 commit comments