Skip to content

Commit

Permalink
prettier: automated run
Browse files Browse the repository at this point in the history
Signed-off-by: Tharun T <[email protected]>
  • Loading branch information
dottharun committed Jul 27, 2024
1 parent dd38b84 commit f412082
Show file tree
Hide file tree
Showing 1,580 changed files with 49,855 additions and 39,976 deletions.
66 changes: 33 additions & 33 deletions .desktop-lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
module.exports = {
"ci": {
"collect": {
"settings": {
"preset": "desktop"
},
"staticDistDir": "./public",
"url": [
ci: {
collect: {
settings: {
preset: "desktop"
},
staticDistDir: "./public",
url: [
"http://localhost/404/index.html?desktop",
"http://localhost/?desktop",
"http://localhost/company/about/index.html?desktop",
"http://localhost/cloud-native-management/meshery/index.html?desktop",
"http://localhost/cloud-native-management/meshmap/index.html?desktop",
"http://localhost/learn/learning-paths/index.html?desktop",
"http://localhost/learn/service-mesh-books/index.html?desktop",
"http://localhost/learn/service-mesh-workshops/index.html?desktop",
"http://localhost/learn/index.html?desktop",
"http://localhost/blog/index.html?desktop",
"http://localhost/resources/index.html?desktop",
"http://localhost/careers/index.html?desktop",
"http://localhost/community/members/index.html?desktop",
"http://localhost/community/meshmates/index.html?desktop",
"http://localhost/community/events/index.html?desktop",
"http://localhost/community/newcomers/index.html?desktop",
],
"http://localhost/cloud-native-management/meshery/index.html?desktop",
"http://localhost/cloud-native-management/meshmap/index.html?desktop",
"http://localhost/learn/learning-paths/index.html?desktop",
"http://localhost/learn/service-mesh-books/index.html?desktop",
"http://localhost/learn/service-mesh-workshops/index.html?desktop",
"http://localhost/learn/index.html?desktop",
"http://localhost/blog/index.html?desktop",
"http://localhost/resources/index.html?desktop",
"http://localhost/careers/index.html?desktop",
"http://localhost/community/members/index.html?desktop",
"http://localhost/community/meshmates/index.html?desktop",
"http://localhost/community/events/index.html?desktop",
"http://localhost/community/newcomers/index.html?desktop"
]
},
"assert": {
"assertions": {
"categories:performance": ["warn", {"minScore": .90}],
"categories:accessibility": ["warn", {"minScore": .90}],
"categories:best-practices": ["warn", {"minScore": .90}],
"categories:seo": ["warn", {"minScore": .90}],
}
},
"upload": {
"target": "temporary-public-storage",
},
assert: {
assertions: {
"categories:performance": ["warn", { minScore: 0.9 }],
"categories:accessibility": ["warn", { minScore: 0.9 }],
"categories:best-practices": ["warn", { minScore: 0.9 }],
"categories:seo": ["warn", { minScore: 0.9 }]
}
};
},
upload: {
target: "temporary-public-storage"
}
}
};
85 changes: 36 additions & 49 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,57 +1,51 @@
module.exports = {

"env": {
"browser": true,
"es6": true,
"node": true,
"amd": true
env: {
browser: true,
es6: true,
node: true,
amd: true
},
"settings": {
"react": {
"version": "detect"
settings: {
react: {
version: "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
extends: ["eslint:recommended", "plugin:react/recommended"],
parser: "@babel/eslint-parser",
parserOptions: {
ecmaFeatures: {
jsx: true
},
"ecmaVersion": 2018,
"sourceType": "module"
ecmaVersion: 2018,
sourceType: "module"
},
"plugins": [
"react"
],
"rules": {
plugins: ["react"],
rules: {
"array-bracket-spacing": ["error", "never"],
"comma-style": ["error"],
"arrow-spacing": [
"error",
{
"after": true,
"before": true
after: true,
before: true
}
],
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": [
"error",
"1tbs"
],
"brace-style": ["error", "1tbs"],
"jsx-quotes": ["error", "prefer-double"],
"keyword-spacing": "error",
"key-spacing": ["error", {
"beforeColon": false,
"afterColon": true,
}],
"key-spacing": [
"error",
{
beforeColon: false,
afterColon: true
}
],
"no-unused-vars": [
"warn",
{
"varsIgnorePattern": "React"
varsIgnorePattern: "React"
}
],
"no-trailing-spaces": "error",
Expand All @@ -71,28 +65,21 @@ module.exports = {
// ignoredNodes: ["TemplateLiteral"]
// }
// ],
"linebreak-style": [
"error",
"unix"
],
"linebreak-style": ["error", "unix"],
// "quotes": [
// "error",
// "double"
// ],
"semi": [
"error",
"always"
],
"strict": 0,
semi: ["error", "always"],
strict: 0,
"valid-typeof": 0,
"space-unary-ops": [
1, {
"words": true,
"nonwords": false
1,
{
words: true,
nonwords: false
}
],
"space-infix-ops": [
"error"
]
"space-infix-ops": ["error"]
}
};
70 changes: 35 additions & 35 deletions .lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
module.exports = {
"ci": {
"collect": {
"staticDistDir": "./public",
"url" : [
"http://localhost/404.html",
"http://localhost/404/index.html",
"http://localhost",
"http://localhost/company/about/index.html",
"http://localhost/cloud-native-management/meshery/index.html",
"http://localhost/cloud-native-management/meshmap/index.html",
"http://localhost/learn/learning-paths/index.html",
"http://localhost/learn/service-mesh-books/index.html",
"http://localhost/learn/service-mesh-workshops/index.html",
"http://localhost/learn/index.html",
"http://localhost/blog/index.html",
"http://localhost/resources/index.html",
"http://localhost/careers/index.html",
"http://localhost/community/members/index.html",
"http://localhost/community/meshmates/index.html",
"http://localhost/community/events/index.html",
"http://localhost/community/newcomers/index.html",
],
},
"assert": {
"assertions": {
"categories:performance": ["warn", {"minScore": .90}],
"categories:accessibility": ["warn", {"minScore": .90}],
"categories:best-practices": ["warn", {"minScore": .90}],
"categories:seo": ["warn", {"minScore": .90}],
}
},
"upload": {
"target": "temporary-public-storage",
},
ci: {
collect: {
staticDistDir: "./public",
url: [
"http://localhost/404.html",
"http://localhost/404/index.html",
"http://localhost",
"http://localhost/company/about/index.html",
"http://localhost/cloud-native-management/meshery/index.html",
"http://localhost/cloud-native-management/meshmap/index.html",
"http://localhost/learn/learning-paths/index.html",
"http://localhost/learn/service-mesh-books/index.html",
"http://localhost/learn/service-mesh-workshops/index.html",
"http://localhost/learn/index.html",
"http://localhost/blog/index.html",
"http://localhost/resources/index.html",
"http://localhost/careers/index.html",
"http://localhost/community/members/index.html",
"http://localhost/community/meshmates/index.html",
"http://localhost/community/events/index.html",
"http://localhost/community/newcomers/index.html"
]
},
assert: {
assertions: {
"categories:performance": ["warn", { minScore: 0.9 }],
"categories:accessibility": ["warn", { minScore: 0.9 }],
"categories:best-practices": ["warn", { minScore: 0.9 }],
"categories:seo": ["warn", { minScore: 0.9 }]
}
},
upload: {
target: "temporary-public-storage"
}
};
}
};
12 changes: 6 additions & 6 deletions content-learn/mastering-kubernetes-for-engineers/index.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: 'Mastering Kubernetes for Engineers'
description: 'Learn how to configure your Kubernetes clusters and manage the lifecycle of your workloads'
title: "Mastering Kubernetes for Engineers"
description: "Learn how to configure your Kubernetes clusters and manage the lifecycle of your workloads"
order: 4
themeColor: '#3C494F'
cardImage: '../../src/assets/images/meshery/icon-only/meshery-logo-light.webp'
themeColor: "#3C494F"
cardImage: "../../src/assets/images/meshery/icon-only/meshery-logo-light.webp"
courses: 0
disabled: yes
---

<!--
<!--
This file is only used to render the courses list within a learning path.
Check the Learn-Layer5 folder under src/sections/, src/templates for more understanding of how the data is used
-->
-->
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,19 @@ lectures: 8
cardImage: "../../../src/assets/images/service-mesh-icons/istio-white.svg"
meshesYouLearn:
[
{
imagepath: "../../../src/assets/images/service-mesh-icons/istio.svg",
name: "Istio",
},
{
imagepath: "../../../src/assets/images/service-mesh-icons/linkerd.webp",
name: "Linkerd",
}
{ imagepath: "../../../src/assets/images/service-mesh-icons/istio.svg", name: "Istio" },
{ imagepath: "../../../src/assets/images/service-mesh-icons/linkerd.webp", name: "Linkerd" }
]
toc:
[
'getting-started',
'deploy-an-application',
'expose-services',
'observability',
'traffic-management',
'service-security-capabilities',
'webassembly-and-intelligent-data-planes',
'conclusion',
"getting-started",
"deploy-an-application",
"expose-services",
"observability",
"traffic-management",
"service-security-capabilities",
"webassembly-and-intelligent-data-planes",
"conclusion"
]
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ To play with Istio and demonstrate some of it's capabilities, you will deploy th

<h2 className="chapter-sub-heading">What is the Bookinfo Application </h2>
<br />
This application is a polyglot composition of microservices are written in
different languages and sample BookInfo application displays information about a
book, similar to a single catalog entry of an online book store. Displayed on
the page is a description of the book, book details (ISBN, number of pages, and
so on), and a few book reviews.
This application is a polyglot composition of microservices are written in different languages and
sample BookInfo application displays information about a book, similar to a single catalog entry of
an online book store. Displayed on the page is a description of the book, book details (ISBN, number
of pages, and so on), and a few book reviews.

The end-to-end architecture of the application is shown in the figure.

Expand All @@ -33,9 +32,9 @@ The end-to-end architecture of the application is shown in the figure.
_Figure: BookInfo deployed off the mesh_

<br />
It’s worth noting that these services have no dependencies on Istio, but make an
interesting service mesh example, particularly because of the multitude of services,
languages and versions for the reviews service.
It’s worth noting that these services have no dependencies on Istio, but make an interesting service
mesh example, particularly because of the multitude of services, languages and versions for the
reviews service.

As shown in the figure below, proxies are sidecarred to each of the application containers.

Expand All @@ -47,10 +46,10 @@ As shown in the figure below, proxies are sidecarred to each of the application
_Figure: BookInfo deployed on the mesh_

<br />
Sidecars proxy can be either manually or automatically injected into the pods. Automatic
sidecar injection requires that your Kubernetes api-server supports `admissionregistration.k8s.io/v1`
or `admissionregistration.k8s.io/v1beta1` or `admissionregistration.k8s.io/v1beta2`
APIs. Verify whether your Kubernetes deployment supports these APIs by executing:
Sidecars proxy can be either manually or automatically injected into the pods. Automatic sidecar
injection requires that your Kubernetes api-server supports `admissionregistration.k8s.io/v1` or
`admissionregistration.k8s.io/v1beta1` or `admissionregistration.k8s.io/v1beta2` APIs. Verify
whether your Kubernetes deployment supports these APIs by executing:

```sh
kubectl api-versions | grep admissionregistration
Expand All @@ -66,8 +65,8 @@ As part of Istio deployment in [Previous chapter](./getting-started), you have d
</h2>

<br />
Istio, deployed as part of this workshop, will also deploy the sidecar injector.
Let us now verify sidecar injector deployment.
Istio, deployed as part of this workshop, will also deploy the sidecar injector. Let us now verify
sidecar injector deployment.

```sh
kubectl -n istio-system get configmaps istio-sidecar-injector
Expand Down Expand Up @@ -170,9 +169,7 @@ Applying this yaml file included in the Istio package you collected in [Getting
kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
```

<h4 class="chapter-alt-heading">
Deploy Gateway and Virtual Service for BookInfo app
</h4>
<h4 class="chapter-alt-heading">Deploy Gateway and Virtual Service for BookInfo app</h4>

```sh
kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
Expand Down
Loading

0 comments on commit f412082

Please sign in to comment.