Skip to content

Commit 20a246b

Browse files
authored
Merge branch 'master' into aryanshah/fix_spacing_code
2 parents f9c102c + 782b4af commit 20a246b

File tree

20 files changed

+316
-298
lines changed

20 files changed

+316
-298
lines changed

content-learn/mastering-meshery/introduction-to-meshery/meshery/interpreting-meshery-designs.mdx

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Let's explore a few of these categories.
9393
1. **Triangles**:
9494

9595
<img
96+
class="image-design-icons"
9697
src={Triangles}
9798
align="center"
9899
width="25%"
@@ -105,9 +106,10 @@ Let's explore a few of these categories.
105106
- **Examples**: API Service, Service.
106107

107108

108-
1. **Rectangles**:
109+
2. **Rectangles**:
109110

110111
<img
112+
class="image-design-icons"
111113
src={Rectangles}
112114
align="center"
113115
width="25%"
@@ -121,9 +123,10 @@ Let's explore a few of these categories.
121123

122124
- **Examples**: Namespace, Node, Pod, ReplicaSet, DaemonSet, Horizontal Pod Autoscaler.
123125

124-
1. **User Icons**:
126+
3. **User Icons**:
125127

126128
<img
129+
class="image-design-icons"
127130
src={Users}
128131
align="center"
129132
width="25%"
@@ -135,9 +138,10 @@ Let's explore a few of these categories.
135138

136139
- **Examples**: ClusterRole, Role, Service Account etc.
137140

138-
1. **Cylinders**:
141+
4. **Cylinders**:
139142

140143
<img
144+
class="image-design-icons"
141145
src={Cylinders}
142146
align="center"
143147
width="25%"
@@ -163,6 +167,7 @@ Note that users have the flexibility to **customize** these arrow styles to suit
163167
**Edge Relationships**
164168

165169
<img
170+
class="image-design-icons"
166171
src={DashedArrows}
167172
align="center"
168173
width="25%"
@@ -173,6 +178,7 @@ These are used to indicate traffic flow and relationships between components. Th
173178
**Annotations**
174179

175180
<img
181+
class="image-design-icons"
176182
src={AnnotationArrow}
177183
align="center"
178184
width="25%"
@@ -185,6 +191,7 @@ These are used to denote annotations or static connections between components. T
185191
1. **Edge-Network Relationship**: Represented by a dashed arrow with **port/network protocol**.
186192

187193
<img
194+
class="image-design-icons"
188195
src={NetworkEdgeRelationship}
189196
align="center"
190197
width="50%"
@@ -205,6 +212,7 @@ These are used to denote annotations or static connections between components. T
205212
The intermediary component (such as a RoleBinding) connects the two, defining how permissions are assigned. For example, a dashed arrow from a `Role` to a `ServiceAccount` with a `RoleBinding` in the middle shows the connection established by the RoleBinding, which links the specific role to the service account and grants the appropriate permissions.
206213

207214
<img
215+
class="image-design-icons"
208216
src={EdgePermissions}
209217
align="center"
210218
width="50%"
@@ -213,7 +221,8 @@ The intermediary component (such as a RoleBinding) connects the two, defining ho
213221
**Creating Edge-Permission Relationships Between Components**
214222

215223
<a href={edgePermissionGif}>
216-
<img src={edgePermissionGif} width="100%" align="center" />
224+
<img src={edgePermissionGif} width="100%" align="center"
225+
/>
217226
</a>
218227

219228

