From 5ddc1d10b8acc46dc2768521315cac6fd5c5e093 Mon Sep 17 00:00:00 2001 From: neelanjan00 Date: Tue, 3 Oct 2023 10:48:23 +0530 Subject: [PATCH 1/3] fixes broken links, adds missing icons and updates readme Signed-off-by: neelanjan00 --- README.md | 100 +++++++++--------- experiments/bank-of-anthos/experiment.yaml | 2 +- .../bank-of-anthos/experiment_cron.yaml | 2 +- experiments/icons/namespaced-scope-chaos.png | Bin 0 -> 959 bytes experiments/icons/node-cpu-hog.png | Bin 0 -> 2453 bytes experiments/icons/node-memory-hog.png | Bin 0 -> 1571 bytes experiments/icons/pod-cpu-hog.png | Bin 0 -> 2078 bytes experiments/icons/pod-delete.png | Bin 0 -> 959 bytes experiments/icons/pod-memory-hog.png | Bin 0 -> 1516 bytes experiments/podtato-head/experiment.yaml | 2 +- experiments/podtato-head/experiment_cron.yaml | 2 +- .../sock-shop-promProbe/experiment.yaml | 2 +- .../sock-shop-promProbe/experiment_cron.yaml | 2 +- experiments/sock-shop/experiment.yaml | 2 +- experiments/sock-shop/experiment_cron.yaml | 2 +- 15 files changed, 58 insertions(+), 58 deletions(-) create mode 100644 experiments/icons/namespaced-scope-chaos.png create mode 100644 experiments/icons/node-cpu-hog.png create mode 100644 experiments/icons/node-memory-hog.png create mode 100644 experiments/icons/pod-cpu-hog.png create mode 100644 experiments/icons/pod-delete.png create mode 100644 experiments/icons/pod-memory-hog.png diff --git a/README.md b/README.md index a0cc89a48..eec2c1391 100644 --- a/README.md +++ b/README.md @@ -7,210 +7,210 @@ [![YouTube Channel](https://img.shields.io/badge/YouTube-Subscribe-red)](https://www.youtube.com/channel/UCa57PMqmz_j0wnteRa9nCaw)

-This repository hosts the Litmus Chaos Charts. A set of related chaos experiments are bundled into a Chaos Chart. Chaos Charts are classified into the following categories. +This repository hosts the Litmus Chaos Charts. A set of related chaos faults are bundled into a Chaos Chart. Chaos Charts are classified into the following categories. -- [Generic Chaos](#generic-chaos) +- [Kubernetes Chaos](#kubernetes-chaos) - [Application Chaos](#application-chaos) - [Platform Chaos](#platform-chaos) -### Generic Chaos +### Kubernetes Chaos -Chaos actions that apply to generic Kubernetes resources are classified into this category. Following chaos experiments are supported under Generic Chaos Chart +Chaos faults that apply to Kubernetes resources are classified in this category. Following chaos faults are supported for Kubernetes: - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
Experiment Name Fault Name Description Link
Container Kill Kill one container in the application pod container-kill container-kill
Disk Fill Fill the Ephemeral Storage of the Pod disk-fill disk-fill
Docker Service Kill Kill docker service of the target node docker-service-kill docker-service-kill
Kubelet Service Kill Kill kubelet service of the target node kubelet-service-kill kubelet-service-kill
Node CPU Hog Stress the cpu of the target node node-cpu-hog node-cpu-hog
Node Drain Drain the target node node-drain node-drain
Node IO Stress Stress the IO of the target node node-io-stress node-io-stress
Node Memory Hog Stress the memory of the target node node-memory-hog node-memory-hog
Node Restart Restart the target node node-restart node-restart
Node Taint Taint the target node node-taint node-taint
Pod Autoscaler Scale the replicas of the target application pod-autoscaler pod-autoscaler
Pod CPU Hog Stress the CPU of the target pod pod-cpu-hog pod-cpu-hog
Pod Delete Delete the target pods pod-delete pod-delete
Pod DNS Spoof Spoof dns requests to desired target hostnames pod-dns-spoof pod-dns-spoof
Pod DNS Error Error the dns requests of the target pod pod-dns-error pod-dns-error
Pod IO Stress Stress the IO of the target pod pod-io-stress pod-io-stress
Pod Memory Hog Stress the memory of the target pod pod-memory-hog pod-memory-hog
Pod Network Latency Induce the network latency in target pod pod-network-latency pod-network-latency
Pod Network Corruption Induce the network packet corruption in target pod pod-network-corruption pod-network-corruption
Pod Network Duplication Induce the network packet duplication in target pod pod-network-duplication pod-network-duplication
Pod Network Loss Induce the network loss in target pod pod-network-loss pod-network-loss
Pod Network Partition Disrupt network connectivity to kubernetes pods pod-network-partition pod-network-partition
### Application Chaos -While Chaos Experiments under the Generic category offer the ability to induce chaos into Kubernetes resources, it is difficult to analyze and conclude if the chaos induced found a weakness in a given application. The application specific chaos experiments are built with some checks on *pre-conditions* and some expected outcomes after the chaos injection. The result of the chaos experiment is determined by matching the outcome with the expected outcome. +While chaos faults under the Kubernetes category offer the ability to induce chaos into Kubernetes resources, it is difficult to analyze and conclude if the induced chaos found a weakness in a given application. The application specific chaos faults are built with some checks on *pre-conditions* and some expected outcomes after the chaos injection. The result of the chaos faults is determined by matching the outcome with the expected outcome. - + - - - + + +
Experiment Name Fault Category Description Link
OpenEBS Experiments Injects faults in OpenEBS tool OpenEBS experiments Spring Boot Faults Injects faults in Spring Boot applications Spring Boot Faults
### Platform Chaos -Chaos experiments that inject chaos into the platform resources of Kubernetes are classified into this category. Management of platform resources vary significantly from each other, Chaos Charts may be maintained separately for each platform (For example, AWS, GCP, Azure, VMWare etc) +Chaos faults that inject chaos into the platform and infrastructure resources are classified into this category. Management of platform resources vary significantly from each other, Chaos Charts may be maintained separately for each platform (For example: AWS, GCP, Azure, VMWare etc.) -Following Platform Chaos experiments are available on ChaosHub +Following chaos faults are classified in this category: - + - + - + - + - + - + - + - + - +
Experiment Name Fault Category Description Link
AWS Experiments AWS Faults AWS Platform specific chaos AWS Experiments AWS Faults
Azure Experiments Azure Faults Azure Platform specific chaos Azure Experiments Azure Faults
GCP Experiments GCP Faults GCP Platform specific chaos GCP Experiments GCP Faults
VMWare Experiments VMWare Faults VMWare Platform specific chaos VMWare Experiments VMWare Faults
-## Installation Steps for Chart Releases +## Installation Steps for Chart Releases *Note: Supported from release 1.1.0* -- To install the chaos experiments from a specific chart for a given release, execute the following commands +- To install the chaos faults from a specific chart for a given release, execute the following commands with the desired ``, `` & `` ```bash ## downloads and unzips the released source tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/.tar.gz) -## installs the chaosexperiment resources +## installs the chaosexperiment resources find chaos-charts- -name experiments.yaml | grep | xargs kubectl apply -n -f -``` -- For example, to install the *generic* experiment chart bundle for release *1.1.0*, in the *sock-shop* namespace, run: +``` +- For example, to install the *Kubernetes* fault chart bundle for release *1.1.0*, in the *sock-shop* namespace, run: ```bash tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/1.1.0.tar.gz) find chaos-charts-1.1.0 -name experiments.yaml | grep generic | xargs kubectl apply -n sock-shop -f ``` -- If you would like to install a specific experiment, replace the `experiments.yaml` in the above command with the relative -path of the experiment manifest within the parent chart. For example, to install only the *pod-delete* experiment, run: +- If you would like to install a specific fault, replace the `experiments.yaml` in the above command with the relative +path of the experiment manifest within the parent chart. For example, to install only the *pod-delete* experiment, run: ```bash find chaos-charts-1.1.0 -name experiment.yaml | grep 'generic/pod-delete' | xargs kubectl apply -n sock-shop -f diff --git a/experiments/bank-of-anthos/experiment.yaml b/experiments/bank-of-anthos/experiment.yaml index 7d086dcea..d2df012b0 100644 --- a/experiments/bank-of-anthos/experiment.yaml +++ b/experiments/bank-of-anthos/experiment.yaml @@ -41,7 +41,7 @@ spec: image: litmuschaos/k8s:latest command: [sh, -c] args: - - "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n + - "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=faults/kubernetes/experiments.yaml -n {{workflow.parameters.adminModeNamespace}} ; sleep 30" - name: pod-network-loss diff --git a/experiments/bank-of-anthos/experiment_cron.yaml b/experiments/bank-of-anthos/experiment_cron.yaml index 3222b997f..8e5b8e076 100644 --- a/experiments/bank-of-anthos/experiment_cron.yaml +++ b/experiments/bank-of-anthos/experiment_cron.yaml @@ -45,7 +45,7 @@ spec: image: litmuschaos/k8s:latest command: [sh, -c] args: - - "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n + - "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=faults/kubernetes/experiments.yaml -n {{workflow.parameters.adminModeNamespace}} ; sleep 30" - name: pod-network-loss diff --git a/experiments/icons/namespaced-scope-chaos.png b/experiments/icons/namespaced-scope-chaos.png new file mode 100644 index 0000000000000000000000000000000000000000..16aa7b417698ef0d66f130fe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^>j;b&X5~xCUwPkg&BL`0YzX&R*Cth+m4PIc~*Uo{=0@AR%(*)NISe$p{{SNa= zt!Ozt@nLYnz;L|keeGZtFymA42uek~z`E}%J&b|AIDvT!P1 zth*SaDyy*Yb9C2FrkMqlHP*-DywhKogfqZZtot7Q?D?ASVRzu|d*C&^)z)%~+pRH+ z1DRu>lMxagB0DxVM9iy%S(QzJ4d5j-!t=xVEbu_i^CA~yxi51S_S%8O@@6PWHGBYfPM<^FGx(#{F1{LpmwF=lepZfJV^vj|@LP(*wK_|+3yFG8lm%D+ zj9jQXesCgf;*pJei_CG>Zg5D=B6IrT(IRtNZzvmAw>gk_1K*{kifD$B!x3{!mZu(h;J7TjS)njnIMQ3P!KJkAX-2{w19$;fGN=MGDZT9frgh!67Uz$@N&i| zomx(Z(CV|JoslvOV^YTt!KWOYY zf#Q8)eNye05%fY)#3*RWF+*LcwyscfYf4E-I%7Ht#b1fB9!Wtl&HEY4$x?f9 literal 0 HcmV?d00001 diff --git a/experiments/icons/pod-cpu-hog.png b/experiments/icons/pod-cpu-hog.png new file mode 100644 index 0000000000000000000000000000000000000000..c152ab51866cfcfcf610aa67ad96de484026662b GIT binary patch literal 2078 zcmV+(2;ujMP)N(1dAV4H@}5-BF2C2UX@CK?vHfrv3~bionpGl6Dd2`C;oj86bF;!~;Ye)69MV8oHkP?wFsW5A60 z)N_c56sGr?iFg{#wki{S5nx6<@odRs(bya?0)65zM&LWZ5IX)z5>wBB8GBK{2rwl2 z$I@tnUU}mkk)^%Y*`DDO|{wk+>B%uFyl#b!8X>l3-K^@CESdJT?EqT!|@Mk zrxD1^NZ1KT$G`TCY2j+BtJoUJvWP&0tC6r0kdA*Cbu@L+jU}9ngq46XGW(zrr{3pe zB&-CClI}~V=s;6inn(mPG7?@9IN=0s=|7i~k+2aE$3H2GI{rzhsc;KrTkYMnGx|ZJP8&I2s8H0VfkF+xXY)kir~|goS`~ zJadY^-1EGQgiSYQ+t&5gZKr5oxzV|0oruzxto<^tRImt%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xAi9ycJjs#-W zEEMv$oT)~TB|4swR{3J8jfq}l-A2?)B#s4QS_{+qZZ=AKLC~hS9QQ{oIUZ85g`z~z zy0fbRt>=k|wE(V)AW3v35K;Kz(I}}TC=y+#RAl5HgW=rtl#Yi$r9@$Y7!R=}&F+pWzrd0Mc8$r#yG`a?7h+$FicRKSyTWw*Sj^V0F0b+Y zG6&h+2{kD;X{y4P3vI9f_06{?WoG=l&<0V5vl3JTD)IGFFKZhxN2Hf4dblP8h5TK8 zsaGY~JpTK{RqNbb?b=TsQHS^T~QK2SVwz^Vw~CAIpXkG zMS`${zU_%1`igZyv_L_$KtZ%XL9{?Yv_L^1Fhv@-j6vWSY21>Az#mBCmO-O<*K*v1 zR^L0?87ads_B8Pa+>Q1v(l})RAFM2l`yun;Bx&sOZt0fr8}6mg-FbiyCrDF|lPvG; z(kIp4jG&(i5)-5;#~SL2y>%U<)^`_0;vUlpD!e7eRwPA*GVgnCr;7Pv1OEfjsCZ#C S2e4KE0000 Date: Tue, 3 Oct 2023 12:05:03 +0530 Subject: [PATCH 2/3] fixes broken icon links, removes trailing dashes from experiment names Signed-off-by: neelanjan00 --- experiments/bank-of-anthos/experiment.yaml | 2 +- experiments/bank-of-anthos/experiment_cron.yaml | 2 +- experiments/namespaced-scope-chaos/experiment.yaml | 2 +- experiments/node-cpu-hog/experiment.yaml | 2 +- experiments/node-memory-hog/experiment.yaml | 2 +- experiments/pod-cpu-hog/experiment.yaml | 2 +- experiments/pod-delete/experiment.yaml | 2 +- experiments/pod-memory-hog/experiment.yaml | 2 +- experiments/podtato-head/experiment.yaml | 2 +- experiments/sock-shop-promProbe/experiment.yaml | 2 +- experiments/sock-shop-promProbe/experiment_cron.yaml | 2 +- experiments/sock-shop/experiment.yaml | 2 +- experiments/sock-shop/experiment_cron.yaml | 2 +- faults/aws/aws.chartserviceversion.yaml | 2 +- faults/azure/azure.chartserviceversion.yaml | 2 +- faults/gcp/gcp.chartserviceversion.yaml | 2 +- faults/kubernetes/kubernetes.chartserviceversion.yaml | 2 +- faults/spring-boot/spring-boot.chartserviceversion.yaml | 2 +- faults/vmware/vmware.chartserviceversion.yaml | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/experiments/bank-of-anthos/experiment.yaml b/experiments/bank-of-anthos/experiment.yaml index d2df012b0..b11b172eb 100644 --- a/experiments/bank-of-anthos/experiment.yaml +++ b/experiments/bank-of-anthos/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-bank-of-anthos-resiliency- + name: argowf-chaos-bank-of-anthos-resiliency namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_bank-of-anthos" diff --git a/experiments/bank-of-anthos/experiment_cron.yaml b/experiments/bank-of-anthos/experiment_cron.yaml index 8e5b8e076..85ac8df47 100644 --- a/experiments/bank-of-anthos/experiment_cron.yaml +++ b/experiments/bank-of-anthos/experiment_cron.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: CronWorkflow metadata: - name: argowf-chaos-bank-of-anthos-resiliency-cron-wf- + name: argowf-chaos-bank-of-anthos-resiliency-cron-wf namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_bank-of-anthos" diff --git a/experiments/namespaced-scope-chaos/experiment.yaml b/experiments/namespaced-scope-chaos/experiment.yaml index 73273d93b..7b8da3d4f 100644 --- a/experiments/namespaced-scope-chaos/experiment.yaml +++ b/experiments/namespaced-scope-chaos/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-hello-world-pod-delete- + name: argowf-chaos-hello-world-pod-delete labels: subject: "{{workflow.parameters.adminModeNamespace}}_hello-world" spec: diff --git a/experiments/node-cpu-hog/experiment.yaml b/experiments/node-cpu-hog/experiment.yaml index 4a6380766..c667ea3e2 100644 --- a/experiments/node-cpu-hog/experiment.yaml +++ b/experiments/node-cpu-hog/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-node-cpu-hog- + name: argowf-chaos-node-cpu-hog namespace: litmus labels: subject: "{{workflow.parameters.context}}" diff --git a/experiments/node-memory-hog/experiment.yaml b/experiments/node-memory-hog/experiment.yaml index 1003d4606..678a2c69d 100644 --- a/experiments/node-memory-hog/experiment.yaml +++ b/experiments/node-memory-hog/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-node-memory-hog- + name: argowf-chaos-node-memory-hog namespace: litmus labels: subject: "{{workflow.parameters.context}}" diff --git a/experiments/pod-cpu-hog/experiment.yaml b/experiments/pod-cpu-hog/experiment.yaml index 40e7eb5f7..5a774f9ae 100644 --- a/experiments/pod-cpu-hog/experiment.yaml +++ b/experiments/pod-cpu-hog/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-pod-cpu-hog- + name: argowf-chaos-pod-cpu-hog namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_kube-proxy" diff --git a/experiments/pod-delete/experiment.yaml b/experiments/pod-delete/experiment.yaml index 5e38c3418..740d1c1cc 100644 --- a/experiments/pod-delete/experiment.yaml +++ b/experiments/pod-delete/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-pod-delete- + name: argowf-chaos-pod-delete namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_kube-proxy" diff --git a/experiments/pod-memory-hog/experiment.yaml b/experiments/pod-memory-hog/experiment.yaml index 35e4d6f61..bf3cac000 100644 --- a/experiments/pod-memory-hog/experiment.yaml +++ b/experiments/pod-memory-hog/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-pod-memory-hog- + name: argowf-chaos-pod-memory-hog namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_kube-proxy" diff --git a/experiments/podtato-head/experiment.yaml b/experiments/podtato-head/experiment.yaml index 40829bd90..ddaf8fe76 100644 --- a/experiments/podtato-head/experiment.yaml +++ b/experiments/podtato-head/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-podtato-head-chaos- + name: argowf-podtato-head-chaos namespace: litmus labels: subject : "{{workflow.parameters.adminModeNamespace}}_podtato-main" diff --git a/experiments/sock-shop-promProbe/experiment.yaml b/experiments/sock-shop-promProbe/experiment.yaml index 5fef16ba6..2ce17894f 100644 --- a/experiments/sock-shop-promProbe/experiment.yaml +++ b/experiments/sock-shop-promProbe/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-sock-shop-resiliency- + name: argowf-chaos-sock-shop-resiliency namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_sock-shop" diff --git a/experiments/sock-shop-promProbe/experiment_cron.yaml b/experiments/sock-shop-promProbe/experiment_cron.yaml index dd1b29c84..a1672d555 100644 --- a/experiments/sock-shop-promProbe/experiment_cron.yaml +++ b/experiments/sock-shop-promProbe/experiment_cron.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: CronWorkflow metadata: - name: argowf-chaos-sock-shop-resiliency-cron-wf- + name: argowf-chaos-sock-shop-resiliency-cron-wf namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_sock-shop" diff --git a/experiments/sock-shop/experiment.yaml b/experiments/sock-shop/experiment.yaml index 12115ed26..d0cb1e2b9 100644 --- a/experiments/sock-shop/experiment.yaml +++ b/experiments/sock-shop/experiment.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: - name: argowf-chaos-sock-shop-resiliency- + name: argowf-chaos-sock-shop-resiliency namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_sock-shop" diff --git a/experiments/sock-shop/experiment_cron.yaml b/experiments/sock-shop/experiment_cron.yaml index 18d65833e..102ddfd39 100644 --- a/experiments/sock-shop/experiment_cron.yaml +++ b/experiments/sock-shop/experiment_cron.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: CronWorkflow metadata: - name: argowf-chaos-sock-shop-resiliency-cron-wf- + name: argowf-chaos-sock-shop-resiliency-cron-wf namespace: litmus labels: subject: "{{workflow.parameters.appNamespace}}_sock-shop" diff --git a/faults/aws/aws.chartserviceversion.yaml b/faults/aws/aws.chartserviceversion.yaml index 7d98bc1dc..a28f3dfef 100644 --- a/faults/aws/aws.chartserviceversion.yaml +++ b/faults/aws/aws.chartserviceversion.yaml @@ -54,5 +54,5 @@ spec: - name: Documentation url: "https://litmuschaos.github.io/litmus/experiments/categories/contents/#aws" icon: - - url: https://raw.githubusercontent.com/litmuschaos/charthub.litmuschaos.io/master/public/litmus.ico + - url: https://github.com/litmuschaos/chaos-charts/blob/master/faults/aws/icons/aws.png mediatype: image/png diff --git a/faults/azure/azure.chartserviceversion.yaml b/faults/azure/azure.chartserviceversion.yaml index f01bd6e6c..8161d9fd6 100644 --- a/faults/azure/azure.chartserviceversion.yaml +++ b/faults/azure/azure.chartserviceversion.yaml @@ -35,5 +35,5 @@ spec: - name: Documentation url: "https://litmuschaos.github.io/litmus/experiments/categories/contents/#azure" icon: - - url: https://raw.githubusercontent.com/litmuschaos/charthub.litmuschaos.io/master/public/litmus.ico + - url: https://github.com/litmuschaos/chaos-charts/blob/master/faults/azure/icons/azure.png mediatype: image/png diff --git a/faults/gcp/gcp.chartserviceversion.yaml b/faults/gcp/gcp.chartserviceversion.yaml index 060dce51c..b8896f1f7 100644 --- a/faults/gcp/gcp.chartserviceversion.yaml +++ b/faults/gcp/gcp.chartserviceversion.yaml @@ -41,5 +41,5 @@ spec: - name: Documentation url: "https://litmuschaos.github.io/litmus/experiments/categories/contents/#gcp" icon: - - url: https://raw.githubusercontent.com/litmuschaos/charthub.litmuschaos.io/master/public/litmus.ico + - url: https://github.com/litmuschaos/chaos-charts/blob/master/faults/gcp/icons/gcp.png mediatype: image/png diff --git a/faults/kubernetes/kubernetes.chartserviceversion.yaml b/faults/kubernetes/kubernetes.chartserviceversion.yaml index 6b425ad39..2c17f0e43 100644 --- a/faults/kubernetes/kubernetes.chartserviceversion.yaml +++ b/faults/kubernetes/kubernetes.chartserviceversion.yaml @@ -119,5 +119,5 @@ spec: - name: Documentation url: https://litmuschaos.github.io/litmus/experiments/categories/contents/#kubernetes icon: - - url: https://raw.githubusercontent.com/litmuschaos/charthub.litmuschaos.io/master/public/litmus.ico + - url: https://github.com/litmuschaos/chaos-charts/blob/master/faults/kubernetes/icons/kubernetes.png mediatype: image/png diff --git a/faults/spring-boot/spring-boot.chartserviceversion.yaml b/faults/spring-boot/spring-boot.chartserviceversion.yaml index 7f5c80051..8f446b9f4 100644 --- a/faults/spring-boot/spring-boot.chartserviceversion.yaml +++ b/faults/spring-boot/spring-boot.chartserviceversion.yaml @@ -45,5 +45,5 @@ spec: - name: Documentation url: https://spring.io/projects/spring-boot icon: - - url: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/spring-boot/icons/spring-boot.png + - url: https://github.com/litmuschaos/chaos-charts/blob/master/faults/spring-boot/icons/spring-boot.png mediatype: image/png diff --git a/faults/vmware/vmware.chartserviceversion.yaml b/faults/vmware/vmware.chartserviceversion.yaml index b92c78c79..1dcdb6f69 100644 --- a/faults/vmware/vmware.chartserviceversion.yaml +++ b/faults/vmware/vmware.chartserviceversion.yaml @@ -34,5 +34,5 @@ spec: - name: Documentation url: "https://litmuschaos.github.io/litmus/experiments/categories/contents/#vmware" icon: - - url: https://raw.githubusercontent.com/litmuschaos/charthub.litmuschaos.io/master/public/litmus.ico + - url: https://github.com/litmuschaos/chaos-charts/blob/master/faults/vmware/icons/vmware.png mediatype: image/png From e68fddab557e3c001c927300c88413853981a454 Mon Sep 17 00:00:00 2001 From: neelanjan00 Date: Tue, 3 Oct 2023 12:19:31 +0530 Subject: [PATCH 3/3] updates the installation commands in README Signed-off-by: neelanjan00 --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index eec2c1391..90cfe9312 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ Following chaos faults are classified in this category: ## Installation Steps for Chart Releases -*Note: Supported from release 1.1.0* +*Note: Supported from release 3.0.0* - To install the chaos faults from a specific chart for a given release, execute the following commands with the desired ``, `` & `` @@ -202,18 +202,17 @@ tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/ -name experiments.yaml | grep | xargs kubectl apply -n -f ``` -- For example, to install the *Kubernetes* fault chart bundle for release *1.1.0*, in the *sock-shop* namespace, run: +- For example, to install the *Kubernetes* fault chart bundle for release *3.0.0*, in the *sock-shop* namespace, run: ```bash -tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/1.1.0.tar.gz) -find chaos-charts-1.1.0 -name experiments.yaml | grep generic | xargs kubectl apply -n sock-shop -f +tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/3.0.0.tar.gz) +find chaos-charts-3.0.0 -name experiments.yaml | grep kubernetes | xargs kubectl apply -n sock-shop -f ``` -- If you would like to install a specific fault, replace the `experiments.yaml` in the above command with the relative -path of the experiment manifest within the parent chart. For example, to install only the *pod-delete* experiment, run: +- If you would like to install a specific fault, replace the `experiments.yaml` in the above command with the relative path of the fault manifest within the parent chart. For example, to install only the *pod-delete* fault, run: ```bash -find chaos-charts-1.1.0 -name experiment.yaml | grep 'generic/pod-delete' | xargs kubectl apply -n sock-shop -f +find chaos-charts-3.0.0 -name fault.yaml | grep 'kubernetes/pod-delete' | xargs kubectl apply -n sock-shop -f ```