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
l5io authored and l5io committed Sep 11, 2024
1 parent 665d738 commit 6a4980b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 117 deletions.
117 changes: 1 addition & 116 deletions catalog/b7782414-0dd6-486d-ba77-888577e9fa2e/0.0.15/design.yml
Original file line number Diff line number Diff line change
@@ -1,116 +1 @@
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: ""
{"id":"b7782414-0dd6-486d-ba77-888577e9fa2e","components":[{"capabilities":[{"description":"Initiate a performance test. Meshery will execute the load generation, collect metrics, and present the results.","displayName":"Performance Test","entityState":["instance"],"key":"","kind":"action","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"perf-test","type":"operator","version":"0.7.0"},{"description":"Configure the workload specific setting of a component","displayName":"Workload Configuration","entityState":["declaration"],"key":"","kind":"mutate","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"config","type":"configuration","version":"0.7.0"},{"description":"Configure Labels And Annotations for the component ","displayName":"Labels and Annotations Configuration","entityState":["declaration"],"key":"","kind":"mutate","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"labels-and-annotations","type":"configuration","version":"0.7.0"},{"description":"View relationships for the component","displayName":"Relationships","entityState":["declaration","instance"],"key":"","kind":"view","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"relationship","type":"configuration","version":"0.7.0"},{"description":"View Component Definition ","displayName":"Json Schema","entityState":["declaration","instance"],"key":"","kind":"view","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"definition","type":"configuration","version":"0.7.0"},{"description":"Configure the visual styles for the component","displayName":"Styling","entityState":["declaration"],"key":"","kind":"mutate","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"","type":"style","version":"0.7.0"},{"description":"Change the shape of the component","displayName":"Change Shape","entityState":["declaration"],"key":"","kind":"mutate","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"shape","type":"style","version":"0.7.0"},{"description":"Drag and Drop a component into a parent component in graph view","displayName":"Compound Drag And Drop","entityState":["declaration"],"key":"","kind":"interaction","metadata":null,"schemaVersion":"capability.meshery.io/v1alpha1","status":"enabled","subType":"compoundDnd","type":"graph","version":"0.7.0"}],"component":{"kind":"Elasticsearch","schema":"","version":"elasticsearch.k8s.elastic.co/v1"},"configuration":{"metadata":{"annotations":{},"labels":{},"namespace":"elastic-system"},"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"}},"description":"","displayName":"elasticsearch","format":"JSON","id":"36f8ec84-42aa-4030-98b9-d5c3f3f9eb34","metadata":{"dependsOn":[],"fieldRefData":{},"genealogy":"","isAnnotation":false,"isNamespaced":true,"published":false,"whiteboardData":{"style":{}}},"model":{"category":{"name":"Observability and Analysis"},"displayName":"Elastic Search","id":"2d878ce2-b779-1594-7baf-d9392c294ea6","metadata":{"isAnnotation":false,"primaryColor":"#FEC514","secondaryColor":"#00D3A9","shape":"circle","styleOverrides":"","svgColor":"ui/public/static/img/meshmodels/elasticsearch-operator/color/elasticsearch-operator-color.svg","svgWhite":"ui/public/static/img/meshmodels/elasticsearch-operator/white/elasticsearch-operator-white.svg"},"model":{"version":"v2.14.0"},"name":"elasticsearch-operator","registrant":{"created_at":"2024-09-10T14:48:00.148311188+08:00","credential_id":"00000000-0000-0000-0000-000000000000","deleted_at":"0001-01-01T00:00:00Z","id":"9e04779c-94b6-6a03-575c-66f4c57541eb","kind":"github","name":"Github","status":"registered","sub_type":"","type":"registry","updated_at":"2024-09-10T14:48:00.148311188+08:00","user_id":"00000000-0000-0000-0000-000000000000"},"connection_id":"9e04779c-94b6-6a03-575c-66f4c57541eb","schemaVersion":"models.meshery.io/v1beta1","status":"enabled","subCategory":"Logging","version":"v1.0.0","components":null,"relationships":null},"schemaVersion":"components.meshery.io/v1beta1","status":"enabled","styles":{"position":{"x":0,"y":1.5},"primaryColor":"#FEC514","secondaryColor":"#00D3A9","shape":"circle","svgColor":"ui/public/static/img/meshmodels/elasticsearch-operator/color/apmserver-color.svg","svgWhite":"ui/public/static/img/meshmodels/elasticsearch-operator/white/apmserver-white.svg"},"version":"v1.0.0"}],"name":"elastic-stack","relationships":[],"schemaVersion":"designs.meshery.io/v1beta1","version":"0.0.16"}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ 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
image: /assets/images/logos/service-mesh-pattern.svg
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: |
Expand Down

0 comments on commit 6a4980b

Please sign in to comment.