diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3f2a8973..c50a3bc7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -18,12 +18,12 @@ jobs: - name: Check out code uses: actions/checkout@v3 - name: Build the Docker images - run: docker build --no-cache -t quay.io/openshift-scale/kraken containers/ + run: docker build --no-cache -t quay.io/chaos-kubox/krkn containers/ - name: Push the Docker images if: github.ref == 'refs/heads/master' && github.event_name == 'push' - run: docker push quay.io/openshift-scale/kraken + run: docker push quay.io/chaos-kubox/krkn - name: Remove Image - run: docker rmi -f quay.io/openshift-scale/kraken | exit 0 + run: docker rmi -f quay.io/chaos-kubox/krkn | exit 0 - name: Build Kraken-hub Image if: github.ref == 'refs/heads/master' && github.event_name == 'push' uses: convictional/trigger-workflow-and-wait@v1.5.0 diff --git a/README.md b/README.md index 57f61f00..af79c69a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Krkn aka Kraken -[![Docker Repository on Quay](https://quay.io/repository/openshift-scale/kraken/status "Docker Repository on Quay")](https://quay.io/repository/openshift-scale/kraken) +[![Docker Repository on Quay](https://quay.io/repository/openshift-scale/kraken/status "Docker Repository on Quay")](https://quay.io/chaos-kubox/krkn) Chaos and resiliency testing tool for Kubernetes and OpenShift. Kraken injects deliberate failures into Kubernetes/OpenShift clusters to check if it is resilient to turbulent conditions. diff --git a/containers/README.md b/containers/README.md index 0bfeb855..fd50ff4c 100644 --- a/containers/README.md +++ b/containers/README.md @@ -1,6 +1,6 @@ ### Kraken image -Container image gets automatically built by quay.io at [Kraken image](https://quay.io/repository/openshift-scale/kraken). +Container image gets automatically built by quay.io at [Kraken image](https://quay.io/chaos-kubox/krkn). ### Run containerized version Refer [instructions](https://github.com/cloud-bulldozer/kraken/blob/master/docs/installation.md#run-containerized-version) for information on how to run the containerized version of kraken. diff --git a/containers/kraken.yml b/containers/kraken.yml index 7bafd19b..71adb35c 100644 --- a/containers/kraken.yml +++ b/containers/kraken.yml @@ -16,7 +16,7 @@ spec: - name: kraken securityContext: privileged: true - image: quay.io/openshift-scale/kraken + image: quay.io/chaos-kubox/krkn command: ["/bin/sh", "-c"] args: ["python3 run_kraken.py -c config/config.yaml"] volumeMounts: diff --git a/docs/installation.md b/docs/installation.md index 4036cf10..94f2be64 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -8,13 +8,14 @@ Following ways are supported to run Kraken: **NOTE**: It is recommended to run Kraken external to the cluster ( Standalone or Containerized ) hitting the Kubernetes/OpenShift API as running it internal to the cluster might be disruptive to itself and also might not report back the results if the chaos leads to cluster's API server instability. -**NOTE**: To run Kraken on Power (ppc64le) architecture, build and run a containerized version by following the instructions given [here](https://github.com/openshift-scale/kraken/tree/master/containers/build_own_image-README.md). +**NOTE**: To run Kraken on Power (ppc64le) architecture, build and run a containerized version by following the + instructions given [here](https://github.com/cloud-bulldozer/krkn/blob/master/containers/build_own_image-README.md). ### Git #### Clone the repository ``` -$ git clone https://github.com/openshift-scale/kraken.git +$ git clone https://github.com/openshift-scale/krkn.git $ cd kraken ``` @@ -35,21 +36,21 @@ $ python3 run_kraken.py --config ### Run containerized version Assuming that the latest docker ( 17.05 or greater with multi-build support ) is installed on the host, run: ``` -$ docker pull quay.io/openshift-scale/kraken:latest -$ docker run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -d quay.io/openshift-scale/kraken:latest -$ docker run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -v :/root/kraken/scenarios:Z -d quay.io/openshift-scale/kraken:latest #custom or tweaked scenario configs +$ docker pull quay.io/chaos-kubox/krkn:latest +$ docker run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -d quay.io/chaos-kubox/krkn:latest +$ docker run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -v :/root/kraken/scenarios:Z -d quay.io/chaos-kubox/krkn:latest #custom or tweaked scenario configs $ docker logs -f kraken ``` Similarly, podman can be used to achieve the same: ``` -$ podman pull quay.io/openshift-scale/kraken -$ podman run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -d quay.io/openshift-scale/kraken:latest -$ podman run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -v :/root/kraken/scenarios:Z -d quay.io/openshift-scale/kraken:latest #custom or tweaked scenario configs +$ podman pull quay.io/chaos-kubox/krkn +$ podman run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -d quay.io/chaos-kubox/krkn:latest +$ podman run --name=kraken --net=host -v :/root/.kube/config:Z -v :/root/kraken/config/config.yaml:Z -v :/root/kraken/scenarios:Z -d quay.io/chaos-kubox/krkn:latest #custom or tweaked scenario configs $ podman logs -f kraken ``` -If you want to build your own kraken image see [here](https://github.com/openshift-scale/kraken/tree/master/containers/build_own_image-README.md) +If you want to build your own kraken image see [here](https://github.com/cloud-bulldozer/krkn/blob/master/containers/build_own_image-README.md) ### Run Kraken as a Kubernetes deployment