@@ -227,20 +236,17 @@ Meshery extends and offers support for numerous [integrations](https://docs.mesh
227236
In Meshery, these integrated components are distinctly represented by their specific logos as icons and various shapes. These components can be found in `Components` in the dock.
228237

229238
<img
239+
class="image-design-icons"
230240
src={Integrations}
231241
align="center"
232242
width="50%"
233-
style={{
234-
marginTop: '20px',
235-
marginBottom: '20px',
236-
}}
237243
/>
238244
<h5 class="chapter-sub-heading">_Example of integration components in Meshery_</h5>
239245

240246
Below is a Meshery Design with AWS Components.
241247

242248
<MesheryDesignEmbed
243-
style={{ border: "1px solid #eee" }}
249+
style={{ border: "1px solid #eee" , margin: "15px 0px 15px 0px"}}
244250
embedId="embedded-design-79d1f362-39b3-46f2-b658-42a16984f88e"
245251
embedScriptSrc="/embed-test/embedded-design-awscomplex.js"
246252
/>
@@ -271,14 +277,15 @@ Annotations can be created using Meshery's Diagramming tools found in the dock a
271277
1. **Images**: Images can be added to the design to represent components, logos, or any visual aid that supports understanding the architecture.
272278

273279
<a href={AnnotationExampleGif}>
274-
<img src={AnnotationExampleGif} width="100%" align="center" />
280+
<img src={AnnotationExampleGif} width="100%" align="center"
281+
/>
275282
</a>
276283

277284

278285
The design below includes annotations such as sections, images, arrows, and various shapes.
279286

280287
<MesheryDesignEmbed
281-
style={{ border: "1px solid #eee" }}
288+
style={{ border: "1px solid #eee" , margin: "15px 0px 15px 0px"}}
282289
embedId="embedded-design-a83f0098-2f91-4275-b075-c8676e842804"
283290
embedScriptSrc="/embed-test/embedded-design-annotations-example.js"
284291
/>
@@ -292,14 +299,16 @@ While default shapes, colors, and icons are provided for components and annotati
292299
**Customizing Kubernetes Components**
293300

294301
<a href={CustomizeKubernetesGif}>
295-
<img src={CustomizeKubernetesGif} width="100%" align="center" />
302+
<img src={CustomizeKubernetesGif} width="100%" align="center"
303+
/>
296304
</a>
297305

298306

299307
**Creating and Customizing Arrow Annotations**
300308

301309
<a href={CreateAnnotationGif}>
302-
<img src={CreateAnnotationGif} width="100%" align="center" />
310+
<img src={CreateAnnotationGif} width="100%" align="center"
311+
/>
303312
</a>
304313

305314

root-wrapper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import { ContextWrapper } from "./context-wrapper";
99
// Custom image component for better CLS scores
1010
const OptimizedImage = props => {
1111
return (
12-
<div style={{ width: "100%", height: "auto", aspectRatio: props.aspectRatio || "16/9", overflow: "hidden" }}>
12+
<div style={{ width: "100%", height: "auto" }}>
1313
<img
1414
{...props}
1515
width={props.width || "100%"}
1616
height={props.height || "auto"}
1717
style={{
18-
objectFit: props.objectFit || "cover",
19-
aspectRatio: props.aspectRatio || "16/9",
18+
objectFit: props.objectFit || "contain",
19+
margin: "20px 0px",
2020
...props.style
2121
}}
2222
loading="lazy"
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

src/collections/integrations/aws-elasticache-controller/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ components: [
6262
"colorIcon": "icons/components/cache-cluster/icons/color/cache-cluster-color.svg",
6363
"whiteIcon": "icons/components/cache-cluster/icons/white/cache-cluster-white.svg",
6464
"description": "",
65+
},
66+
{
67+
"name": "serverless-cache",
68+
"colorIcon": "icons/components/serverless-cache/icons/color/serverless-cache-color.svg",
69+
"whiteIcon": "icons/components/serverless-cache/icons/white/serverless-cache-white.svg",
70+
"description": "",
6571
}]
6672
featureList: [
6773
"Fully managed Redis and Memcached",
Lines changed: 11 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading

src/collections/integrations/pulsar-resources-operator/index.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@ components: [
140140
"colorIcon": "icons/components/secret/icons/color/secret-color.svg",
141141
"whiteIcon": "icons/components/secret/icons/white/secret-white.svg",
142142
"description": "",
143+
},
144+
{
145+
"name": "role-binding",
146+
"colorIcon": "icons/components/role-binding/icons/color/role-binding-color.svg",
147+
"whiteIcon": "icons/components/role-binding/icons/white/role-binding-white.svg",
148+
"description": "",
149+
},
150+
{
151+
"name": "role-binding",
152+
"colorIcon": "icons/components/role-binding/icons/color/role-binding-color.svg",
153+
"whiteIcon": "icons/components/role-binding/icons/white/role-binding-white.svg",
154+
"description": "",
143155
}]
144156
featureList: [
145157
"Automates Pulsar resource management",
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Naman Verma
3+
position: Contributor
4+
image_path: ./naman.jpeg
5+
github: Namanv0509
6+
twitter: explorers_111
7+
linkedin: naman-verma-6948a72a5/
8+
layer5: f6bedf26-411c-474b-89cb-3d7cf9f97ef2
9+
location: Diu, India
10+
bio: Hey everyone, I'm Naman Verma, a student at the Indian Institute of Information Technology, Jabalpur. I'm passionate about diving into all things tech, always eager to explore new ideas. Currently leveling up myself and contributing to the community to make a positive impact.
11+
status: Active
12+
published: true
13+
---

0 commit comments

Comments
 (0)