This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Login as admin into your cluster | |
| ``` | |
| oc login -u kubeadmin -p password | |
| ``` | |
| Run the following commands to update the core set of Red Hat Single Sign-On 7.4.6.GA resources for OpenShift in the openshift project | |
| ``` | |
| for resource in sso74-image-stream.json \ | |
| sso74-https.json \ | |
| sso74-postgresql.json \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install fio on your favorire linux flavor using apt, yum or whatever | |
| Write Performance testing | |
| sudo fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=512M --numjobs=2 --runtime=240 --group_reporting | |
| Read Performance testing | |
| sudo fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=0 --size=512M --numjobs=4 --runtime=240 --group_reporting | |
| Read Write Performance testing | |
| sudo fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=random_read_write.fio --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -euo pipefail | |
| VERSION=${1#"v"} | |
| if [ -z "$VERSION" ]; then | |
| echo "Must specify version!" | |
| exit 1 | |
| fi | |
| MODS=($( | |
| curl -sS https://raw.githubusercontent.com/kubernetes/kubernetes/v${VERSION}/go.mod | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| operator-sdk build docker.io/abhishekf5/gitops-operator:rhsso --image-builder docker | |
| docker push docker.io/abhishekf5/gitops-operator:rhsso | |
| Update csv file | |
| 1. Container image | |
| 2. Image | |
| operator-sdk bundle create docker.io/abhishekf5/gitops-operator-bundle:rhsso | |
| docker push docker.io/abhishekf5/gitops-operator-bundle:rhsso | |
| git clone https://github.com/operator-framework/operator-registry.git | |
| make build | |
| /opt/workspace/operator-registry/bin/opm index add --bundles docker.io/abhishekf5/gitops-operator-bundle:rhsso --tag docker.io/abhishekf5/gitops-operator-index:rhsso --build-tool=docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Replace env variables in env.sh (Container image vars) | |
| 2. Run ./hack/build.sh | |
| 3. ./hack/push.sh | |
| 4. ./hack/bundle.sh | |
| 5. ./hack/registry.sh | |
| 6. Create catalog source with the image in the previous step | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Modify to Argo CD Operator | |
| 1.1. defaults.go | |
| 1.1.1. replace redis image to | |
| 1.1.1.1. ArgoCDDefaultRedisImage = "registry.redhat.io/rhel8/redis-5" | |
| 1.1.1.2. ArgoCDDefaultRedisVersion = "sha256:85d7f044c718567ed9375e845299ee8aa0fef8f327262c444506c6c7c7a42eb0" // latest | |
| 1.2. deployment.go | |
| 1.2.1. Disable dex deployment/reconciliation | |
| 1.2.2. Change redis command args: | |
| "redis-server", | |
| "--save", |
NewerOlder