Skip to content

Commit

Permalink
[Catalog] Update Catalog items
Browse files Browse the repository at this point in the history
Signed-off-by: l5io <[email protected]>
  • Loading branch information
leecalcote authored and l5io committed Sep 11, 2024
1 parent 18b36bc commit 25e5f6f
Show file tree
Hide file tree
Showing 6 changed files with 298 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 0.0.15
name: elastic-stack
displayName: elastic-stack
createdAt: "2024-08-18T11:02:49Z"
description: This YAML file deploys an Elasticsearch cluster (version 8.9.0) in Kubernetes, configured with roles including master, data, ingest, ML, and remote cluster client. It sets up a pod disruption budget to maintain high availability and specifies resource requests and limits for CPU, memory, and storage. Persistent storage is configured with a 2Gi volume using the standard-rwo storage class.
logoURL: https://raw.githubusercontent.com/meshery/meshery.io/0b8585231c6e2b3251d38f749259360491c9ee6b/assets/images/brand/meshery-logo.svg
license: Apache-2.0
homeURL: https://docs.meshery.io/concepts/logical/designs
links:
- name: download
url: ../../catalog/b7782414-0dd6-486d-ba77-888577e9fa2e/0.0.15/design.yml
- name: Meshery Catalog
url: https://meshery.io/catalog
readme: "Version Compatibility: Ensure Elasticsearch 8.9.0 matches your Kubernetes version and other components.\nResource Management: Adjust CPU, memory, and storage settings based on your specific needs.\nStorage Class: Confirm that the standard-rwo storage class is appropriate for your environment.\nPod Disruption: Verify the pod disruption budget settings align with your high-availability requirements.\nNode Selector: Modify the node selector if not using Google Cloud Platform.\nTesting: Test the configuration in a staging environment before production deployment.\n\n\n \n ##h4 Caveats and Consideration \n"
install: mesheryctl design import -f
provider:
name: 65a09154-3ae0-47c4-b19a-e0185ffb694f
screenshots:
- title: MeshMap Snapshot
url: https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/b7782414-0dd6-486d-ba77-888577e9fa2e-light.png
- title: MeshMap Snapshot
url: https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/b7782414-0dd6-486d-ba77-888577e9fa2e-dark.png
- title: Meshery Project
url: https://raw.githubusercontent.com/meshery/meshery.io/master/assets/images/logos/meshery-gradient.png
116 changes: 116 additions & 0 deletions catalog/b7782414-0dd6-486d-ba77-888577e9fa2e/0.0.15/design.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: elastic-stack
version: 0.0.15
services:
elasticsearch:
annotations: {}
apiVersion: elasticsearch.k8s.elastic.co/v1
dependsOn: []
id: null
isAnnotation: false
labels: {}
model: elasticsearch-operator
name: elasticsearch
namespace: elastic-system
settings:
spec:
node Sets:
- config:
node.roles:
- master
- data
- ingest
- ml
- remote_cluster_client
count: 3
name: default
pod Template:
metadata:
labels:
app.kubernetes.io/component: elasticsearch
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/part-of: elk
app.kubernetes.io/version: 8.9.0
spec:
containers:
- env:
- name: ES_JAVA_OPTS
value: -Xms2g -Xmx2g
name: elasticsearch
resources:
limits:
cpu: 1000m
ephemeral-storage: 1008Mi
memory: 4080Mi
requests:
cpu: 990m
ephemeral-storage: 1008Mi
memory: 4080Mi
init Containers:
- command:
- sh
- -c
- while true; do mmc=$(cat /proc/sys/vm/max_map_count); if test ${mmc}
-eq 262144; then exit 0; fi; sleep 1; done
name: max-map-count-check
resources:
limits:
cpu: 10m
ephemeral-storage: 16Mi
memory: 16Mi
requests:
cpu: 10m
ephemeral-storage: 16Mi
memory: 16Mi
node Selector:
cloud.google.com/compute-class: Balanced
volume Claim Templates:
- metadata:
name: elasticsearch-data
spec:
access Modes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storage Class Name: standard-rwo
pod Disruption Budget:
spec:
min Available: 2
selector:
match Labels:
elasticsearch.k8s.elastic.co/cluster-name: elasticsearch
version: 8.9.0
volume Claim Delete Policy: DeleteOnScaledownOnly
traits:
meshmap:
edges: []
fieldRefData: {}
id: 36f8ec84-42aa-4030-98b9-d5c3f3f9eb34
meshmodel-metadata:
capabilities: ""
defaultData: ""
genealogy: ""
isAnnotation: false
isModelAnnotation: "FALSE"
isNamespaced: true
logoURL: ""
model: elasticsearch-operator
modelDisplayName: elasticsearch-operator
primaryColor: '#FEC514'
secondaryColor: '#00D3A9'
shape: circle
shapePolygonPoints: ""
status: enabled
styleOverrides: ""
styles: ""
subCategory: ""
svgColor: ui/public/static/img/meshmodels/elasticsearch-operator/color/elasticsearch-operator-color.svg
svgComplete: ""
svgWhite: ui/public/static/img/meshmodels/elasticsearch-operator/white/elasticsearch-operator-white.svg
position:
posX: 0
posY: 1.5
whiteboardData:
style: {}
type: Elasticsearch
version: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 0.0.4
name: iscsi
displayName: iscsi
createdAt: "2024-08-16T10:46:09Z"
description: Connect Kubernetes clusters to iSCSI devices for scalable storage solutions, supporting direct or multipath connections with CHAP authentication.
logoURL: https://raw.githubusercontent.com/meshery/meshery.io/0b8585231c6e2b3251d38f749259360491c9ee6b/assets/images/brand/meshery-logo.svg
license: Apache-2.0
homeURL: https://docs.meshery.io/concepts/logical/designs
links:
- name: download
url: ../../catalog/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c/0.0.4/design.yml
- name: Meshery Catalog
url: https://meshery.io/catalog
readme: "Ensure compatibility of Kubernetes and iSCSI versions, configure network settings appropriately, and monitor performance and scalability of both storage and network infrastructure. \n ##h4 Caveats and Consideration \n"
install: mesheryctl design import -f
provider:
name: 65a09154-3ae0-47c4-b19a-e0185ffb694f
screenshots:
- title: MeshMap Snapshot
url: https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c-light.png
- title: MeshMap Snapshot
url: https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c-dark.png
- title: Meshery Project
url: https://raw.githubusercontent.com/meshery/meshery.io/master/assets/images/logos/meshery-gradient.png
94 changes: 94 additions & 0 deletions catalog/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c/0.0.4/design.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: iscsi
version: 0.0.4
services:
iscsipd:
annotations: {}
apiVersion: v1
dependsOn: []
id: null
isAnnotation: false
labels: {}
model: kubernetes
name: iscsipd
namespace: default
settings:
spec:
containers:
- image: kubernetes/pause
name: iscsipd-rw
volume Mounts:
- mount Path: /mnt/iscsipd
name: iscsipd-rw
volumes:
- iscsi:
fs Type: ext4
iqn: iqn.2001-04.com.example:storage.kube.sys1.xyz
lun: 0
portals:
- 10.0.2.16:3260
- 10.0.2.17:3260
read Only: true
target Portal: 10.0.2.15:3260
name: iscsipd-rw
traits:
meshmap:
edges: []
fieldRefData: {}
id: 7baabe41-f90e-4edb-86c7-1c79df18a5d7
meshmodel-metadata:
capabilities: |2-
{ "fieldRefs": [
{
"fieldPath": "spec.template.spec.containers",
"jsonSchemaPath": "properties.spec.allOf[0].properties.template.allOf[0].properties.spec.allOf[0].properties.containers.items.allOf[0]",
"component": {
"kind": "Container",
"model": "meshery-core"
},
"renderChildren": true
},
{
"fieldPath": "spec.template.spec.init Containers",
"jsonSchemaPath": "properties.spec.allOf[0].properties.template.allOf[0].properties.spec.allOf[0].properties.init Containers.items.allOf[0]",
"component": {
"kind": "Container",
"model": "meshery-core"
},
"renderChildren": true
}
],
"designer": {
"edit": {
"shape": {
"convert-shape": false
}
}
}
}
defaultData: ""
genealogy: parent
isAnnotation: false
isCustomResource: false
isModelAnnotation: "FALSE"
isNamespaced: true
logoURL: https://github.com/cncf/artwork/blob/master/projects/kubernetes/icon/white/kubernetes-icon-white.svg
model: kubernetes
modelDisplayName: Kubernetes
primaryColor: '#326CE5'
secondaryColor: '#7aa1f0'
shape: round-rectangle
shapePolygonPoints: ""
status: enabled
styleOverrides: '{"border-width":2,"background-opacity":0.5}'
styles: '{"border-width":2,"background-opacity":0.5}'
subCategory: ""
svgColor: ui/public/static/img/meshmodels/kubernetes/color/pod-color.svg
svgComplete: ui/public/static/img/meshmodels/kubernetes/complete/pod-complete.svg
svgWhite: ui/public/static/img/meshmodels/kubernetes/white/pod-white.svg
position:
posX: 0
posY: 1
whiteboardData:
style: {}
type: Pod
version: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: item
name: elastic-stack
publishedVersion: 0.0.15
userId: 65a09154-3ae0-47c4-b19a-e0185ffb694f
userName: shridhar kute
userAvatarURL: https://lh3.googleusercontent.com/a/ACg8ocJO5oe9gDlO9cSHCoVRuTOqRLlfnlf3W9cEdz7HVgGZBge5OQY=s96-c
type: observability
compatibility:
- elasticsearch-operator
patternId: b7782414-0dd6-486d-ba77-888577e9fa2e
image: https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/b7782414-0dd6-486d-ba77-888577e9fa2e-light.png,https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/b7782414-0dd6-486d-ba77-888577e9fa2e-dark.png
patternInfo: |
This%20YAML%20file%20deploys%20an%20Elasticsearch%20cluster%20(version%208.9.0)%20in%20Kubernetes%2C%20configured%20with%20roles%20including%20master%2C%20data%2C%20ingest%2C%20ML%2C%20and%20remote%20cluster%20client.%20It%20sets%20up%20a%20pod%20disruption%20budget%20to%20maintain%20high%20availability%20and%20specifies%20resource%20requests%20and%20limits%20for%20CPU%2C%20memory%2C%20and%20storage.%20Persistent%20storage%20is%20configured%20with%20a%202Gi%20volume%20using%20the%20standard-rwo%20storage%20class.
patternCaveats: |
Version%20Compatibility%3A%20Ensure%20Elasticsearch%208.9.0%20matches%20your%20Kubernetes%20version%20and%20other%20components.%0AResource%20Management%3A%20Adjust%20CPU%2C%20memory%2C%20and%20storage%20settings%20based%20on%20your%20specific%20needs.%0AStorage%20Class%3A%20Confirm%20that%20the%20standard-rwo%20storage%20class%20is%20appropriate%20for%20your%20environment.%0APod%20Disruption%3A%20Verify%20the%20pod%20disruption%20budget%20settings%20align%20with%20your%20high-availability%20requirements.%0ANode%20Selector%3A%20Modify%20the%20node%20selector%20if%20not%20using%20Google%20Cloud%20Platform.%0ATesting%3A%20Test%20the%20configuration%20in%20a%20staging%20environment%20before%20production%20deployment.%0A%0A%0A
permalink: catalog/observability/elastic-stack-b7782414-0dd6-486d-ba77-888577e9fa2e.html
URL: 'https://raw.githubusercontent.com/meshery/meshery.io/master/catalog/b7782414-0dd6-486d-ba77-888577e9fa2e/0.0.15/design.yml'
downloadLink: b7782414-0dd6-486d-ba77-888577e9fa2e/design.yml
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: item
name: iscsi
publishedVersion: 0.0.4
userId: 65a09154-3ae0-47c4-b19a-e0185ffb694f
userName: shridhar kute
userAvatarURL: https://lh3.googleusercontent.com/a/ACg8ocJO5oe9gDlO9cSHCoVRuTOqRLlfnlf3W9cEdz7HVgGZBge5OQY=s96-c
type: scaling
compatibility:
- kubernetes
patternId: ec728414-5dd9-48a0-9be4-2ca0dffa1f2c
image: https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c-light.png,https://raw.githubusercontent.com/layer5labs/meshery-extensions-packages/master/action-assets/design-assets/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c-dark.png
patternInfo: |
Connect%20Kubernetes%20clusters%20to%20iSCSI%20devices%20for%20scalable%20storage%20solutions%2C%20supporting%20direct%20or%20multipath%20connections%20with%20CHAP%20authentication.
patternCaveats: |
Ensure%20compatibility%20of%20Kubernetes%20and%20iSCSI%20versions%2C%20configure%20network%20settings%20appropriately%2C%20and%20monitor%20performance%20and%20scalability%20of%20both%20storage%20and%20network%20infrastructure.
permalink: catalog/scaling/iscsi-ec728414-5dd9-48a0-9be4-2ca0dffa1f2c.html
URL: 'https://raw.githubusercontent.com/meshery/meshery.io/master/catalog/ec728414-5dd9-48a0-9be4-2ca0dffa1f2c/0.0.4/design.yml'
downloadLink: ec728414-5dd9-48a0-9be4-2ca0dffa1f2c/design.yml
---

0 comments on commit 25e5f6f

Please sign in to comment.